mirror of
https://github.com/searxng/searxng
synced 2024-01-01 18:24:07 +00:00
182 lines
4.5 KiB
CSS
182 lines
4.5 KiB
CSS
html {
|
|
font-family: sans-serif;
|
|
font-size: 0.9em;
|
|
-webkit-text-size-adjust: 100%;
|
|
-ms-text-size-adjust: 100%;
|
|
-moz-text-size-adjust: 100%;
|
|
color: #444444;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
body, #container {
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
#container {
|
|
width: 100%;
|
|
position: absolute;
|
|
top: 0;
|
|
}
|
|
|
|
.row { max-width: 800px; margin: auto; text-align: justify; }
|
|
.row h1 { font-size: 3em; margin-top: 50px; }
|
|
.row p { padding: 0 10px; max-width: 700px; }
|
|
.row h3,ul { margin: 4px 8px;}
|
|
|
|
.hmarg { margin: 0 20px; }
|
|
|
|
.top_margin { margin-top: 60px; }
|
|
|
|
.center { text-align: center; }
|
|
|
|
h1 { font-size: 5em; }
|
|
|
|
div.title { background: url('/static/img/searx.png') no-repeat; width: 100%; background-position: center; }
|
|
div.title h1 { visibility: hidden; }
|
|
|
|
input[type="submit"] { border: 1px solid #666666; color: #444444; padding: 4px; background-color: #FFFFFF; margin-left: 8px; }
|
|
|
|
input[type="checkbox"] { visibility: hidden; }
|
|
|
|
#categories { margin: 0 10px; }
|
|
|
|
.checkbox_container { display: inline-block; position: relative; margin: 0 3px; padding: 0px; }
|
|
.checkbox_container input {
|
|
display: none;
|
|
}
|
|
.checkbox_container label {
|
|
cursor: pointer;
|
|
padding: 4px 10px;
|
|
margin: 0;
|
|
display: block;
|
|
text-transform: capitalize;
|
|
|
|
-webkit-touch-callout: none;
|
|
-webkit-user-select: none;
|
|
-khtml-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
}
|
|
|
|
.checkbox_container input[type="checkbox"]:checked + label {
|
|
background: #b8c1d9;
|
|
}
|
|
|
|
.search .checkbox_container label {
|
|
border-bottom: 4px solid #e8e7e6;
|
|
}
|
|
|
|
.search .checkbox_container input[type="checkbox"]:checked + label {
|
|
border-bottom: 4px solid #8098d9;
|
|
}
|
|
|
|
a { text-decoration: none; }
|
|
|
|
.result { margin-bottom: 16px; clear: both; }
|
|
.result_title { margin-bottom: 0; }
|
|
.result p { margin-top: 0; padding-top: 0; font-size: 0.8em; max-width: 54em; word-wrap:break-word; }
|
|
.result h3 { font-size: 0.9em; word-wrap:break-word; }
|
|
.result { max-width: 70em; }
|
|
|
|
.url { font-weight: bold; word-wrap:break-word; }
|
|
|
|
.q { width: 30em; }
|
|
|
|
.engines { color: #888888; }
|
|
|
|
.small_font { font-size: 0.8em; }
|
|
|
|
.small p { margin: 2px 0; }
|
|
|
|
.search { background: #e8e7e6; padding: 0; margin: 0 }
|
|
|
|
.right { float: right; }
|
|
|
|
.invisible { display: none; }
|
|
|
|
.left { float: left; }
|
|
|
|
.image_result { float: left; margin: 10px 10px; position: relative; height: 160px;}
|
|
.image_result img { border: 0; height: 160px;}
|
|
.image_result p { margin: 0; padding: 0; }
|
|
.image_result p span a { display: none; }
|
|
.image_result p span a { color: #FFFFFF; }
|
|
.image_result p:hover span a { display: block; position: absolute; bottom: 0; right: 0; padding: 4px; background-color: rgba(0, 0, 0, 0.6); font-size: 0.7em; }
|
|
|
|
.percentage { position: relative; width: 300px; }
|
|
.percentage div { background: #444444; }
|
|
td { padding: 0 4px; }
|
|
tr:hover td { background: #DDDDDD; }
|
|
|
|
#search_wrapper { position: relative; max-width: 600px; padding: 10px; }
|
|
.center #search_wrapper { margin-left: auto; margin-right: auto; }
|
|
.q {
|
|
background: none repeat scroll 0 0 #FFFFFF;
|
|
border: 1px solid #8D8D8D;
|
|
border-radius: 3px;
|
|
box-shadow: 1px 1px 2px #999999 inset;
|
|
color: #222222;
|
|
font-size: 16px;
|
|
height: 28px;
|
|
margin: 0;
|
|
outline: medium none;
|
|
padding: 4px;
|
|
padding-left: 8px;
|
|
padding-right: 0px !important;
|
|
width: 100%;
|
|
z-index: 2;
|
|
}
|
|
#search_submit {
|
|
position: absolute;
|
|
top: 15px;
|
|
right: 4px;
|
|
padding: 0;
|
|
border: 0;
|
|
background: url('/static/img/search-icon.png') no-repeat;
|
|
background-size: 28px 28px;
|
|
opacity: 0.8;
|
|
width: 28px;
|
|
height: 30px;
|
|
}
|
|
|
|
#results { margin-left: 10px; margin-top: 10px; margin-right: 10px; }
|
|
|
|
#suggestions { max-width: 50em;}
|
|
#suggestions form { display: inline; }
|
|
#suggestions input { padding: 2px 6px; margin: 2px 4px; font-size: 0.8em; display: inline-block; background: #E4E4E4; border-radius: 4px; border: 0; cursor: pointer; }
|
|
|
|
#preferences {
|
|
top: 10px;
|
|
padding: 0;
|
|
border: 0;
|
|
background: url('/static/img/preference-icon.png') no-repeat;
|
|
background-size: 28px 28px;
|
|
opacity: 0.8;
|
|
width: 28px;
|
|
height: 30px;
|
|
display: block;
|
|
}
|
|
|
|
#preferences * {
|
|
display: none;
|
|
}
|
|
|
|
#apis {
|
|
clear: both;
|
|
}
|
|
|
|
@media screen and (max-width: 680px) {
|
|
#search_wrapper { width: 90%; clear:both; }
|
|
|
|
.right { display: none; postion: fixed !important; top: 100px; right: 0px; }
|
|
|
|
#categories { font-size: 80% }
|
|
|
|
#categories .checkbox_container { margin-top: 2px; margin: 0 2px; }
|
|
|
|
.result img { max-width: 90%; width: auto; height: auto }
|
|
}
|