logo

searx

My custom branche(s) on searx, a meta-search engine git clone https://hacktivis.me/git/searx.git

searx.css (4002B)


  1. html, body {
  2. background-color: #002b36;
  3. color: #839496;
  4. }
  5. #main, #main_results {
  6. display: table;
  7. margin: auto;
  8. }
  9. #search {
  10. display: flex;
  11. margin: auto 15%;
  12. flex-direction: column;
  13. max-width: 80em;
  14. }
  15. #search > * {
  16. display: flex;
  17. flex-direction: row;
  18. /* width: 100%; */
  19. }
  20. #search > * > * {
  21. flex: auto;
  22. margin: .1em .5em;
  23. }
  24. #search #safesearch, #search #send_search {
  25. flex: 1;
  26. }
  27. #search #q {
  28. flex: 4;
  29. min-width: 30ch;
  30. }
  31. #results {
  32. margin: 0 2em;
  33. }
  34. #pagination_prev {
  35. float: left;
  36. }
  37. #pagination_next {
  38. float: right;
  39. }
  40. code, pre {
  41. font-family: monospace;
  42. background: #073642;
  43. word-break: break-all;
  44. word-wrap: break-word;
  45. }
  46. #linkto_preferences {
  47. position: absolute;
  48. font-size: x-large;
  49. }
  50. header {
  51. font-size: xx-large;
  52. color: #3498DB;
  53. font-weight: bold;
  54. }
  55. footer, header {
  56. margin: .5em;
  57. text-align: center;
  58. vertical-align: center;
  59. clear: both;
  60. }
  61. a {
  62. color: #3498DB;
  63. text-decoration: none;
  64. }
  65. input, button, select {
  66. padding: .10em .25em;
  67. margin: 0;
  68. border: 0;
  69. border-radius: .25em;
  70. background: #073642;
  71. color: unset;
  72. display: inline-table;
  73. }
  74. input[type=submit], button {
  75. cursor: pointer;
  76. }
  77. a {
  78. color: #3498DB;
  79. }
  80. p {
  81. max-width: 80em;
  82. margin: 0;
  83. }
  84. #sidebar {
  85. float: right;
  86. min-width: 25ch;
  87. max-width: 50ch;
  88. margin-left: .5em;
  89. padding-left: .5em;
  90. border-left: 1pt solid;
  91. }
  92. #sidebar p, #suggestions {
  93. max-width: 60em;
  94. }
  95. aside.infobox img {
  96. display: inline-table;
  97. float: left;
  98. margin-right: 1em;
  99. }
  100. #suggestions form {
  101. display: inline;
  102. }
  103. dt, dd {
  104. display: inline-table;
  105. }
  106. dd {
  107. margin-inline-start: 0.5em;
  108. }
  109. dl {margin: 0;}
  110. #categories div {
  111. display: inline-block;
  112. }
  113. #search_main, #search_filters {
  114. display: flex;
  115. }
  116. .highlight {
  117. text-decoration-line: underline;
  118. }
  119. .tabs input[type=radio], #categories input {display: none;}
  120. .tabs input[type=radio]:checked + label, #categories input:checked + label {
  121. background: #3498DB;
  122. color: #000;
  123. }
  124. .tabs label, #categories label {
  125. padding: 0 1em;
  126. margin: 0 .5em;
  127. flex-grow: 1;
  128. display: block;
  129. text-align: center;
  130. }
  131. #apis div {
  132. display: inline-block;
  133. }
  134. .engines, .url {
  135. display: inline-block;
  136. }
  137. .engines span, .url a, .url span {
  138. margin: 0 .25em;
  139. }
  140. /*images*/
  141. .result-images, .result-videos {
  142. display: inline-block;
  143. position: relative;
  144. vertical-align: middle;
  145. }
  146. .result-images img, .result-videos img {
  147. min-width: 5em;
  148. min-height: 5em;
  149. max-width: 250px;
  150. max-height: 250px;
  151. }
  152. img {
  153. background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAAAAACoWZBhAAAABGdBTUEAALGPC/xhBQAAAAJiS0dEAP+Hj8y/AAAAB3RJTUUH3wwIAAgyL/YaPAAAACJJREFUCFtjfMbOAAQ/gZiFnQPEBAEmGIMIJgtIL8QEgtoAIn4D/96X1KAAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTUtMTItMDhUMDA6MDg6NTArMDM6MDAasuuJAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDE1LTEyLTA4VDAwOjA4OjUwKzAzOjAwa+9TNQAAAABJRU5ErkJggg==") repeat scroll #fff; /* taken from uMatrix */
  154. }
  155. .result-images span a, .result-videos span a {
  156. display: none;
  157. color: #FFF;
  158. position: absolute;
  159. bottom: 0;
  160. right: 0;
  161. }
  162. .result-images:hover span a, .result-videos:hover span a {
  163. display: block;
  164. padding: .25em;
  165. background-color: rgba(0,0,0,.6);
  166. }
  167. .category-social img {
  168. float: left;
  169. margin: .5em;
  170. }
  171. .category-social {
  172. display: table;
  173. }
  174. .category-social h3 {
  175. margin: 0;
  176. }
  177. /* Preferences */
  178. .tabs {
  179. display: flex;
  180. flex-wrap: wrap;
  181. width: 100%;
  182. min-width: 100%;
  183. }
  184. .tabs > * { order: 2; }
  185. .tabs > label {
  186. order: 1;
  187. border-bottom: 2px solid #084999;
  188. }
  189. .tabs > section {
  190. display: none;
  191. min-width: 100%;
  192. }
  193. .tabs > input:checked + label + section {
  194. display: unset;
  195. }
  196. .tabs>input:checked~section {
  197. display: none;
  198. }
  199. .dialog-error strong {
  200. color: orange;
  201. }
  202. #main_stats .left {
  203. float: left;
  204. }
  205. /* When the device isn’t large enough */
  206. @media (max-width: 69ch) {
  207. #search > * {
  208. flex-direction: column !important;
  209. }
  210. #search > * > * {
  211. margin: .2em 0;
  212. }
  213. #send_search {
  214. order: 1;
  215. margin-bottom: .75em;
  216. }
  217. #q {
  218. order: 2;
  219. }
  220. #safesearch {
  221. order: 3;
  222. }
  223. }