mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-14 23:05:57 -04:00
docs - support flyout selector addon
This commit is contained in:
parent
b0fb0024bc
commit
d500f801cc
@ -1,6 +1,29 @@
|
||||
:root {
|
||||
--link: #4a90e2;
|
||||
--link-hover: #1c6cd9;
|
||||
|
||||
--readthedocs-search-color: hsl(var(--foreground));
|
||||
--readthedocs-search-link-color: var(--link);
|
||||
--readthedocs-search-content-background-color: hsl(var(--background));
|
||||
--readthedocs-search-content-border-color: hsl(var(--border));
|
||||
--readthedocs-search-footer-background-color: hsl(var(--background));
|
||||
--readthedocs-search-footer-color: hsl(var(--foreground));
|
||||
--readthedocs-search-footer-code-background-color: hsl(var(--background));
|
||||
--readthedocs-search-footer-code-border-color: hsl(var(--background));
|
||||
--readthedocs-search-input-background-color: hsl(var(--accent));
|
||||
--readthedocs-search-result-color: hsl(var(--foreground));
|
||||
--readthedocs-search-result-icon-color: hsl(var(--foreground));
|
||||
--readthedocs-search-result-heading-color: hsl(var(--foreground));
|
||||
--readthedocs-search-result-subheading-color: hsl(var(--foreground));
|
||||
--readthedocs-search-result-active-background-color: hsl(var(--accent));
|
||||
--readthedocs-search-result-border-color: hsl(var(--border));
|
||||
|
||||
--readthedocs-flyout-background-color: hsl(var(--background));
|
||||
--readthedocs-flyout-color: hsl(var(--foreground));
|
||||
--readthedocs-flyout-current-version-color: hsl(var(--foreground));
|
||||
--readthedocs-flyout-item-link-color: var(--link);
|
||||
--readthedocs-flyout-link-color: var(--link);
|
||||
--readthedocs-flyout-section-heading-color: hsl(var(--foreground));
|
||||
}
|
||||
|
||||
/* Less aggressive dark background */
|
||||
|
@ -163,7 +163,7 @@ html_theme_options = asdict(ThemeOptions(
|
||||
"Lua API": "reference/lua-scripting/overview",
|
||||
"Postprocessing": "reference/postprocessing/index",
|
||||
},
|
||||
show_scrolltop=True,
|
||||
show_scrolltop=False, # Useful, but hard to position with the Flyout addon since the best place for that is bottom right
|
||||
))
|
||||
|
||||
html_permalinks_icon = Icons.permalinks_icon
|
||||
|
Loading…
x
Reference in New Issue
Block a user