.seo-killer-toc {
background: #f8f9fa;
border: 1px solid #e0e0e0;
border-left: 4px solid #2271b1;
border-radius: 6px;
padding: 18px 22px;
margin: 24px 0;
max-width: 680px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
line-height: 1.6;
}
.seo-killer-toc-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 12px;
padding-bottom: 8px;
border-bottom: 1px solid #e0e0e0;
}
.seo-killer-toc-title {
font-size: 16px;
font-weight: 700;
color: #1d2327;
letter-spacing: -0.2px;
}
.seo-killer-toc-toggle {
background: none;
border: 1px solid #dcdcde;
border-radius: 4px;
cursor: pointer;
font-size: 11px;
color: #646970;
padding: 3px 8px;
transition: all 0.2s;
line-height: 1;
}
.seo-killer-toc-toggle:hover {
background: #f0f0f1;
color: #1d2327;
border-color: #c3c4c7;
}
.seo-killer-toc-toggle-icon {
display: inline-block;
transition: transform 0.3s ease;
}
.seo-killer-toc.collapsed .seo-killer-toc-toggle-icon {
transform: rotate(-90deg);
}
.seo-killer-toc.collapsed .seo-killer-toc-list {
display: none;
}
.seo-killer-toc-list {
margin: 0;
padding-left: 0;
list-style: none;
counter-reset: toc-counter;
}
.seo-killer-toc-list > li {
counter-increment: toc-counter;
}
.seo-killer-toc.numbered .seo-killer-toc-list > li > a::before {
content: counter(toc-counter) ". ";
color: #2271b1;
font-weight: 600;
}
.seo-killer-toc-item {
margin-bottom: 6px;
padding: 3px 8px;
border-radius: 4px;
transition: background 0.2s;
}
.seo-killer-toc-item:hover {
background: rgba(34, 113, 177, 0.06);
}
.seo-killer-toc-item.active {
background: rgba(34, 113, 177, 0.1);
}
.seo-killer-toc-item.active > a {
color: #135e96;
font-weight: 600;
}
.seo-killer-toc-list a {
color: #2271b1;
text-decoration: none;
font-size: 14px;
display: block;
transition: color 0.2s;
}
.seo-killer-toc-list a:hover {
color: #135e96;
text-decoration: underline;
}
.seo-killer-toc-sublist {
padding-left: 20px;
margin-top: 4px;
list-style: none;
counter-reset: toc-sub-counter;
}
.seo-killer-toc.numbered .seo-killer-toc-sublist > li > a::before {
content: counter(toc-counter) "." counter(toc-sub-counter) " ";
color: #646970;
font-weight: 500;
font-size: 12px;
}
.seo-killer-toc.numbered .seo-killer-toc-sublist > li {
counter-increment: toc-sub-counter;
}
.seo-killer-toc-sublist a {
font-size: 13px;
color: #50575e;
}
.seo-killer-toc-sublist a:hover {
color: #2271b1;
}
.seo-killer-toc-level-3 {
padding-left: 4px;
}
.seo-killer-toc-level-4 {
padding-left: 8px;
} .seo-killer-toc.seo-killer-toc-boxed {
background: #ffffff;
border: 2px solid #2271b1;
border-left-width: 2px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.seo-killer-toc.seo-killer-toc-boxed .seo-killer-toc-header {
background: #2271b1;
margin: -18px -22px 14px;
padding: 12px 22px;
border-radius: 4px 4px 0 0;
border-bottom: none;
}
.seo-killer-toc.seo-killer-toc-boxed .seo-killer-toc-title {
color: #ffffff;
}
.seo-killer-toc.seo-killer-toc-boxed .seo-killer-toc-toggle {
color: #ffffff;
border-color: rgba(255, 255, 255, 0.3);
}
.seo-killer-toc.seo-killer-toc-boxed .seo-killer-toc-toggle:hover {
background: rgba(255, 255, 255, 0.15);
border-color: rgba(255, 255, 255, 0.5);
} .seo-killer-toc.seo-killer-toc-minimal {
background: transparent;
border: none;
border-left: 3px solid #dcdcde;
border-radius: 0;
padding: 8px 0 8px 18px;
}
.seo-killer-toc.seo-killer-toc-minimal .seo-killer-toc-header {
border-bottom: none;
margin-bottom: 8px;
padding-bottom: 0;
}
.seo-killer-toc.seo-killer-toc-minimal .seo-killer-toc-title {
font-size: 14px;
font-weight: 600;
color: #646970;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.seo-killer-toc.seo-killer-toc-minimal .seo-killer-toc-item {
border-radius: 0;
padding: 2px 0;
}
.seo-killer-toc.seo-killer-toc-minimal .seo-killer-toc-item:hover {
background: transparent;
}
.seo-killer-toc.seo-killer-toc-minimal .seo-killer-toc-item.active {
background: transparent;
border-left: 2px solid #2271b1;
margin-left: -19px;
padding-left: 17px;
} .seo-killer-toc.seo-killer-toc-dark {
background: #1d2327;
border: 1px solid #3c434a;
border-left: 4px solid #72aee6;
color: #c3c4c7;
}
.seo-killer-toc.seo-killer-toc-dark .seo-killer-toc-header {
border-bottom-color: #3c434a;
}
.seo-killer-toc.seo-killer-toc-dark .seo-killer-toc-title {
color: #ffffff;
}
.seo-killer-toc.seo-killer-toc-dark .seo-killer-toc-toggle {
color: #c3c4c7;
border-color: #50575e;
}
.seo-killer-toc.seo-killer-toc-dark .seo-killer-toc-toggle:hover {
background: #2c3338;
color: #ffffff;
}
.seo-killer-toc.seo-killer-toc-dark .seo-killer-toc-list a {
color: #72aee6;
}
.seo-killer-toc.seo-killer-toc-dark .seo-killer-toc-list a:hover {
color: #a7d4f7;
}
.seo-killer-toc.seo-killer-toc-dark .seo-killer-toc-sublist a {
color: #8c8f94;
}
.seo-killer-toc.seo-killer-toc-dark .seo-killer-toc-item:hover {
background: rgba(114, 174, 230, 0.08);
}
.seo-killer-toc.seo-killer-toc-dark .seo-killer-toc-item.active {
background: rgba(114, 174, 230, 0.15);
}
.seo-killer-toc.seo-killer-toc-dark .seo-killer-toc-item.active > a {
color: #ffffff;
} [id] {
scroll-margin-top: 80px;
} @media (max-width: 768px) {
.seo-killer-toc {
max-width: 100%;
padding: 14px 16px;
}
.seo-killer-toc-list a {
font-size: 13px;
}
}