summaryrefslogtreecommitdiff
path: root/searx/static/themes/simple/css/searxng-rtl.css
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarIT.de>2021-11-03 08:14:09 +0000
committerGitHub <noreply@github.com>2021-11-03 08:14:09 +0000
commit49db7b20d4d2b62f43855030669c168daa83838a (patch)
tree0c4a19990a9cb908d39df628dad870fd9b166bf1 /searx/static/themes/simple/css/searxng-rtl.css
parent6fc5f7d90a0d2118f87224466416119cc9ec1a39 (diff)
parent67d3dc01a259b244c8a04ea32187b04bc22731c0 (diff)
downloadsearxng-49db7b20d4d2b62f43855030669c168daa83838a.tar.gz
searxng-49db7b20d4d2b62f43855030669c168daa83838a.zip
Merge pull request #469 from return42/css-answer-box
[theme] simple - improve rendering of the "Answers" box
Diffstat (limited to 'searx/static/themes/simple/css/searxng-rtl.css')
-rw-r--r--searx/static/themes/simple/css/searxng-rtl.css13
1 files changed, 7 insertions, 6 deletions
diff --git a/searx/static/themes/simple/css/searxng-rtl.css b/searx/static/themes/simple/css/searxng-rtl.css
index f05f46fb2..3abd096ce 100644
--- a/searx/static/themes/simple/css/searxng-rtl.css
+++ b/searx/static/themes/simple/css/searxng-rtl.css
@@ -853,7 +853,8 @@ template {
--color-autocomplete-background: #fff;
--color-autocomplete-background-hover: #f7f7f7;
--color-answer-border: #ddd;
- --color-answer-font: #000;
+ --color-answer-font: #444;
+ --color-answer-background: #f7f7f7;
--color-result-shadow: #ccc;
--color-result-border: #ddd;
--color-result-url-font: #000;
@@ -935,8 +936,9 @@ template {
--color-autocomplete-border: #444;
--color-autocomplete-background: #222;
--color-autocomplete-background-hover: #181818;
- --color-answer-border: #ddd;
- --color-answer-font: #fff;
+ --color-answer-border: #333;
+ --color-answer-font: #bbb;
+ --color-answer-background: #181818;
--color-result-shadow: #444;
--color-result-border: #333;
--color-result-url-font: #fff;
@@ -2941,6 +2943,7 @@ article.result-images[data-vim-selected] .image_thumbnail {
#answers {
grid-area: answers;
border: 1px solid var(--color-answer-border);
+ background: var(--color-answer-background);
padding: 0.9em;
margin-bottom: 0.125rem;
color: var(--color-answer-font);
@@ -2953,8 +2956,6 @@ article.result-images[data-vim-selected] .image_thumbnail {
}
#answers .answer {
display: block;
- font-size: 1.2em;
- font-weight: bold;
}
#answers form,
#infoboxes form {
@@ -3183,7 +3184,7 @@ article.result-images[data-vim-selected] .image_thumbnail {
}
#corrections,
#answers {
- margin: 0 5px 1em 5px;
+ margin: 1rem 0.5rem;
box-shadow: 0 0 5px var(--color-result-shadow);
}
#results {