Fix light theme having unreadable search results
ci/woodpecker/push/check Pipeline failed Details
ci/woodpecker/push/manual Pipeline failed Details
ci/woodpecker/push/release Pipeline was successful Details

This commit is contained in:
Olivier 'reivilibre' 2022-11-30 22:01:58 +00:00
parent 51c90ecaa0
commit e2a4835536
2 changed files with 28 additions and 4 deletions

View File

@ -0,0 +1,10 @@
.result_title a {
color: palegoldenrod;
}
.result_tags {
> li {
color: palegreen;
}
}

View File

@ -4,6 +4,11 @@
--typography-spacing-vertical: 1rem;
}
// light green theming
$primary-500: #8bc34a;
$primary-600: #7cb342;
$primary-700: #689f38;
.bar_happy {
padding: 1em;
margin: 3em;
@ -16,8 +21,6 @@
}
}
@media only screen and (max-width: 960px) {
.left_side_container {
@extends(.container);
@ -91,7 +94,7 @@ ul.search_results {
}
.result_title a {
color: palegoldenrod;
color: brown;
}
.result_excerpt {
@ -114,7 +117,7 @@ ul.search_results {
list-style-type: none;
display: inline-block;
//background-color: palegreen;
color: palegreen;
color: darkgreen;
//padding: 0.2em;
//border-radius: 8px;
@ -128,3 +131,14 @@ ul.search_results {
margin-right: 0.4em;
}
}
@media only screen and (prefers-color-scheme: dark) {
:root:not([data-theme=light]) {
@import "dark.scss";
}
}
[data-theme=dark] {
@import "dark.scss";
}