diff --git a/docs/extra/tweaks.css b/docs/extra/tweaks.css index b727a4ace..e92fc0719 100644 --- a/docs/extra/tweaks.css +++ b/docs/extra/tweaks.css @@ -1,9 +1,3 @@ -/* Revert hue value to that of pre mkdocs-material v9.4.0 */ -[data-md-color-scheme="slate"] { - --md-hue: 230; - --md-default-bg-color: hsla(230, 15%, 21%, 1); -} - /* https://squidfunk.github.io/mkdocs-material/setup/changing-the-colors/#custom-colors */ :root { --md-primary-fg-color: #E520E9; @@ -11,6 +5,22 @@ --md-primary-fg-color--dark: #E520E9; } +.md-header { + background: linear-gradient(45deg, rgb(53, 112, 227) 0%, rgb(53, 112, 227) 24%, rgb(42, 125, 227) 53%, rgb(27, 141, 226) 78%, rgb(8, 162, 225) 100%); + /* background: #1D0214; */ +} + +.md-tabs { + background: linear-gradient(45deg, rgb(53, 112, 227) 0%, rgb(53, 112, 227) 24%, rgb(42, 125, 227) 53%, rgb(27, 141, 226) 78%, rgb(8, 162, 225) 100%); + /* background: #1D0214; */ +} + +/* Revert hue value to that of pre mkdocs-material v9.4.0 */ +[data-md-color-scheme="slate"] { + --md-hue: 230; + --md-default-bg-color: hsla(230, 15%, 21%, 1); +} + .custom-login-button { font-size: 0.8rem; font-weight: 700; @@ -21,10 +31,10 @@ } /* make David happy - make the padding next to the login button smaller */ -.md-header__source { +/* .md-header__source { width: auto !important; margin-left: 1rem !important; -} +} */ /* Hide all ToC entries for parameters. */ li.md-nav__item>a[href*="("] {