From e2d312f6ae69d8bf7a36d4809b3f8544a92bb6b2 Mon Sep 17 00:00:00 2001 From: Alexandre Flament Date: Thu, 28 Oct 2021 16:14:34 +0200 Subject: [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 --- searx/static/themes/simple/src/less/style.less | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'searx/static/themes/simple/src/less/style.less') diff --git a/searx/static/themes/simple/src/less/style.less b/searx/static/themes/simple/src/less/style.less index ea95e3682..d2c3bba92 100644 --- a/searx/static/themes/simple/src/less/style.less +++ b/searx/static/themes/simple/src/less/style.less @@ -157,9 +157,8 @@ article.result-images[data-vim-selected]::before { h3 { font-size: 1.1em; word-wrap: break-word; - margin: 8px 0 8px 0 !important; + margin: 0.4rem 0 0.4rem 0; padding: 0; - margin-bottom: 0; a { color: var(--color-result-link-font); @@ -526,7 +525,7 @@ article.result-images[data-vim-selected]::before { #linkto_preferences { position: absolute; right: 10px; - top: 0.9em; + top: 2rem; padding: 0; border: 0; display: block; @@ -703,7 +702,7 @@ article.result-images[data-vim-selected]::before { #backToTop { left: auto; - right: 2rem; + right: 1rem; } #pagination { -- cgit v1.2.3