summaryrefslogtreecommitdiff
path: root/searx/static/themes/simple/src/less/definitions.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/definitions.less
parent8985d3e6ef3c1371b21bee69074f0e38acae9967 (diff)
[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/definitions.less')
-rw-r--r--searx/static/themes/simple/src/less/definitions.less2
1 files changed, 2 insertions, 0 deletions
diff --git a/searx/static/themes/simple/src/less/definitions.less b/searx/static/themes/simple/src/less/definitions.less
index 6a199b56b..529eb2b81 100644
--- a/searx/static/themes/simple/src/less/definitions.less
+++ b/searx/static/themes/simple/src/less/definitions.less
@@ -211,6 +211,8 @@ html {
@results-gap: 5rem;
@results-margin: 2rem;
@search-width: 40rem;
+// heigh of #search, see detail.less
+@search-height: 7.5rem;
/// Device Size
/// @desktop > @tablet