2023-08-29 01:05:04 +00:00
|
|
|
/* Article Table of Contents */
|
2023-08-13 14:35:45 +00:00
|
|
|
.toc {
|
|
|
|
background-color: var(--clr-quote-bg);
|
2023-08-13 16:55:53 +00:00
|
|
|
max-width: max-content;
|
2023-08-13 14:35:45 +00:00
|
|
|
padding: 1rem 1.3rem 0.3rem 1.3rem;
|
|
|
|
margin-top: 1rem;
|
|
|
|
outline: 1px solid var(--clr-title-border);
|
|
|
|
position: relative;
|
|
|
|
border-radius: 0.4rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toc-heading {
|
|
|
|
font-size: 1.1rem;
|
|
|
|
font-weight: 700;
|
|
|
|
margin-bottom: 0.5rem;
|
|
|
|
margin-right: 2rem;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toc ol {
|
|
|
|
border-top: 1px solid var(--clr-title-border);
|
2023-08-13 16:40:16 +00:00
|
|
|
padding: 0.8em 0 0 1em;
|
2023-08-13 14:35:45 +00:00
|
|
|
line-height: 1.8;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toc ol ul {
|
|
|
|
list-style-type: disc;
|
|
|
|
line-height: 1.5;
|
|
|
|
padding-left: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toc a {
|
|
|
|
font-size: 1.1rem;
|
|
|
|
padding-left: 0.4rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toc ul a {
|
|
|
|
padding: 0;
|
|
|
|
font-size: 1rem;
|
|
|
|
}
|
|
|
|
|
2023-08-29 01:05:04 +00:00
|
|
|
/* Sidebar Table of Contents */
|
2023-08-13 14:35:45 +00:00
|
|
|
.sidebar__toc {
|
|
|
|
position: sticky;
|
2023-08-29 11:59:03 +00:00
|
|
|
top: 4rem;
|
2023-08-13 14:35:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar__toc-title {
|
|
|
|
font-size: 1.3rem;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar__toc ol {
|
|
|
|
list-style: none;
|
|
|
|
margin-left: 0;
|
|
|
|
padding-left: 0;
|
|
|
|
font-size: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar__toc ol li {
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar__toc ol ul {
|
2023-08-13 16:40:16 +00:00
|
|
|
padding-top: 0.5em;
|
2023-08-13 14:35:45 +00:00
|
|
|
padding-left: 1.25rem;
|
|
|
|
list-style-type: disc;
|
|
|
|
}
|