diff --git a/docs/assets/fonts/comicmono.ttf b/docs/assets/fonts/comicmono.ttf deleted file mode 100644 index 9bc7354..0000000 Binary files a/docs/assets/fonts/comicmono.ttf and /dev/null differ diff --git a/docs/assets/stylesheets/extra.css b/docs/assets/stylesheets/extra.css deleted file mode 100644 index f5afb0b..0000000 --- a/docs/assets/stylesheets/extra.css +++ /dev/null @@ -1,7 +0,0 @@ -.md-nav__item--active{ - padding: 0 !important; -} -@font-face { -font-family: 'Comic Mono'; -src: url(/assets/fonts/comicmono.ttf); -} \ No newline at end of file diff --git a/mkdocs.yml b/mkdocs.yml index e291d92..aa8e6c1 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -5,12 +5,8 @@ theme: custom_dir: overrides logo: assets/images/profile_image.png favicon: assets/images/profile_image.png - font: - text: Comic Mono - code: Comic Mono features: - navigation.tracking - - navigation.sections - toc.follow - toc.integrate - navigation.instant @@ -19,12 +15,29 @@ theme: - navigation.indexes name: material palette: - scheme: slate - primary: blue grey - accent: indigo - toggle: - icon: material/brightness-4 - name: Switch to light mode + # Palette toggle for automatic mode + - media: "(prefers-color-scheme)" + toggle: + icon: material/brightness-auto + name: Switch to light mode + + # Palette toggle for light mode + - media: "(prefers-color-scheme: light)" + scheme: default + primary: blue + accent: light blue + toggle: + icon: material/brightness-7 + name: Switch to dark mode + + # Palette toggle for dark mode + - media: "(prefers-color-scheme: dark)" + scheme: slate + primary: blue grey + accent: indigo + toggle: + icon: material/brightness-4 + name: Switch to system preference markdown_extensions: - admonition - pymdownx.details @@ -49,15 +62,13 @@ markdown_extensions: - pymdownx.tilde - pymdownx.caret - pymdownx.keys -extra_css: - - assets/stylesheets/extra.css extra: social: - icon: fontawesome/brands/mastodon link: https://tech.lgbt/@subnet_masked name: Subnet on Mastodon - icon: simple/forgejo - link: https://git.subnet-masked.com/Subnet_Masked + link: https://git.mapleflask.com/Subnet_Masked name: Subnet's Git nav: - 'index.md' @@ -68,6 +79,7 @@ nav: - 'stream.md' - 'blog/index.md' plugins: + - search - glightbox: touchNavigation: true loop: false