@zeix/ui-element
Version:
UIElement - a HTML-first library for reactive Web Components
35 lines (30 loc) • 532 B
CSS
module-toc {
display: block;
background: var(--color-background);
color: var(--color-text);
padding: var(--space-m);
border-radius: var(--space-s);
& h2 {
margin: 0;
padding: 0;
font-size: var(--font-size-s);
margin-bottom: var(--space-s);
}
& ol {
list-style-type: none;
padding-left: 0;
margin: 0;
display: flex;
flex-direction: column;
gap: var(--space-s);
}
& li {
padding: 0;
margin: 0;
}
& a {
display: inline-block;
text-decoration: none;
line-height: var(--line-height-s);
}
}