-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
98 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -102,3 +102,6 @@ venv.bak/ | |
|
||
# mypy | ||
.mypy_cache/ | ||
|
||
# doc generation | ||
doc/source/_static/logos |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
[data-theme=light] { | ||
--sidebar-highligh-color-hover: black; | ||
--sidebar-highligh-color: white; | ||
} | ||
|
||
[data-theme=dark] { | ||
--sidebar-highligh-color-hover: white; | ||
--sidebar-highligh-color: black; | ||
} | ||
|
||
/* Pad sidebar entries so radius does not touch content or browser*/ | ||
body > div > aside > div > div > div.sidebar-scroll > div > ul { | ||
padding-right: 10px; | ||
padding-left: 10px; | ||
} | ||
|
||
/* Disable sidebar title */ | ||
.sidebar-brand-text { | ||
display: none; | ||
} | ||
|
||
/* Add better highlighting on selected sidebar entry */ | ||
.sidebar-tree .current>.reference { | ||
border-radius: 25px; | ||
color: var(--sidebar-highligh-color); | ||
padding-bottom: 5px; | ||
padding-top: 5px; | ||
} | ||
|
||
/* Add better highlighting on selected second level sidebar entry */ | ||
.toctree-l2 .current.reference.internal { | ||
border-radius: 25px; | ||
color: var(--sidebar-highligh-color); | ||
padding-bottom: 1px; | ||
padding-top: 1px; | ||
margin: 2px; | ||
} | ||
|
||
/* Add better highlighting on selected hovered sidebar entry */ | ||
.sidebar-tree .current>.reference:hover { | ||
color: var(--sidebar-highligh-color-hover); | ||
border: 1px solid var(--sidebar-highligh-color-hover); | ||
padding-bottom: 4px; | ||
padding-top: 4px; | ||
} | ||
|
||
/* Add better highlighting on selected second level hovered sidebar entry */ | ||
.toctree-l2 .current.reference.internal:hover { | ||
color: var(--sidebar-highligh-color-hover); | ||
border: 1px solid var(--sidebar-highligh-color-hover); | ||
padding-bottom: 1px; | ||
padding-top: 1px; | ||
margin: 2px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters