diff --git a/themes/modern-dark.css b/themes/modern-dark.css index 5a3da9c..bbf0f6b 100644 --- a/themes/modern-dark.css +++ b/themes/modern-dark.css @@ -213,15 +213,25 @@ form.search.small h2 { 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-weight: normal; color: var(--primary-color); text-decoration: none; margin-bottom: 5px; + display: block; } -.searchresults h4 a:hover { +.searchresult h4 a:hover { color: var(--hover-color); text-decoration: underline; } @@ -229,20 +239,21 @@ form.search.small h2 { .snippetLoaded { font-size: 1.2em; line-height: 1.2; + color: var(--text-muted-color); } .snippetLoaded strong { color: var(--text-color); } -.searchresults .url a { +.searchresult .url a { font-size: 1.2em; color: var(--secondary-color); text-decoration: none; line-height: 1.2; } -.searchresults .url a:hover { +.searchresult .url a:hover { color: var(--hover-color); text-decoration: underline; } @@ -272,4 +283,53 @@ form.search.small h2 { } .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 */ +}