Update themes/modern-dark.css
This commit is contained in:
parent
0bf18624e7
commit
1843270da8
1 changed files with 8 additions and 5 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue