2023-06-18 02:07:40 +07:00
|
|
|
details#toc {
|
2023-06-17 09:41:59 +07:00
|
|
|
& summary {
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&::marker {
|
|
|
|
color: var(--dark);
|
|
|
|
}
|
|
|
|
|
|
|
|
& > * {
|
|
|
|
padding-left: 0.25rem;
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
2023-07-23 07:27:41 +07:00
|
|
|
|
2023-06-17 09:41:59 +07:00
|
|
|
& ul {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0.5rem 1.25rem;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@for $i from 1 through 6 {
|
|
|
|
& .depth-#{$i} {
|
|
|
|
padding-left: calc(1rem * #{$i});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|