From 77500ac259a51930a913db11ed23b776a48e1b9c Mon Sep 17 00:00:00 2001 From: Luc Date: Thu, 7 Dec 2023 21:59:25 +0100 Subject: [PATCH] Updated colours. --- config/en/mkdocs.yaml | 3 +++ docs/stylesheets/extra.css | 30 ++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 docs/stylesheets/extra.css diff --git a/config/en/mkdocs.yaml b/config/en/mkdocs.yaml index 361adb3..db29243 100755 --- a/config/en/mkdocs.yaml +++ b/config/en/mkdocs.yaml @@ -41,6 +41,9 @@ markdown_extensions: - pymdownx.details - pymdownx.superfences +extra_css: + - stylesheets/extra.css + extra_javascript: - javascripts/mathjax.js - https://polyfill.io/v3/polyfill.min.js?features=es6 diff --git a/docs/stylesheets/extra.css b/docs/stylesheets/extra.css new file mode 100644 index 0000000..be5da7c --- /dev/null +++ b/docs/stylesheets/extra.css @@ -0,0 +1,30 @@ +:root { + + /* Primary color shades */ + --md-primary-fg-color: #861f41; + --md-primary-fg-color--light: #861f4194; + --md-primary-fg-color--dark: #ac325a; + --md-primary-bg-color: hsla(0, 0%, 100%, 1); + --md-primary-bg-color--light: hsla(0, 0%, 100%, 0.7); + --md-text-link-color: hsla(231, 48%, 48%, 1); + + /* Accent color shades */ + --md-accent-fg-color: rgb(98, 18, 189); + --md-accent-fg-color--transparent: hsla(189, 100%, 37%, 0.1); + --md-accent-bg-color: hsla(0, 0%, 100%, 1); + --md-accent-bg-color--light: hsla(0, 0%, 100%, 0.7); + } + + :root > * { + + /* Code block color shades */ + --md-code-bg-color: hsla(0, 0%, 96%, 1); + --md-code-fg-color: hsla(200, 18%, 26%, 1); + + /* Footer */ + --md-footer-bg-color: #861f41; + --md-footer-bg-color--dark: hsla(0, 0%, 0%, 0.32); + --md-footer-fg-color: hsla(0, 0%, 100%, 1); + --md-footer-fg-color--light: hsla(0, 0%, 100%, 0.7); + --md-footer-fg-color--lighter: hsla(0, 0%, 100%, 0.3); + } \ No newline at end of file