Skip to content

Commit

Permalink
Improve styling of collapsible sections
Browse files Browse the repository at this point in the history
  • Loading branch information
orzechow committed Nov 20, 2024
1 parent 89e0214 commit b0346c4
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion docs/assets/css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,19 @@
// Add table of contents navbar
@import 'toc';

// Switch to light theme logo
img.github-logo {
content: url({{ "/docs/assets/img/github-mark.svg" | relative_url }});
}
}

// Improve collapsible sections
details summary {
cursor: pointer;
display: list-item;
counter-increment: list-item 0;
list-style: disclosure-closed inside;
}

details[open] summary {
list-style-type: disclosure-open;
}

0 comments on commit b0346c4

Please sign in to comment.