Update themes/modern-dark.css

This commit is contained in:
Madiator2011 2024-05-28 17:27:48 +02:00
parent 0bf18624e7
commit 1843270da8

View file

@ -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;