From df2d206abc041a1e86d80e71a4ee1190180b051e Mon Sep 17 00:00:00 2001 From: Fritz Michael Gschwantner Date: Wed, 14 Aug 2024 22:16:40 +0100 Subject: [PATCH] also fix fouc and search overlay --- page/static/css/theme-contao.css | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/page/static/css/theme-contao.css b/page/static/css/theme-contao.css index 1b81ed985..235a85c8b 100644 --- a/page/static/css/theme-contao.css +++ b/page/static/css/theme-contao.css @@ -970,6 +970,18 @@ html[data-theme=dark] #toc-menu, } /* contao.org Top Navigation */ +body:before { + content: ''; + background-color: #222; + display: block; + position: fixed; + left: 0; + top: 0; + right: 0; + height: var(--NETWORK-BAR-HEIGHT); + z-index: 100; +} + #contao-network { left: 0; top: 0; @@ -979,7 +991,8 @@ html[data-theme=dark] #toc-menu, } #sidebar, -#body { +#body, +.DocSearch-Container { margin-top: var(--NETWORK-BAR-HEIGHT); }