From 45c0545fd3e1ec49d78fe4e847d5b8f6b9cd6ac0 Mon Sep 17 00:00:00 2001 From: Mattijn van Hoek Date: Mon, 27 Nov 2023 22:46:32 +0100 Subject: [PATCH] keep primary secondy(& -bg) colors as is --- doc/_static/custom.css | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/doc/_static/custom.css b/doc/_static/custom.css index d6546af64..c144de53a 100644 --- a/doc/_static/custom.css +++ b/doc/_static/custom.css @@ -1,3 +1,15 @@ +html[data-theme="light"] { + --pst-color-primary: rgb(93, 154, 181); + --pst-color-secondary: rgb(93, 155, 182); + --pst-color-secondary-bg: rgb(223, 235, 240); +} + +html[data-theme="dark"] { + --pst-color-primary: rgb(93, 155, 182); + --pst-color-secondary: rgb(93, 155, 182); + --pst-color-secondary-bg: rgb(33, 45, 51); +} + .wy-nav-side p.caption { color: #F5F5F5; } @@ -82,11 +94,6 @@ properly displayed on mobile devices and not restricted to 20% */ display: none; } -/* Use old light blue color for banner since it goes better with the Altair logo */ -.bd-header-announcement { - background-color: #daebf1 !important; -} - /* Configurations for the start page ------------------------------------ */ .lead {