2024-07-23 08:57:21 -07:00
|
|
|
details:has(#TableOfContents) {
|
|
|
|
grid-column: main-start / main-end;
|
|
|
|
|
|
|
|
summary {
|
|
|
|
font-family: var(--font-family-heading);
|
|
|
|
font-size: var(--text-m);
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: "+ ";
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2024-10-07 20:58:44 -07:00
|
|
|
&::marker {
|
|
|
|
/*
|
|
|
|
* This is the only way I could figure to hide the disclosure triangle on
|
|
|
|
* Chrome. visibility:none didn't work.
|
|
|
|
* See https://mark.ie/blog/hide-the-arrow-on-details-summary-element/
|
|
|
|
*/
|
|
|
|
content: "";
|
|
|
|
}
|
|
|
|
|
2024-07-23 08:57:21 -07:00
|
|
|
&::-webkit-details-marker {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&[open] {
|
|
|
|
summary::before {
|
|
|
|
content: "- ";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#TableOfContents {
|
|
|
|
> ul {
|
|
|
|
margin-block: 0;
|
2024-08-08 09:56:34 -10:00
|
|
|
font-size: var(--text-m);
|
2024-07-23 08:57:21 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
list-style-type: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|