Update themes/modern-dark.css

This commit is contained in:
Madiator2011 2024-05-28 17:08:42 +02:00
parent 46a3a8d8b3
commit 81ee3f8457

View file

@ -213,15 +213,25 @@ form.search.small h2 {
border-radius: 5px; border-radius: 5px;
} }
.searchresults h4 a { .searchresult {
padding: 15px;
margin-bottom: 15px;
border-radius: 5px;
background-color: var(--surface-color);
border: 1px solid var(--border-color);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.searchresult h4 a {
font-size: 1.3em; font-size: 1.3em;
font-weight: normal; font-weight: normal;
color: var(--primary-color); color: var(--primary-color);
text-decoration: none; text-decoration: none;
margin-bottom: 5px; margin-bottom: 5px;
display: block;
} }
.searchresults h4 a:hover { .searchresult h4 a:hover {
color: var(--hover-color); color: var(--hover-color);
text-decoration: underline; text-decoration: underline;
} }
@ -229,20 +239,21 @@ form.search.small h2 {
.snippetLoaded { .snippetLoaded {
font-size: 1.2em; font-size: 1.2em;
line-height: 1.2; line-height: 1.2;
color: var(--text-muted-color);
} }
.snippetLoaded strong { .snippetLoaded strong {
color: var(--text-color); color: var(--text-color);
} }
.searchresults .url a { .searchresult .url a {
font-size: 1.2em; font-size: 1.2em;
color: var(--secondary-color); color: var(--secondary-color);
text-decoration: none; text-decoration: none;
line-height: 1.2; line-height: 1.2;
} }
.searchresults .url a:hover { .searchresult .url a:hover {
color: var(--hover-color); color: var(--hover-color);
text-decoration: underline; text-decoration: underline;
} }
@ -272,4 +283,53 @@ form.search.small h2 {
} }
.example { .example {
background-color: #D3D3D3 background-color: #D3D3D3;
padding: 10px;
margin-bottom: 10px;
}
.hides:hover .hoverShow {
background-color: var(--background-color);
}
/* Log */
body#ViewLog pre {
background-color: var(--background-color);
color: var(--text-color);
padding: 10px;
}
/* Forms */
fieldset {
background-color: var(--surface-color);
color: var(--text-color);
border: 0px solid var(--surface-color);
border-radius: 3px;
padding: 10px;
}
legend {
background-color: var(--primary-color);
border-radius: 3px;
text-align: left;
font-weight: bold;
color: white;
}
legend a:link, legend a:hover {
color: white;
}
form dt, dl.pairs dt {
background-color: var(--surface-color);
font-weight: bold;
}
form dd, dl.pairs dd {
background-color: var(--surface-color);
}
/* Fix overlapping */
body {
padding-top: 60px; /* Adjust this value to your navbar height */
}