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;
|
margin: 0;
|
||||||
padding-top: 60px; /* Adjust this value to your navbar height */
|
padding-top: 60px; /* Adjust this value to your navbar height */
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:link, a:visited {
|
a:link, a:visited {
|
||||||
|
@ -41,7 +41,9 @@ a:hover {
|
||||||
background-color: var(--surface-color) !important;
|
background-color: var(--surface-color) !important;
|
||||||
border-color: var(--border-color) !important;
|
border-color: var(--border-color) !important;
|
||||||
color: var(--text-color) !important;
|
color: var(--text-color) !important;
|
||||||
position: relative;
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
width: 100%;
|
||||||
z-index: 1000; /* Ensure navbar is on top */
|
z-index: 1000; /* Ensure navbar is on top */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -69,6 +71,7 @@ a:hover {
|
||||||
|
|
||||||
/* Main content area */
|
/* Main content area */
|
||||||
#main-content {
|
#main-content {
|
||||||
|
margin-left: 20px;
|
||||||
margin-right: 320px; /* Adjust based on sidebar width */
|
margin-right: 320px; /* Adjust based on sidebar width */
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
|
@ -249,8 +252,8 @@ form.search.small h2 {
|
||||||
}
|
}
|
||||||
|
|
||||||
.searchresult h4 a {
|
.searchresult h4 a {
|
||||||
font-size: 1.3em;
|
font-size: 1.5em;
|
||||||
font-weight: normal;
|
font-weight: bold;
|
||||||
color: var(--primary-color);
|
color: var(--primary-color);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
|
@ -385,4 +388,4 @@ form dt, dl.pairs dt {
|
||||||
|
|
||||||
form dd, dl.pairs dd {
|
form dd, dl.pairs dd {
|
||||||
background-color: var(--surface-color);
|
background-color: var(--surface-color);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue