hugo-theme-paradox/assets/styles/components/table-of-contents.scss

23 lines
414 B
SCSS
Raw Permalink Normal View History

2022-10-16 22:15:34 +00:00
.toc-title {
2022-12-23 11:21:41 +00:00
margin-block-end: 0.5em;
2022-10-16 22:15:34 +00:00
font-weight: 900;
text-transform: uppercase;
color: var(--ui-text-muted);
2022-12-18 14:10:54 +00:00
transition:
color var(--color-crossfade-duration) var(--color-crossfade-ease);
2022-10-16 22:15:34 +00:00
}
#TableOfContents {
2022-12-23 11:21:41 +00:00
ol, ul {
2022-10-16 22:15:34 +00:00
list-style: none;
}
li {
2022-12-23 11:21:41 +00:00
margin-block: 0.5em;
2022-10-16 22:15:34 +00:00
}
2022-12-23 11:21:41 +00:00
a {
display: inline-block;
line-height: 1.5;
2022-10-16 22:15:34 +00:00
}
2022-12-23 11:21:41 +00:00
li > ol, li > ul { /* indent subheadings */
margin-inline-start: 1em;
2022-10-16 22:15:34 +00:00
}
}