From 1843270da8a82f49aae2f1ed1a353b623eedb289 Mon Sep 17 00:00:00 2001 From: Madiator2011 Date: Tue, 28 May 2024 17:27:48 +0200 Subject: [PATCH] Update themes/modern-dark.css --- themes/modern-dark.css | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/themes/modern-dark.css b/themes/modern-dark.css index eb1ada2..d9fbc24 100644 --- a/themes/modern-dark.css +++ b/themes/modern-dark.css @@ -22,8 +22,8 @@ body { margin: 0; padding-top: 60px; /* Adjust this value to your navbar height */ display: flex; - flex-direction: column; height: 100vh; + overflow: hidden; } a:link, a:visited { @@ -41,7 +41,9 @@ a:hover { background-color: var(--surface-color) !important; border-color: var(--border-color) !important; color: var(--text-color) !important; - position: relative; + position: fixed; + top: 0; + width: 100%; z-index: 1000; /* Ensure navbar is on top */ } @@ -69,6 +71,7 @@ a:hover { /* Main content area */ #main-content { + margin-left: 20px; margin-right: 320px; /* Adjust based on sidebar width */ padding: 20px; flex-grow: 1; @@ -249,8 +252,8 @@ form.search.small h2 { } .searchresult h4 a { - font-size: 1.3em; - font-weight: normal; + font-size: 1.5em; + font-weight: bold; color: var(--primary-color); text-decoration: none; margin-bottom: 5px; @@ -385,4 +388,4 @@ form dt, dl.pairs dt { form dd, dl.pairs dd { background-color: var(--surface-color); -} \ No newline at end of file +}