summaryrefslogtreecommitdiff
path: root/searx/static/themes/simple/src/less/index.less
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-10-28 16:14:34 +0200
committerAlexandre Flament <alex@al-f.net>2021-10-28 20:53:52 +0200
commite2d312f6ae69d8bf7a36d4809b3f8544a92bb6b2 (patch)
tree48349c62eda5537299283e334cfc3daec4c784ab /searx/static/themes/simple/src/less/index.less
parent8985d3e6ef3c1371b21bee69074f0e38acae9967 (diff)
downloadsearxng-e2d312f6ae69d8bf7a36d4809b3f8544a92bb6b2.tar.gz
searxng-e2d312f6ae69d8bf7a36d4809b3f8544a92bb6b2.zip
[mod] simple theme: adjust margins
* index page: margin top is 24% of the view port. avoid to scroll a small screen, center the content in the middle of the screen * link to preferences at the same height same the input fields * increase the category tab heighs * increase the margin bottom of the query field * in the results, change the h3 margin top and bottom to 0.4rem (6px) * move the back to top button slightly on the right when the results are only images
Diffstat (limited to 'searx/static/themes/simple/src/less/index.less')
-rw-r--r--searx/static/themes/simple/src/less/index.less6
1 files changed, 5 insertions, 1 deletions
diff --git a/searx/static/themes/simple/src/less/index.less b/searx/static/themes/simple/src/less/index.less
index 1e3242475..6d9e530f9 100644
--- a/searx/static/themes/simple/src/less/index.less
+++ b/searx/static/themes/simple/src/less/index.less
@@ -1,5 +1,9 @@
#main_index {
- margin-top: 16em;
+ margin-top: 24vh;
+
+ #linkto_preferences {
+ right: 1.8rem;
+ }
}
.index {