From d6045d971e609c2e4719224362fcad47e68c1823 Mon Sep 17 00:00:00 2001 From: exequielrafaela Date: Fri, 8 Jul 2022 21:25:15 -0300 Subject: [PATCH] Necessary updates to css styles for material mkdocs version 8.3.9 --- docs/assets/stylesheets/extra.css | 8 ++++++++ material/overrides/main-styles.html | 2 ++ 2 files changed, 10 insertions(+) diff --git a/docs/assets/stylesheets/extra.css b/docs/assets/stylesheets/extra.css index 40e1e285d..9a40a0636 100644 --- a/docs/assets/stylesheets/extra.css +++ b/docs/assets/stylesheets/extra.css @@ -9,6 +9,14 @@ } } +* { + --md-primary-fg-color: #0a192f; + --md-primary-fg-color--light: #029c8e; + --md-primary-fg-color--dark: #303C55; + --md-typeset-color: var(--md-default-fg-color); + --md-typeset-a-color: var(--md-primary-fg-color--light); +} + :root { --md-primary-fg-color: #0a192f; --md-primary-fg-color--light: #029c8e; diff --git a/material/overrides/main-styles.html b/material/overrides/main-styles.html index 43fe6dbdc..b12e3e6df 100644 --- a/material/overrides/main-styles.html +++ b/material/overrides/main-styles.html @@ -54,6 +54,7 @@ } .tx-container { + --md-primary-fg-color: #0a192f; height: fit-content; padding-top: 0rem; background: url("data:image/svg+xml;utf8,") no-repeat bottom, linear-gradient(to bottom, var(--md-primary-fg-color), #2a978d 99%, #fff 99%) @@ -164,6 +165,7 @@ } .tx-container-3 { + --md-primary-fg-color: #0a192f; height: auto; background: linear-gradient(to bottom, var(--md-primary-fg-color), #02162f 100%, #fff 99%); }