From 1f6d2bcd9127969c04dfa460c8a543e8e6062573 Mon Sep 17 00:00:00 2001 From: Hidde de Vries Date: Tue, 5 Dec 2023 21:01:53 +0100 Subject: [PATCH] fix: set background color style more globally This is ugly, there is likely a more specific place this should go. It is also set on `pre`, but the inline style that the markdown processor sets on one of its containing divs needs the variable to be set already (and targeting that specific div seems potentially more likely to break). --- src/css/custom.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/css/custom.css b/src/css/custom.css index 8bca479fc28..b53051c6668 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -18,6 +18,8 @@ --nlds-navbar-link-active-border-color: #5eba5b; --nlds-sidebar-menu-item-active-border-color: #148839; + --nlds-code-block-background-color: #011627; + -webkit-font-smoothing: auto !important; -moz-osx-font-smoothing: auto !important; --ifm-container-width: 1030px;