Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/templates/squidstd/public/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ table > thead { background-color: rgba(75, 180, 189, 0.12); }
/* Affix (right-hand "In this article") active marker. */
.affix ul li.active > a { color: var(--sqd-brand); border-left-color: var(--sqd-brand); }

/* Dark mode: the brand teals are too dark against the ink background - lift to the light accent.
Inline code especially matters on API reference pages, which are full of type/member names. */
[data-bs-theme="dark"] :not(pre) > code { color: var(--sqd-accent); }
[data-bs-theme="dark"] .toc .nav-link.active { color: var(--sqd-accent) !important; }
[data-bs-theme="dark"] .affix ul li.active > a { color: var(--sqd-accent); border-left-color: var(--sqd-accent); }

/* Package READMEs use <h1 align="center"> for GitHub/NuGet; on the site keep typography consistent. */
article h1[align] {
text-align: start;
Expand Down
Loading