searxng/searx/static/css/style.css

222 lines
6.6 KiB
CSS
Raw Normal View History

2013-10-15 16:19:31 +00:00
html {
font-family: sans-serif;
2013-11-06 13:38:22 +00:00
font-size: 0.9em;
2013-10-15 16:19:31 +00:00
-webkit-text-size-adjust: 100%;
2014-01-05 19:27:13 +00:00
-ms-text-size-adjust: 100%;
-moz-text-size-adjust: 100%;
2013-10-15 16:19:31 +00:00
color: #444444;
2014-01-05 19:27:13 +00:00
padding: 0;
margin: 0;
}
body, #container {
padding: 0;
margin: 0;
}
#container {
width: 100%;
position: absolute;
top: 0;
2013-10-15 16:19:31 +00:00
}
2013-10-20 22:28:48 +00:00
.row { max-width: 800px; margin: auto; text-align: justify; }
.row h1 { font-size: 3em; margin-top: 50px; }
2013-10-20 22:42:07 +00:00
.row p { padding: 0 10px; max-width: 700px; }
.row h3,ul { margin: 4px 8px;}
2013-10-20 22:28:48 +00:00
.hmarg {
margin: 0 20px;
border: 1px solid #3498DB;
padding: 4px 10px;
}
a:link.hmarg { color: #3498DB; }
a:visited.hmarg { color: #3498DB; }
a:active.hmarg { color: #3498DB; }
a:hover.hmarg { color: #3498DB; }
2013-10-22 19:31:56 +00:00
.top_margin { margin-top: 60px; }
2013-10-20 22:28:48 +00:00
2013-10-15 16:19:31 +00:00
.center { text-align: center; }
h1 { font-size: 5em; }
2013-12-03 17:33:05 +00:00
div.title { background: url('/static/img/searx.png') no-repeat; width: 100%; background-position: center; }
div.title h1 { visibility: hidden; }
2013-11-02 16:38:57 +00:00
2014-01-30 13:26:54 +00:00
input[type="submit"] { padding: 2px 6px; margin: 2px 4px; display: inline-block; background: #3498DB; color: #FFFFFF; border-radius: 4px; border: 0; cursor: pointer; }
2013-10-15 17:11:43 +00:00
2013-10-20 10:19:34 +00:00
input[type="checkbox"] { visibility: hidden; }
2014-02-06 23:35:15 +00:00
fieldset { margin: 8px; border: 1px solid #3498DB; }
2014-01-21 23:59:18 +00:00
2014-01-05 19:27:13 +00:00
#categories { margin: 0 10px; }
.checkbox_container { display: inline-block; position: relative; margin: 0 3px; padding: 0px; }
.checkbox_container input {
display: none;
}
2014-02-06 23:35:15 +00:00
.checkbox_container label, .engine_checkbox label {
2013-10-20 10:19:34 +00:00
cursor: pointer;
2014-01-05 19:27:13 +00:00
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;
2013-10-20 10:19:34 +00:00
}
2014-01-05 19:27:13 +00:00
2014-01-11 15:57:43 +00:00
.checkbox_container input[type="checkbox"]:checked + label { background: #3498DB; color: #FFFFFF; }
2014-01-06 23:21:08 +00:00
.search .checkbox_container label { border-bottom: 4px solid #e8e7e6; }
2014-01-11 15:57:43 +00:00
.search .checkbox_container label:hover { border-bottom: 4px solid #3498DB; }
.search .checkbox_container input[type="checkbox"]:checked + label { border-bottom: 4px solid #2980B9; }
2014-01-05 19:27:13 +00:00
2014-02-06 23:35:15 +00:00
.engine_checkbox { padding: 4px; }
label.allow { background: #E74C3C; color: #FFFFFF; padding: 4px 8px; display: none; }
label.deny { background: #2ECC71; padding: 4px 8px; display: inline; }
.engine_checkbox input[type="checkbox"]:checked + label:nth-child(2) + label { display: none; }
.engine_checkbox input[type="checkbox"]:checked + label.allow { display: inline; }
2014-01-06 23:21:08 +00:00
a { text-decoration: none; color: #1a11be; }
a:visited { color: #7b11be; }
2013-10-15 16:47:26 +00:00
2014-01-11 11:40:24 +00:00
.result { margin: 19px 0 18px 0; padding: 0; max-width: 55em; clear: both; }
2013-10-20 20:37:55 +00:00
.result_title { margin-bottom: 0; }
2014-02-11 00:23:08 +00:00
.result_title a { color: #1168CC; font-weight: normal; font-size: 1.1em; }
.result_title a:hover { text-decoration: underline; }
2014-01-06 23:21:08 +00:00
.result h3 { font-size: 1em; word-wrap:break-word; margin: 5px 0 1px 0; padding: 0 }
.result .content { font-size: 0.8em; margin: 0; padding: 0; max-width: 54em; word-wrap:break-word; line-height: 1.24; }
2014-02-11 00:23:08 +00:00
.result .url { font-size: 0.8em; margin: 3px 0 0 0; padding: 0; max-width: 54em; word-wrap:break-word; color: #C0392B; }
2013-10-17 18:44:50 +00:00
.q { width: 30em; }
2013-10-19 16:28:58 +00:00
.engines { color: #888888; }
2013-10-22 21:32:52 +00:00
.small_font { font-size: 0.8em; }
.small p { margin: 2px 0; }
2013-10-19 20:35:06 +00:00
2014-01-11 15:57:43 +00:00
.search { background: #ECF0F1; padding: 0; margin: 0 }
2014-01-05 19:27:13 +00:00
2013-10-19 20:35:06 +00:00
.right { float: right; }
2013-10-20 08:39:49 +00:00
.invisible { display: none; }
2013-10-22 21:32:52 +00:00
2013-10-27 00:59:32 +00:00
.left { float: left; }
2013-10-26 22:12:04 +00:00
.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; }
2013-10-27 22:42:18 +00:00
.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; }
2013-10-27 00:59:32 +00:00
.torrent_result { border-left: 10px solid lightgray; padding-left: 3px; }
.torrent_result p { margin: 3px; font-size: 0.8em; }
.definition_result { border-left: 10px solid gray; padding-left: 3px; }
2013-10-27 00:59:32 +00:00
.percentage { position: relative; width: 300px; }
.percentage div { background: #444444; }
2014-02-06 23:35:15 +00:00
table { width: 100%; }
td { padding: 0 4px; }
tr:hover { background: #DDDDDD; }
2013-11-01 14:33:53 +00:00
2014-01-05 19:27:13 +00:00
#search_wrapper { position: relative; max-width: 600px; padding: 10px; }
2013-11-01 14:33:53 +00:00
.center #search_wrapper { margin-left: auto; margin-right: auto; }
.q {
2013-11-05 20:01:22 +00:00
background: none repeat scroll 0 0 #FFFFFF;
border: 1px solid #3498DB;
2013-11-05 20:01:22 +00:00
color: #222222;
2013-11-06 13:38:22 +00:00
font-size: 16px;
2013-11-05 20:01:22 +00:00
height: 28px;
margin: 0;
outline: medium none;
2014-01-30 19:55:10 +00:00
padding: 2px;
2013-11-05 20:01:22 +00:00
padding-left: 8px;
padding-right: 0px !important;
width: 100%;
z-index: 2;
2013-11-01 14:33:53 +00:00
}
2013-11-05 20:01:22 +00:00
#search_submit {
position: absolute;
2014-01-30 19:55:10 +00:00
top: 13px;
right: 1px;
2013-11-05 20:01:22 +00:00
padding: 0;
border: 0;
background: url('/static/img/search-icon.png') no-repeat;
2014-01-30 19:55:10 +00:00
background-size: 24px 24px;
2013-11-05 20:01:22 +00:00
opacity: 0.8;
2014-01-30 19:55:10 +00:00
width: 24px;
2013-11-05 20:01:22 +00:00
height: 30px;
2014-01-29 19:08:00 +00:00
font-size: 0;
2013-11-01 14:33:53 +00:00
}
2014-01-30 13:26:54 +00:00
#results { margin: 10px; padding: 0; margin-bottom: 20px; }
2013-11-13 18:35:32 +00:00
2014-01-30 13:26:54 +00:00
#sidebar { position: absolute; left: 54em; width: 12em; margin: 0 2px 5px 5px; padding: 0 2px 2px 2px; }
2014-01-31 03:35:23 +00:00
#suggestions span { display: block; margin: 0 2px 2px 2px; padding: 0; }
2014-01-06 23:21:08 +00:00
#suggestions form { display: block; }
2014-01-11 15:57:43 +00:00
#suggestions input { padding: 2px 6px; margin: 2px 4px; font-size: 0.8em; display: inline-block; background: #3498DB; color: #FFFFFF; border-radius: 4px; border: 0; cursor: pointer; }
#preferences {
2014-01-05 19:27:13 +00:00
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;
}
2014-01-29 23:08:17 +00:00
#pagination {
clear: both;
}
2014-01-05 19:27:13 +00:00
#apis {
2014-01-31 03:35:23 +00:00
margin-top: 8px;
2014-01-05 19:27:13 +00:00
clear: both;
}
2014-01-06 23:21:08 +00:00
@media screen and (max-width: 60em) {
2014-01-30 13:26:54 +00:00
#sidebar { position: static; max-width: 50em; margin: 0 0 2px 0; padding: 0; float: none; border: none; width: auto }
2014-01-06 23:21:08 +00:00
#suggestions span { display: inline; font-size: 0.8em }
#suggestions form { display: inline; }
2014-01-11 15:57:43 +00:00
#suggestions input { padding: 2px 6px; margin: 2px 4px; font-size: 0.8em; display: inline-block; border-radius: 4px; border: 0; cursor: pointer; }
2014-01-06 23:21:08 +00:00
}
2014-01-05 19:27:13 +00:00
@media screen and (max-width: 680px) {
2014-01-06 23:21:08 +00:00
#search_wrapper { width: 90%; clear:both; overflow: hidden }
2014-01-05 19:27:13 +00:00
.right { display: none; postion: fixed !important; top: 100px; right: 0px; }
2014-01-30 13:26:54 +00:00
#apis { display: none; }
2014-01-11 15:57:43 +00:00
#categories { font-size: 80%; clear: both; }
2014-01-05 19:27:13 +00:00
#categories .checkbox_container { margin-top: 2px; margin: 0 2px; }
2014-01-11 15:57:43 +00:00
.checkbox_container { display: block; width: 100%; float: left; }
.checkbox_container label { border-bottom: 0; }
2014-01-06 23:21:08 +00:00
.result { border-top: 1px solid #e8e7e6; margin: 7px 0 6px 0; }
2014-01-05 19:27:13 +00:00
.result img { max-width: 90%; width: auto; height: auto }
}
2014-01-19 21:58:50 +00:00
2014-02-11 00:23:08 +00:00
.favicon { float: left; margin-right: 4px; margin-top: 2px; }