Skip to content

Commit

Permalink
Add styling to more closely match existing user docs
Browse files Browse the repository at this point in the history
  • Loading branch information
yanokwa authored and lognaturel committed Mar 23, 2023
1 parent 183b44b commit 41a7cc3
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 2 deletions.
12 changes: 12 additions & 0 deletions docs/assets/extra_css.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
@font-face {
font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
}

:root {
--md-text-font: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'";
--md-accent-fg-color:#009ecc;
}

.md-content,.md-sidebar,.md-header {
--md-typeset-a-color:#009ecc;
}
Binary file added docs/assets/favicon.ico
Binary file not shown.
Binary file added docs/assets/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 6 additions & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ nav:

theme:
name: material
logo: logo.svg
logo: assets/logo.png
favicon: assets/favicon.ico
features:
- content.action.edit
- content.action.view
Expand All @@ -35,7 +36,7 @@ theme:
palette:
- media: "(prefers-color-scheme: light)"
scheme: default
primary: grey
primary: white
accent: light blue
toggle:
icon: material/weather-sunny
Expand All @@ -48,6 +49,9 @@ theme:
icon: material/weather-night
name: Switch to light mode

extra_css:
- assets/extra_css.css

plugins:
- search
- mkdocstrings:
Expand Down

0 comments on commit 41a7cc3

Please # to comment.