summaryrefslogtreecommitdiff
path: root/searx/static/themes/simple/src/less/search.less
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-09-27 16:19:51 +0200
committerGitHub <noreply@github.com>2021-09-27 16:19:51 +0200
commita1c55caa719009e3f50ffe24a92ac8c6622d1da0 (patch)
tree96cc985c8238d9ed22713db63394daadfb9436e9 /searx/static/themes/simple/src/less/search.less
parentb046322c7b9467a7de6e9e289e1c5b0c0baaf4a6 (diff)
parente8ed56251aff1ce7241cdd3ed9c639990ef4ddb8 (diff)
Merge pull request #345 from MrPaulBlack/simple-theme-changes
simple theme css refactor
Diffstat (limited to 'searx/static/themes/simple/src/less/search.less')
-rw-r--r--searx/static/themes/simple/src/less/search.less16
1 files changed, 10 insertions, 6 deletions
diff --git a/searx/static/themes/simple/src/less/search.less b/searx/static/themes/simple/src/less/search.less
index ec67b9f1c..d497c673f 100644
--- a/searx/static/themes/simple/src/less/search.less
+++ b/searx/static/themes/simple/src/less/search.less
@@ -3,10 +3,10 @@
*/
#search {
- padding: 0 2em;
+ padding: 0 2em 0 @results-offset;
margin: 0;
- background: #f7f7f7;
- border-bottom: 1px solid #d7d7d7;
+ background: @color-header-background;
+ border-bottom: 1px solid @color-header-border;
}
#search_wrapper {
@@ -104,7 +104,11 @@
vertical-align: middle;
}
-@media screen and (max-width: 75em) {
+@media screen and (max-width: 80em) {
+ #search {
+ padding: 0 @results-tablet-offset;
+ }
+
#categories {
font-size: 90%;
clear: both;
@@ -142,7 +146,7 @@
}
}
-@media screen and (max-width: @results-width) {
+@media screen and (max-width: 50em) {
#search {
width: 100%;
margin: 0;
@@ -181,7 +185,7 @@
.category {
display: block;
- width: 90%;
+ width: 100%;
label {
border-bottom: 0;