@@ -25,21 +25,6 @@ html {
25 min-height: 100%;
25 min-height: 100%;
31− background: url(../img/bg-body-index.jpg) no-repeat;
32− background-size: cover;
39− .center.search:after {
43.title h1 {
28.title h1 {
44 background: url(../img/searx.png) no-repeat;
29 background: url(../img/searx.png) no-repeat;
45 width: 319px;
30 width: 319px;
@@ -49,16 +34,12 @@ html {
52− width: 55em;
37+ max-width: 55em;
53 text-align: center;
38 text-align: center;
54 background: rgba(255,255,255,0.6);
39 background: rgba(255,255,255,0.6);
55 padding: 4em 2em;
40 padding: 4em 2em;
56 margin: 7% auto 0;
41 margin: 7% auto 0;
57 position: relative;
42 position: relative;
58− /*position: absolute;
61− margin:-220px 0 0 -408px;*/
64.center.search {
45.center.search {
@@ -69,6 +50,23 @@ html {
69 padding-top: 1.8em;
50 padding-top: 1.8em;
53+@media screen and (min-width: 1001px) {
57+ background: url(../img/bg-body-index.jpg) no-repeat;
58+ background-size: cover;
65+ .center.search:after {
72.autocompleter-choices {
70.autocompleter-choices {
73 position: absolute;
71 position: absolute;
74 margin: 0;
72 margin: 0;
@@ -106,11 +104,19 @@ html {
106 text-decoration: underline;
104 text-decoration: underline;
107+@media screen and (max-width: 1000px) {
108+ .center { background: none; }
109.checkbox_container { margin-top: 1.5em; }
114.checkbox_container { margin-top: 1.5em; }
110 .checkbox_container label {
115 .checkbox_container label {
111 padding: 0.5em 1em;
116 padding: 0.5em 1em;
112 color: #333;
117 color: #333;
113 cursor: pointer;
118 cursor: pointer;
115 .checkbox_container label:hover {
121 .checkbox_container label:hover {
116 background: #3498DB;
122 background: #3498DB;
@@ -127,10 +133,70 @@ html {
127 color: #FFF;
133 color: #FFF;
130−#categories > div {
136+#categories_container > div {
131 display: inline-block;
137 display: inline-block;
140+#categories .hidden {
152+#categories:hover .hidden {
156+@media screen and (max-width: 900px) {
157+ #categories_container { letter-spacing: -5px; }
158+ #categories_container > div {
159+ letter-spacing: normal;
162+ .checkbox_container {
165+ .checkbox_container label {
169+ border: 1px solid #FFF;
171+ .top_margin { position: static; }
172+ #categories .hidden {
178+@media screen and (max-width: 900px) and (min-width: 501px) {
179+ #categories_container > div {
181+ margin-left: 2.333%;
183+ #categories_container > div:nth-child(3n+1) { margin-left: 0; }
186+@media screen and (max-width: 500px) {
187+ #categories_container > div {
192+ #categories_container > div:nth-child(2n+1) { margin-left: 0; }
194+ background: url(../img/searx-mobile.png) no-repeat;
134#search_wrapper {
200#search_wrapper {
135 position: relative;
201 position: relative;
@@ -284,6 +350,12 @@ html {
284 text-decoration: underline;
350 text-decoration: underline;
287.search.center {
359.search.center {
288 padding-right: 17em;
360 padding-right: 17em;
@@ -339,6 +411,10 @@ input[type="submit"]:focus {
339 margin: auto;
411 margin: auto;
342.row form {
418.row form {
343 letter-spacing: -5px;
419 letter-spacing: -5px;
@@ -368,6 +444,48 @@ input[type="submit"]:focus {
368 min-height: 10.5em;
444 min-height: 10.5em;
447+@media screen and (max-width: 900px) {
451+ .row fieldset { width: 49%; }
453+ .row fieldset:nth-child(odd) {
457+ .row fieldset:first-child {
462+ .row fieldset:nth-child(even) {
468+@media screen and (max-width: 800px) {
469+ .row fieldset { width: 100%; }
471+ select { width: 100%; }
473+ table { font-size: 0.8em; }
474+ .right {display: none;}
475+ #sidebar { display: none; }
476+ #results { padding: 0 2em; }
482+@media screen and (max-width: 400px) {
483+ .row #categories_container > div {
371fieldset {
489fieldset {
372 border: 0;
490 border: 0;
373 margin: 1em 0;
491 margin: 1em 0;