style.css 5.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. html {
  2. font-family: sans-serif;
  3. font-size: 0.9em;
  4. -webkit-text-size-adjust: 100%;
  5. -ms-text-size-adjust: 100%;
  6. -moz-text-size-adjust: 100%;
  7. color: #444444;
  8. padding: 0;
  9. margin: 0;
  10. }
  11. body, #container {
  12. padding: 0;
  13. margin: 0;
  14. }
  15. #container {
  16. width: 100%;
  17. position: absolute;
  18. top: 0;
  19. }
  20. .row { max-width: 800px; margin: auto; text-align: justify; }
  21. .row h1 { font-size: 3em; margin-top: 50px; }
  22. .row p { padding: 0 10px; max-width: 700px; }
  23. .row h3,ul { margin: 4px 8px;}
  24. .hmarg {
  25. margin: 0 20px;
  26. border: 1px solid #3498DB;
  27. padding: 4px 10px;
  28. }
  29. a:link.hmarg { color: #3498DB; }
  30. a:visited.hmarg { color: #3498DB; }
  31. a:active.hmarg { color: #3498DB; }
  32. a:hover.hmarg { color: #3498DB; }
  33. .top_margin { margin-top: 60px; }
  34. .center { text-align: center; }
  35. h1 { font-size: 5em; }
  36. div.title { background: url('/static/img/searx.png') no-repeat; width: 100%; background-position: center; }
  37. div.title h1 { visibility: hidden; }
  38. input[type="submit"] { border: 1px solid #666666; color: #444444; padding: 4px; background-color: #FFFFFF; margin-left: 8px; }
  39. input[type="checkbox"] { visibility: hidden; }
  40. #categories { margin: 0 10px; }
  41. .checkbox_container { display: inline-block; position: relative; margin: 0 3px; padding: 0px; }
  42. .checkbox_container input {
  43. display: none;
  44. }
  45. .checkbox_container label {
  46. cursor: pointer;
  47. padding: 4px 10px;
  48. margin: 0;
  49. display: block;
  50. text-transform: capitalize;
  51. -webkit-touch-callout: none;
  52. -webkit-user-select: none;
  53. -khtml-user-select: none;
  54. -moz-user-select: none;
  55. -ms-user-select: none;
  56. user-select: none;
  57. }
  58. .checkbox_container input[type="checkbox"]:checked + label { background: #3498DB; color: #FFFFFF; }
  59. .search .checkbox_container label { border-bottom: 4px solid #e8e7e6; }
  60. .search .checkbox_container label:hover { border-bottom: 4px solid #3498DB; }
  61. .search .checkbox_container input[type="checkbox"]:checked + label { border-bottom: 4px solid #2980B9; }
  62. a { text-decoration: none; color: #1a11be; }
  63. a:visited { color: #7b11be; }
  64. .result { margin: 19px 0 18px 0; padding: 0; max-width: 55em; clear: both; }
  65. .result:hover { background: #e8e7e6; }
  66. .result_title { margin-bottom: 0; }
  67. .result h3 { font-size: 1em; word-wrap:break-word; margin: 5px 0 1px 0; padding: 0 }
  68. .result .content { font-size: 0.8em; margin: 0; padding: 0; max-width: 54em; word-wrap:break-word; line-height: 1.24; }
  69. .result .url { font-size: 0.8em; margin: 3px 0 0 0; padding: 0; max-width: 54em; word-wrap:break-word; color: #2e1c0b; }
  70. .q { width: 30em; }
  71. .engines { color: #888888; }
  72. .small_font { font-size: 0.8em; }
  73. .small p { margin: 2px 0; }
  74. .search { background: #ECF0F1; padding: 0; margin: 0 }
  75. .right { float: right; }
  76. .invisible { display: none; }
  77. .left { float: left; }
  78. .image_result { float: left; margin: 10px 10px; position: relative; height: 160px;}
  79. .image_result img { border: 0; height: 160px;}
  80. .image_result p { margin: 0; padding: 0; }
  81. .image_result p span a { display: none; }
  82. .image_result p span a { color: #FFFFFF; }
  83. .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; }
  84. .torrent_result { border-left: 10px solid lightgray; padding-left: 3px; }
  85. .torrent_result p { margin: 3px; font-size: 0.8em; }
  86. .definition_result { border-left: 10px solid gray; padding-left: 3px; }
  87. .percentage { position: relative; width: 300px; }
  88. .percentage div { background: #444444; }
  89. td { padding: 0 4px; }
  90. tr:hover td { background: #DDDDDD; }
  91. #search_wrapper { position: relative; max-width: 600px; padding: 10px; }
  92. .center #search_wrapper { margin-left: auto; margin-right: auto; }
  93. .q {
  94. background: none repeat scroll 0 0 #FFFFFF;
  95. border: 1px solid #3498DB;
  96. color: #222222;
  97. font-size: 16px;
  98. height: 28px;
  99. margin: 0;
  100. outline: medium none;
  101. padding: 4px;
  102. padding-left: 8px;
  103. padding-right: 0px !important;
  104. width: 100%;
  105. z-index: 2;
  106. }
  107. #search_submit {
  108. position: absolute;
  109. top: 15px;
  110. right: 4px;
  111. padding: 0;
  112. border: 0;
  113. background: url('/static/img/search-icon.png') no-repeat;
  114. background-size: 28px 28px;
  115. opacity: 0.8;
  116. width: 28px;
  117. height: 30px;
  118. }
  119. #results { margin: 10px; padding: 0; }
  120. #result_count { font-size: 0.8em; margin: 2px 0 2px 0; padding: 0 }
  121. #suggestions { position: absolute; left: 54em; width: 12em; margin: 0 2px 5px 5px; padding: 0 2px 2px 2px; }
  122. #suggestions span { display: block; font-size: 0.8em; margin: 0 2px 10px 2px; padding: 0; }
  123. #suggestions form { display: block; }
  124. #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; }
  125. #preferences {
  126. top: 10px;
  127. padding: 0;
  128. border: 0;
  129. background: url('/static/img/preference-icon.png') no-repeat;
  130. background-size: 28px 28px;
  131. opacity: 0.8;
  132. width: 28px;
  133. height: 30px;
  134. display: block;
  135. }
  136. #preferences * {
  137. display: none;
  138. }
  139. #apis {
  140. clear: both;
  141. }
  142. @media screen and (max-width: 60em) {
  143. #suggestions { position: static; max-width: 50em; margin: 0 0 2px 0; padding: 0; float: none; border: none; width: auto }
  144. #suggestions span { display: inline; font-size: 0.8em }
  145. #suggestions form { display: inline; }
  146. #suggestions input { padding: 2px 6px; margin: 2px 4px; font-size: 0.8em; display: inline-block; border-radius: 4px; border: 0; cursor: pointer; }
  147. }
  148. @media screen and (max-width: 680px) {
  149. #search_wrapper { width: 90%; clear:both; overflow: hidden }
  150. .right { display: none; postion: fixed !important; top: 100px; right: 0px; }
  151. #categories { font-size: 80%; clear: both; }
  152. #categories .checkbox_container { margin-top: 2px; margin: 0 2px; }
  153. .checkbox_container { display: block; width: 100%; float: left; }
  154. .checkbox_container label { border-bottom: 0; }
  155. .result { border-top: 1px solid #e8e7e6; margin: 7px 0 6px 0; }
  156. .result img { max-width: 90%; width: auto; height: auto }
  157. }