Skip to content
Merged
Show file tree
Hide file tree
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
21 changes: 17 additions & 4 deletions docs/stylesheets/extra.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,21 @@
:root {
--md-primary-fg-color: #b5121b;
--md-primary-fg-color--light: #ECB7B7;
--md-primary-fg-color--dark: #7d030b;
}
--md-primary-fg-color: #b71c1c !important;
--md-primary-600: #b71c1c !important;
--md-primary-700: #9b1a1a !important;
--md-accent-fg-color: #d32f2f !important;
}

/* Top header and navigation background */
.md-header, .md-header__panel, .md-header__inner, header.md-header {
background-color: var(--md-primary-600) !important;
color: #fff !important;
border-color: var(--md-primary-700) !important;
}

.md-nav__link--active, .md-nav__link:hover, .md-nav__link:focus {
background: transparent !important;
color: #d32f2f;
}

html {
/* Decrease font size for overall webpage
Expand Down
15 changes: 15 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,21 @@ nav:

theme:
name: material
palette:
# Palette toggle for light mode
- media: "(prefers-color-scheme: light)"
scheme: custom
toggle:
icon: material/weather-night
name: Switch to dark mode

# Palette toggle for dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
toggle:
icon: material/weather-sunny
name: Switch to system preference

features:
- navigation.instant
- navigation.tracking
Expand Down
Loading