mirror of
https://github.com/searxng/searxng.git
synced 2024-11-18 08:51:06 +00:00
[fix] #38
This commit is contained in:
parent
fa26da1187
commit
c14e8fe0a5
2 changed files with 6 additions and 6 deletions
|
@ -12,7 +12,7 @@ a:hover.hmarg{color:#3498db}
|
||||||
.top_margin{margin-top:60px}
|
.top_margin{margin-top:60px}
|
||||||
.center{text-align:center}
|
.center{text-align:center}
|
||||||
h1{font-size:5em}
|
h1{font-size:5em}
|
||||||
div.title{background:url('static/img/searx.png') no-repeat;width:100%;background-position:center}div.title h1{visibility:hidden}
|
div.title{background:url('../img/searx.png') no-repeat;width:100%;background-position:center}div.title h1{visibility:hidden}
|
||||||
input[type="submit"]{padding:2px 6px;margin:2px 4px;display:inline-block;background:#3498db;color:#fff;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;border:0;cursor:pointer}
|
input[type="submit"]{padding:2px 6px;margin:2px 4px;display:inline-block;background:#3498db;color:#fff;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;border:0;cursor:pointer}
|
||||||
input[type="checkbox"]{visibility:hidden}
|
input[type="checkbox"]{visibility:hidden}
|
||||||
fieldset{margin:8px;border:1px solid #3498db}
|
fieldset{margin:8px;border:1px solid #3498db}
|
||||||
|
@ -55,14 +55,14 @@ tr:hover{background:#ddd}
|
||||||
#search_wrapper{position:relative;max-width:600px;padding:10px}
|
#search_wrapper{position:relative;max-width:600px;padding:10px}
|
||||||
.center #search_wrapper{margin-left:auto;margin-right:auto}
|
.center #search_wrapper{margin-left:auto;margin-right:auto}
|
||||||
.q{background:none repeat scroll 0 0 #fff;border:1px solid #3498db;color:#222;font-size:16px;height:28px;margin:0;outline:medium none;padding:2px;padding-left:8px;padding-right:0 !important;width:100%;z-index:2}
|
.q{background:none repeat scroll 0 0 #fff;border:1px solid #3498db;color:#222;font-size:16px;height:28px;margin:0;outline:medium none;padding:2px;padding-left:8px;padding-right:0 !important;width:100%;z-index:2}
|
||||||
#search_submit{position:absolute;top:13px;right:1px;padding:0;border:0;background:url('static/img/search-icon.png') no-repeat;background-size:24px 24px;opacity:.8;width:24px;height:30px;font-size:0}
|
#search_submit{position:absolute;top:13px;right:1px;padding:0;border:0;background:url('../img/search-icon.png') no-repeat;background-size:24px 24px;opacity:.8;width:24px;height:30px;font-size:0}
|
||||||
#results{margin:10px;padding:0;margin-bottom:20px}
|
#results{margin:10px;padding:0;margin-bottom:20px}
|
||||||
#sidebar{position:absolute;left:54em;width:15em;margin:0 2px 5px 5px;padding:0 2px 2px 2px}
|
#sidebar{position:absolute;left:54em;width:15em;margin:0 2px 5px 5px;padding:0 2px 2px 2px}
|
||||||
#suggestions span{display:block;margin:0 2px 2px 2px;padding:0}
|
#suggestions span{display:block;margin:0 2px 2px 2px;padding:0}
|
||||||
#suggestions form{display:block}
|
#suggestions form{display:block}
|
||||||
#suggestions input{padding:2px 6px;margin:2px 4px;font-size:.8em;display:inline-block;background:#3498db;color:#fff;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;border:0;cursor:pointer}
|
#suggestions input{padding:2px 6px;margin:2px 4px;font-size:.8em;display:inline-block;background:#3498db;color:#fff;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;border:0;cursor:pointer}
|
||||||
#search_url{margin-top:8px}#search_url input{border:1px solid #888;padding:4px;color:#444;width:20em;display:block;margin:4px}
|
#search_url{margin-top:8px}#search_url input{border:1px solid #888;padding:4px;color:#444;width:20em;display:block;margin:4px}
|
||||||
#preferences{top:10px;padding:0;border:0;background:url('static/img/preference-icon.png') no-repeat;background-size:28px 28px;opacity:.8;width:28px;height:30px;display:block}#preferences *{display:none}
|
#preferences{top:10px;padding:0;border:0;background:url('../img/preference-icon.png') no-repeat;background-size:28px 28px;opacity:.8;width:28px;height:30px;display:block}#preferences *{display:none}
|
||||||
#pagination{clear:both}
|
#pagination{clear:both}
|
||||||
#apis{margin-top:8px;clear:both}
|
#apis{margin-top:8px;clear:both}
|
||||||
@media screen and (max-width:60em){#sidebar{position:static;max-width:50em;margin:0 0 2px 0;padding:0;float:none;border:none;width:auto} #suggestions span{display:inline;font-size:.8em} #suggestions form{display:inline} #suggestions input{padding:2px 6px;margin:2px 4px;font-size:.8em;display:inline-block;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;border:0;cursor:pointer}}@media screen and (max-width:680px){#search_wrapper{width:90%;clear:both;overflow:hidden} .right{display:none;postion:fixed !important;top:100px;right:0} #apis{display:none} #categories{font-size:80%;clear:both}#categories .checkbox_container{margin-top:2px;margin:0 2px} .checkbox_container{display:block;width:100%}.checkbox_container label{border-bottom:0} .result{border-top:1px solid #e8e7e6;margin:7px 0 6px 0}.result img{max-width:90%;width:auto;height:auto}}.favicon{float:left;margin-right:4px;margin-top:2px}
|
@media screen and (max-width:60em){#sidebar{position:static;max-width:50em;margin:0 0 2px 0;padding:0;float:none;border:none;width:auto} #suggestions span{display:inline;font-size:.8em} #suggestions form{display:inline} #suggestions input{padding:2px 6px;margin:2px 4px;font-size:.8em;display:inline-block;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;border:0;cursor:pointer}}@media screen and (max-width:680px){#search_wrapper{width:90%;clear:both;overflow:hidden} .right{display:none;postion:fixed !important;top:100px;right:0} #apis{display:none} #categories{font-size:80%;clear:both}#categories .checkbox_container{margin-top:2px;margin:0 2px} .checkbox_container{display:block;width:100%}.checkbox_container label{border-bottom:0} .result{border-top:1px solid #e8e7e6;margin:7px 0 6px 0}.result img{max-width:90%;width:auto;height:auto}}.favicon{float:left;margin-right:4px;margin-top:2px}
|
||||||
|
|
|
@ -87,7 +87,7 @@ h1 {
|
||||||
}
|
}
|
||||||
|
|
||||||
div.title {
|
div.title {
|
||||||
background: url('static/img/searx.png') no-repeat;
|
background: url('../img/searx.png') no-repeat;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background-position: center;
|
background-position: center;
|
||||||
|
|
||||||
|
@ -388,7 +388,7 @@ tr {
|
||||||
right: 1px;
|
right: 1px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
border: 0;
|
border: 0;
|
||||||
background: url('static/img/search-icon.png') no-repeat;
|
background: url('../img/search-icon.png') no-repeat;
|
||||||
background-size: 24px 24px;
|
background-size: 24px 24px;
|
||||||
opacity: 0.8;
|
opacity: 0.8;
|
||||||
width: 24px;
|
width: 24px;
|
||||||
|
@ -451,7 +451,7 @@ tr {
|
||||||
top: 10px;
|
top: 10px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
border: 0;
|
border: 0;
|
||||||
background: url('static/img/preference-icon.png') no-repeat;
|
background: url('../img/preference-icon.png') no-repeat;
|
||||||
background-size: 28px 28px;
|
background-size: 28px 28px;
|
||||||
opacity: 0.8;
|
opacity: 0.8;
|
||||||
width: 28px;
|
width: 28px;
|
||||||
|
|
Loading…
Reference in a new issue