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