mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Fix scroll spy styling
This commit is contained in:
parent
6a2997693b
commit
d9e88c3022
@ -396,6 +396,7 @@ h2.heading {
|
||||
/* Highlight TOC header link matching the current scroll position */
|
||||
.current-header-link {
|
||||
background-color: var(--theme-bg-accent);
|
||||
border-inline-start-color: var(--theme-accent);
|
||||
/* Indicates the current heading for forced colors users in older browsers */
|
||||
outline: 1px solid transparent;
|
||||
}
|
||||
|
||||
@ -75,6 +75,7 @@ body {
|
||||
--theme-bg: #222222;
|
||||
--theme-bg-hover: hsla(var(--color-gray-40), 1);
|
||||
--theme-bg-offset: hsla(var(--color-gray-5), 1);
|
||||
--theme-bg-accent: hsla(var(--color-green), var(--theme-accent-opacity));
|
||||
--theme-code-inline-bg: hsla(var(--color-gray-10), 1);
|
||||
--theme-code-inline-text: hsla(var(--color-base-white), 100%, 1);
|
||||
--theme-code-bg: hsla(var(--color-gray-5), 1);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user