pointhi.css 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562
  1. html {
  2. position: relative;
  3. min-height: 100%;
  4. }
  5. body {
  6. /* Margin bottom by footer height */
  7. margin-bottom: 80px;
  8. }
  9. .footer {
  10. position: absolute;
  11. bottom: 0;
  12. width: 100%;
  13. /* Set the fixed height of the footer here */
  14. height: 60px;
  15. }
  16. input[type=checkbox]:checked + .label_hide_if_checked,
  17. input[type=checkbox]:checked + .label_hide_if_not_checked + .label_hide_if_checked {
  18. display: none;
  19. }
  20. input[type=checkbox]:not(:checked) + .label_hide_if_not_checked,
  21. input[type=checkbox]:not(:checked) + .label_hide_if_checked + .label_hide_if_not_checked {
  22. display: none;
  23. }
  24. .onoff-checkbox {
  25. width: 15%;
  26. }
  27. .onoffswitch {
  28. position: relative;
  29. width: 110px;
  30. -webkit-user-select: none;
  31. -moz-user-select: none;
  32. -ms-user-select: none;
  33. }
  34. .onoffswitch-checkbox {
  35. display: none;
  36. }
  37. .onoffswitch-label {
  38. display: block;
  39. overflow: hidden;
  40. cursor: pointer;
  41. border: 2px solid #FFFFFF !important;
  42. border-radius: 50px !important;
  43. }
  44. .onoffswitch-inner {
  45. display: block;
  46. transition: margin 0.3s ease-in 0s;
  47. }
  48. .onoffswitch-inner:before,
  49. .onoffswitch-inner:after {
  50. display: block;
  51. float: left;
  52. width: 50%;
  53. height: 30px;
  54. padding: 0;
  55. line-height: 40px;
  56. font-size: 20px;
  57. box-sizing: border-box;
  58. content: "";
  59. background-color: #EEEEEE;
  60. }
  61. .onoffswitch-switch {
  62. display: block;
  63. width: 37px;
  64. background-color: #00CC00;
  65. position: absolute;
  66. top: 0;
  67. bottom: 0;
  68. right: 0px;
  69. border: 2px solid #FFFFFF !important;
  70. border-radius: 50px !important;
  71. transition: all 0.3s ease-in 0s;
  72. }
  73. .onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
  74. margin-right: 0;
  75. }
  76. .onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
  77. right: 71px;
  78. background-color: #A1A1A1;
  79. }
  80. .result_header {
  81. margin-bottom: 5px;
  82. margin-top: 20px;
  83. }
  84. .result_header .favicon {
  85. margin-bottom: -3px;
  86. }
  87. .result_header a {
  88. vertical-align: bottom;
  89. }
  90. .result_header a .highlight {
  91. font-weight: bold;
  92. }
  93. .result-content {
  94. margin-top: 5px;
  95. word-wrap: break-word;
  96. }
  97. .result-content .highlight {
  98. font-weight: bold;
  99. }
  100. .result-default {
  101. clear: both;
  102. }
  103. .result-images {
  104. float: left !important;
  105. height: 138px;
  106. }
  107. .img-thumbnail {
  108. margin: 5px;
  109. max-height: 128px;
  110. }
  111. .result-videos {
  112. clear: both;
  113. }
  114. .result-torrents {
  115. clear: both;
  116. }
  117. .result-map {
  118. clear: both;
  119. }
  120. .result-code {
  121. clear: both;
  122. }
  123. .suggestion_item {
  124. margin: 2px 5px;
  125. max-width: 100%;
  126. }
  127. .suggestion_item .btn {
  128. max-width: 100%;
  129. white-space: normal;
  130. word-wrap: break-word;
  131. text-align: left;
  132. }
  133. .result_download {
  134. margin-right: 5px;
  135. }
  136. #pagination {
  137. margin-top: 30px;
  138. padding-bottom: 50px;
  139. }
  140. .label-default {
  141. color: #AAA;
  142. background: #FFF;
  143. }
  144. .result .text-muted small {
  145. word-wrap: break-word;
  146. }
  147. .modal-wrapper {
  148. box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  149. }
  150. .modal-wrapper {
  151. background-clip: padding-box;
  152. background-color: #fff;
  153. border: 1px solid rgba(0, 0, 0, 0.2);
  154. border-radius: 6px;
  155. box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  156. outline: 0 none;
  157. position: relative;
  158. }
  159. .infobox .infobox_part {
  160. margin-bottom: 20px;
  161. word-wrap: break-word;
  162. table-layout: fixed;
  163. }
  164. .infobox .infobox_part:last-child {
  165. margin-bottom: 0;
  166. }
  167. .search_categories,
  168. #categories {
  169. text-transform: capitalize;
  170. margin-bottom: 1.5rem;
  171. margin-top: 1.5rem;
  172. display: flex;
  173. flex-wrap: wrap;
  174. align-content: stretch;
  175. }
  176. .search_categories label,
  177. #categories label,
  178. .search_categories .input-group-addon,
  179. #categories .input-group-addon {
  180. flex-grow: 1;
  181. flex-basis: auto;
  182. font-size: 1.3rem;
  183. font-weight: normal;
  184. background-color: white;
  185. border: #DDD 1px solid;
  186. border-right: none;
  187. color: #333;
  188. padding-bottom: 0.8rem;
  189. padding-top: 0.8rem;
  190. text-align: center;
  191. min-width: 50px;
  192. }
  193. .search_categories label:last-child,
  194. #categories label:last-child,
  195. .search_categories .input-group-addon:last-child,
  196. #categories .input-group-addon:last-child {
  197. border-right: #DDD 1px solid;
  198. }
  199. .search_categories input[type="checkbox"]:checked + label,
  200. #categories input[type="checkbox"]:checked + label {
  201. color: black;
  202. font-weight: bold;
  203. background-color: #EEE;
  204. }
  205. #advanced-search-container {
  206. display: none;
  207. text-align: center;
  208. margin-bottom: 1rem;
  209. clear: both;
  210. }
  211. #advanced-search-container label,
  212. #advanced-search-container .input-group-addon {
  213. font-size: 1.3rem;
  214. font-weight: normal;
  215. background-color: white;
  216. border: #DDD 1px solid;
  217. border-right: none;
  218. color: #333;
  219. padding-bottom: 0.8rem;
  220. padding-left: 1.2rem;
  221. padding-right: 1.2rem;
  222. }
  223. #advanced-search-container label:last-child,
  224. #advanced-search-container .input-group-addon:last-child {
  225. border-right: #DDD 1px solid;
  226. }
  227. #advanced-search-container input[type="radio"] {
  228. display: none;
  229. }
  230. #advanced-search-container input[type="radio"]:checked + label {
  231. color: black;
  232. font-weight: bold;
  233. background-color: #EEE;
  234. }
  235. #check-advanced {
  236. display: none;
  237. }
  238. #check-advanced:checked ~ #advanced-search-container {
  239. display: block;
  240. }
  241. .advanced {
  242. padding: 0;
  243. margin-top: 0.3rem;
  244. text-align: right;
  245. }
  246. .advanced label,
  247. .advanced select {
  248. cursor: pointer;
  249. }
  250. .cursor-text {
  251. cursor: text !important;
  252. }
  253. .cursor-pointer {
  254. cursor: pointer !important;
  255. }
  256. .highlight .hll {
  257. background-color: #ffffcc;
  258. }
  259. .highlight {
  260. background: #f8f8f8;
  261. }
  262. .highlight .c {
  263. color: #408080;
  264. font-style: italic;
  265. }
  266. /* Comment */
  267. .highlight .err {
  268. border: 1px solid #ff0000;
  269. }
  270. /* Error */
  271. .highlight .k {
  272. color: #008000;
  273. font-weight: bold;
  274. }
  275. /* Keyword */
  276. .highlight .o {
  277. color: #666666;
  278. }
  279. /* Operator */
  280. .highlight .cm {
  281. color: #408080;
  282. font-style: italic;
  283. }
  284. /* Comment.Multiline */
  285. .highlight .cp {
  286. color: #bc7a00;
  287. }
  288. /* Comment.Preproc */
  289. .highlight .c1 {
  290. color: #408080;
  291. font-style: italic;
  292. }
  293. /* Comment.Single */
  294. .highlight .cs {
  295. color: #408080;
  296. font-style: italic;
  297. }
  298. /* Comment.Special */
  299. .highlight .gd {
  300. color: #a00000;
  301. }
  302. /* Generic.Deleted */
  303. .highlight .ge {
  304. font-style: italic;
  305. }
  306. /* Generic.Emph */
  307. .highlight .gr {
  308. color: #ff0000;
  309. }
  310. /* Generic.Error */
  311. .highlight .gh {
  312. color: #000080;
  313. font-weight: bold;
  314. }
  315. /* Generic.Heading */
  316. .highlight .gi {
  317. color: #00a000;
  318. }
  319. /* Generic.Inserted */
  320. .highlight .go {
  321. color: #888888;
  322. }
  323. /* Generic.Output */
  324. .highlight .gp {
  325. color: #000080;
  326. font-weight: bold;
  327. }
  328. /* Generic.Prompt */
  329. .highlight .gs {
  330. font-weight: bold;
  331. }
  332. /* Generic.Strong */
  333. .highlight .gu {
  334. color: #800080;
  335. font-weight: bold;
  336. }
  337. /* Generic.Subheading */
  338. .highlight .gt {
  339. color: #0044dd;
  340. }
  341. /* Generic.Traceback */
  342. .highlight .kc {
  343. color: #008000;
  344. font-weight: bold;
  345. }
  346. /* Keyword.Constant */
  347. .highlight .kd {
  348. color: #008000;
  349. font-weight: bold;
  350. }
  351. /* Keyword.Declaration */
  352. .highlight .kn {
  353. color: #008000;
  354. font-weight: bold;
  355. }
  356. /* Keyword.Namespace */
  357. .highlight .kp {
  358. color: #008000;
  359. }
  360. /* Keyword.Pseudo */
  361. .highlight .kr {
  362. color: #008000;
  363. font-weight: bold;
  364. }
  365. /* Keyword.Reserved */
  366. .highlight .kt {
  367. color: #b00040;
  368. }
  369. /* Keyword.Type */
  370. .highlight .m {
  371. color: #666666;
  372. }
  373. /* Literal.Number */
  374. .highlight .s {
  375. color: #ba2121;
  376. }
  377. /* Literal.String */
  378. .highlight .na {
  379. color: #7d9029;
  380. }
  381. /* Name.Attribute */
  382. .highlight .nb {
  383. color: #008000;
  384. }
  385. /* Name.Builtin */
  386. .highlight .nc {
  387. color: #0000FF;
  388. font-weight: bold;
  389. }
  390. /* Name.Class */
  391. .highlight .no {
  392. color: #880000;
  393. }
  394. /* Name.Constant */
  395. .highlight .nd {
  396. color: #aa22ff;
  397. }
  398. /* Name.Decorator */
  399. .highlight .ni {
  400. color: #999999;
  401. font-weight: bold;
  402. }
  403. /* Name.Entity */
  404. .highlight .ne {
  405. color: #D2413A;
  406. font-weight: bold;
  407. }
  408. /* Name.Exception */
  409. .highlight .nf {
  410. color: #0000ff;
  411. }
  412. /* Name.Function */
  413. .highlight .nl {
  414. color: #a0a000;
  415. }
  416. /* Name.Label */
  417. .highlight .nn {
  418. color: #0000FF;
  419. font-weight: bold;
  420. }
  421. /* Name.Namespace */
  422. .highlight .nt {
  423. color: #008000;
  424. font-weight: bold;
  425. }
  426. /* Name.Tag */
  427. .highlight .nv {
  428. color: #19177c;
  429. }
  430. /* Name.Variable */
  431. .highlight .ow {
  432. color: #AA22FF;
  433. font-weight: bold;
  434. }
  435. /* Operator.Word */
  436. .highlight .w {
  437. color: #bbbbbb;
  438. }
  439. /* Text.Whitespace */
  440. .highlight .mf {
  441. color: #666666;
  442. }
  443. /* Literal.Number.Float */
  444. .highlight .mh {
  445. color: #666666;
  446. }
  447. /* Literal.Number.Hex */
  448. .highlight .mi {
  449. color: #666666;
  450. }
  451. /* Literal.Number.Integer */
  452. .highlight .mo {
  453. color: #666666;
  454. }
  455. /* Literal.Number.Oct */
  456. .highlight .sb {
  457. color: #ba2121;
  458. }
  459. /* Literal.String.Backtick */
  460. .highlight .sc {
  461. color: #ba2121;
  462. }
  463. /* Literal.String.Char */
  464. .highlight .sd {
  465. color: #BA2121;
  466. font-style: italic;
  467. }
  468. /* Literal.String.Doc */
  469. .highlight .s2 {
  470. color: #ba2121;
  471. }
  472. /* Literal.String.Double */
  473. .highlight .se {
  474. color: #BB6622;
  475. font-weight: bold;
  476. }
  477. /* Literal.String.Escape */
  478. .highlight .sh {
  479. color: #ba2121;
  480. }
  481. /* Literal.String.Heredoc */
  482. .highlight .si {
  483. color: #BB6688;
  484. font-weight: bold;
  485. }
  486. /* Literal.String.Interpol */
  487. .highlight .sx {
  488. color: #008000;
  489. }
  490. /* Literal.String.Other */
  491. .highlight .sr {
  492. color: #bb6688;
  493. }
  494. /* Literal.String.Regex */
  495. .highlight .s1 {
  496. color: #ba2121;
  497. }
  498. /* Literal.String.Single */
  499. .highlight .ss {
  500. color: #19177c;
  501. }
  502. /* Literal.String.Symbol */
  503. .highlight .bp {
  504. color: #008000;
  505. }
  506. /* Name.Builtin.Pseudo */
  507. .highlight .vc {
  508. color: #19177c;
  509. }
  510. /* Name.Variable.Class */
  511. .highlight .vg {
  512. color: #19177c;
  513. }
  514. /* Name.Variable.Global */
  515. .highlight .vi {
  516. color: #19177c;
  517. }
  518. /* Name.Variable.Instance */
  519. .highlight .il {
  520. color: #666666;
  521. }
  522. /* Literal.Number.Integer.Long */
  523. .highlight .lineno {
  524. -webkit-touch-callout: none;
  525. -webkit-user-select: none;
  526. -khtml-user-select: none;
  527. -moz-user-select: none;
  528. -ms-user-select: none;
  529. user-select: none;
  530. cursor: default;
  531. }
  532. .highlight .lineno::selection {
  533. background: transparent;
  534. /* WebKit/Blink Browsers */
  535. }
  536. .highlight .lineno::-moz-selection {
  537. background: transparent;
  538. /* Gecko Browsers */
  539. }
  540. .searx-navbar {
  541. background: #eee;
  542. color: #aaa;
  543. height: 2.3rem;
  544. font-size: 1.3rem;
  545. line-height: 1.3rem;
  546. padding: 0.5rem;
  547. font-weight: bold;
  548. margin-bottom: 1.3rem;
  549. }
  550. .searx-navbar a,
  551. .searx-navbar a:hover {
  552. margin-right: 2.0rem;
  553. text-decoration: none;
  554. }
  555. .searx-navbar .instance a {
  556. color: #444;
  557. margin-left: 2.0rem;
  558. }
  559. .table > tbody > tr > td,
  560. .table > tbody > tr > th {
  561. vertical-align: middle !important;
  562. }