Skip to content

Commit 4a9548d

Browse files
committed
styling
1 parent 8ce1fed commit 4a9548d

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

mkdocs.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@ theme:
55
custom_dir: src/overrides
66
palette:
77
- media: "(prefers-color-scheme: light)"
8-
scheme: default
8+
scheme: cpalgo
99
primary: deep purple
10-
# accent: red
1110
toggle:
1211
icon: material/toggle-switch-off-outline
1312
name: Switch to dark mode
@@ -20,12 +19,7 @@ theme:
2019
favicon: favicon.ico
2120
repo_url: https://github.com/e-maxx-eng/e-maxx-eng
2221
edit_uri: edit/master/src/
23-
extra:
24-
social:
25-
- icon: fontawesome/brands/github
26-
link: https://github.com/e-maxx-eng/e-maxx-eng
27-
name: e-maxx-eng
28-
copyright: Copyright © 2014 - 2021 by https://github.com/e-maxx-eng
22+
copyright: Copyright © 2014 - 2022 by https://github.com/e-maxx-eng
2923

3024
markdown_extensions:
3125
- pymdownx.arithmatex:
@@ -37,3 +31,5 @@ extra_javascript:
3731
- javascript/config.js
3832
- https://polyfill.io/v3/polyfill.min.js?features=es6
3933
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
34+
extra_css:
35+
- stylesheets/extra.css

src/stylesheets/extra.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[data-md-color-scheme="cpalgo"] {
2+
--md-primary-fg-color: #7777aa;
3+
--md-primary-fg-color--light: #7777aa;
4+
--md-primary-fg-color--dark: #333371;
5+
}
6+
7+
[data-md-color-scheme="slate"] {
8+
--md-hue: 210;
9+
}

0 commit comments

Comments
 (0)