Ponysearch/searx/static/css/style.css

134 lines
3.8 KiB
CSS
Raw Normal View History

2013-10-15 18:19:31 +02:00
html {
font-family: sans-serif;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
color: #444444;
}
2013-10-21 00:28:48 +02:00
.row { max-width: 800px; margin: auto; text-align: justify; }
.row h1 { font-size: 3em; margin-top: 50px; }
2013-10-21 00:42:07 +02:00
.row p { padding: 0 10px; max-width: 700px; }
.row h3,ul { margin: 4px 8px;}
2013-10-21 00:28:48 +02:00
2013-10-22 21:31:56 +02:00
.hmarg { margin: 0 20px; }
.top_margin { margin-top: 60px; }
2013-10-21 00:28:48 +02:00
2013-10-15 18:19:31 +02:00
.center { text-align: center; }
h1 { font-size: 5em; }
2013-11-02 17:38:57 +01:00
h1.title { background: url('/static/img/searx.png') no-repeat; width: 100%; background-position: center; }
h1.title div { visibility: hidden; }
2013-10-19 18:28:58 +02:00
input { border: 2px solid #666666; color: #444444; padding: 8px; background-color: #FFFFFF; font-size: 1.1em; }
2013-10-15 19:11:43 +02:00
2013-10-20 12:19:34 +02:00
input[type="checkbox"] { visibility: hidden; }
2013-10-20 22:37:55 +02:00
.checkbox_container { display: inline-block; position: relative; padding-left: 3px; margin: 0 10px; }
2013-10-20 12:19:34 +02:00
.checkbox_container label {
cursor: pointer;
}
.checkbox_container label.cb {
position: absolute;
width: 16px;
height: 16px;
top: 2px;
left: 2px;
background: #eee;
border:1px solid #ddd;
}
.checkbox_container label.cb:after {
opacity: 0.2;
content: '';
position: absolute;
width: 8px;
height: 4px;
background: transparent;
top: 3px;
left: 3px;
border: 3px solid #333;
border-top: none;
border-right: none;
-webkit-transform: rotate(-45deg);
-moz-transform: rotate(-45deg);
-o-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
transform: rotate(-45deg);
}
.checkbox_container label.cb:hover:after {
opacity: 0.5;
}
.checkbox_container input[type=checkbox]:checked + label.cb:after {
opacity: 1;
}
2013-10-15 19:11:43 +02:00
a { text-decoration: none; }
2013-10-15 18:47:26 +02:00
2013-10-22 23:32:52 +02:00
.result { margin-bottom: 16px; clear: both; }
2013-10-20 22:37:55 +02:00
.result_title { margin-bottom: 0; }
2013-10-19 18:28:58 +02:00
.result p { margin-top: 0; padding-top: 0; font-size: 0.8em; max-width: 50em; }
.result h3 { font-size: 0.9em;}
2013-10-17 20:44:50 +02:00
.result { max-width: 70em; }
2013-10-15 18:47:26 +02:00
.url { font-weight: bold; }
2013-10-17 20:44:50 +02:00
.q { width: 30em; }
2013-10-19 18:28:58 +02:00
.engines { color: #888888; }
2013-10-22 23:32:52 +02:00
.small_font { font-size: 0.8em; }
.small p { margin: 2px 0; }
2013-10-19 22:35:06 +02:00
.right { float: right; }
2013-10-20 10:39:49 +02:00
.invisible { display: none; }
2013-10-22 23:32:52 +02:00
2013-10-27 02:59:32 +02:00
.left { float: left; }
2013-10-27 00:12:04 +02: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 23:42:18 +01: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 02:59:32 +02:00
.percentage { position: relative; width: 300px; }
.percentage div { background: #444444; }
td { padding: 0 4px; }
tr:hover td { background: #DDDDDD; }
2013-11-01 15:33:53 +01:00
#search_wrapper { position: relative; max-width: 600px; margin: 10px; }
.center #search_wrapper { margin-left: auto; margin-right: auto; }
.q {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
width: 100%;
box-sizing: border-box;
border: 1px solid #c8c8c8;
border-bottom-color: #d2e2e7;
-webkit-border-radius: 1px;
-moz-border-radius: 1px;
border-radius: 1px;
-webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.4), 0 0 0 4px #dddddd;
-moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.4), 0 0 0 4px #dddddd;
box-shadow: inset 0 1px 2px rgba(0,0,0,0.4), 0 0 0 4px #dddddd;
-webkit-transition: all 0.4s linear;
-moz-transition: all 0.4s linear;
transition: all 0.4s linear;
}
.q:focus {
outline: none;
-webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.6), 0 0 0 4px #dddddd;
-moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.6), 0 0 0 4px #dddddd;
box-shadow: inset 0 1px 2px rgba(0,0,0,0.6), 0 0 0 4px #dddddd;
}
2013-11-01 22:54:54 +01:00
#search_submit { position: absolute; top: 6px; right: 3px; border: 0; padding: 6px; background: url('/static/img/search-icon.png') no-repeat; background-size: 30px 30px; width: 33px; height: 30px; }
2013-11-01 15:33:53 +01:00
2013-11-01 19:04:48 +01:00
#results { margin-left: 10px; margin-top: 10px; }