Revert "Improve layout of the search page on mobile"
This reverts commit 764b7f12e1d1ef96ca42073e5140aa03cb7528fb.
This commit is contained in:
parent
764b7f12e1
commit
2181ae51ba
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -58,7 +58,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#search_logo {
|
#search_logo {
|
||||||
padding: 0.5rem 10px 0 10px;
|
|
||||||
grid-area: logo;
|
grid-area: logo;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@ -91,7 +90,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#search_view {
|
#search_view {
|
||||||
padding: 0.5rem 2.8rem 0 0;
|
|
||||||
grid-area: search;
|
grid-area: search;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -256,6 +254,7 @@ html.no-js #clear_search.hide_if_nojs {
|
|||||||
.search_box {
|
.search_box {
|
||||||
width: 98%;
|
width: 98%;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
#q {
|
#q {
|
||||||
@ -264,8 +263,7 @@ html.no-js #clear_search.hide_if_nojs {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.search_filters {
|
.search_filters {
|
||||||
margin: 0 10px;
|
margin: 0;
|
||||||
padding: 0.5rem 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.category {
|
.category {
|
||||||
|
@ -519,7 +519,8 @@ article[data-vim-selected].category-social {
|
|||||||
"pagination sidebar";
|
"pagination sidebar";
|
||||||
}
|
}
|
||||||
|
|
||||||
#results #sidebar *:first-child {
|
#results #sidebar *:first-child,
|
||||||
|
#results #urls *:first-child {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -734,9 +735,9 @@ summary.title {
|
|||||||
|
|
||||||
#links_on_top {
|
#links_on_top {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
.ltr-right(1rem);
|
.ltr-right(1.8rem);
|
||||||
.ltr-text-align-right();
|
.ltr-text-align-right();
|
||||||
top: 2.7rem;
|
top: 2.2rem;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
border: 0;
|
border: 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -916,7 +917,7 @@ summary.title {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#main_results div#results {
|
#main_results div#results {
|
||||||
margin: 0 auto;
|
margin: 1rem auto 0 auto;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: @results-width;
|
grid-template-columns: @results-width;
|
||||||
@ -1013,11 +1014,12 @@ summary.title {
|
|||||||
|
|
||||||
#main_results div#results {
|
#main_results div#results {
|
||||||
grid-template-columns: 100%;
|
grid-template-columns: 100%;
|
||||||
|
margin: 1rem 0 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#links_on_top {
|
#links_on_top {
|
||||||
top: 1.4rem;
|
top: 0.8rem;
|
||||||
.ltr-right(10px);
|
.ltr-right(0.7rem);
|
||||||
}
|
}
|
||||||
|
|
||||||
#main_index #links_on_top {
|
#main_index #links_on_top {
|
||||||
@ -1041,9 +1043,7 @@ summary.title {
|
|||||||
|
|
||||||
.result {
|
.result {
|
||||||
background: var(--color-result-background);
|
background: var(--color-result-background);
|
||||||
border: 1px solid var(--color-result-background);
|
margin: 1rem 0;
|
||||||
margin: 1rem 10px;
|
|
||||||
.rounded-corners;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.result-images {
|
.result-images {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
export SEARXNG_URL=''
|
export SEARXNG_URL=''
|
||||||
export SEARXNG_PORT='8888'
|
export SEARXNG_PORT='8888'
|
||||||
export SEARXNG_BIND_ADDRESS='127.0.0.1'
|
export SEARXNG_BIND_ADDRESS='127.0.0.1'
|
||||||
export GIT_URL='https://github.com/ormai/searxng'
|
export GIT_URL='https://github.com/searxng/searxng'
|
||||||
export GIT_BRANCH='master'
|
export GIT_BRANCH='master'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user