summaryrefslogtreecommitdiff
path: root/searx/static/themes/simple/src/less/style.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/style.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/style.less')
-rw-r--r--searx/static/themes/simple/src/less/style.less7
1 files changed, 3 insertions, 4 deletions
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 {