mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-22 11:36:23 +00:00
27 lines
379 B
SCSS
27 lines
379 B
SCSS
details#toc {
|
|
& summary {
|
|
cursor: pointer;
|
|
|
|
&::marker {
|
|
color: var(--dark);
|
|
}
|
|
|
|
& > * {
|
|
padding-left: 0.25rem;
|
|
display: inline-block;
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
& ul {
|
|
list-style: none;
|
|
margin: 0.5rem 1.25rem;
|
|
padding: 0;
|
|
}
|
|
|
|
@for $i from 1 through 6 {
|
|
& .depth-#{$i} {
|
|
padding-left: calc(1rem * #{$i});
|
|
}
|
|
}
|
|
}
|