pointhi.css 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582
  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 img {
  160. max-height: 250px;
  161. }
  162. .infobox .infobox_part {
  163. margin-bottom: 20px;
  164. word-wrap: break-word;
  165. table-layout: fixed;
  166. }
  167. .infobox .infobox_part:last-child {
  168. margin-bottom: 0;
  169. }
  170. .infobox .header_url {
  171. white-space: nowrap;
  172. overflow: hidden;
  173. text-overflow: ellipsis;
  174. display: block;
  175. }
  176. .search_categories,
  177. #categories {
  178. text-transform: capitalize;
  179. margin-bottom: 1.5rem;
  180. margin-top: 1.5rem;
  181. display: flex;
  182. flex-wrap: wrap;
  183. align-content: stretch;
  184. }
  185. .search_categories label,
  186. #categories label,
  187. .search_categories .input-group-addon,
  188. #categories .input-group-addon {
  189. flex-grow: 1;
  190. flex-basis: auto;
  191. font-size: 1.3rem;
  192. font-weight: normal;
  193. background-color: white;
  194. border: #DDD 1px solid;
  195. border-right: none;
  196. color: #333;
  197. padding-bottom: 0.8rem;
  198. padding-top: 0.8rem;
  199. text-align: center;
  200. min-width: 50px;
  201. }
  202. .search_categories label:last-child,
  203. #categories label:last-child,
  204. .search_categories .input-group-addon:last-child,
  205. #categories .input-group-addon:last-child {
  206. border-right: #DDD 1px solid;
  207. }
  208. .search_categories input[type="checkbox"]:checked + label,
  209. #categories input[type="checkbox"]:checked + label {
  210. color: black;
  211. font-weight: bold;
  212. background-color: #EEE;
  213. }
  214. .visually-hidden {
  215. position: absolute !important;
  216. height: 1px;
  217. width: 1px;
  218. overflow: hidden;
  219. clip: rect(1px 1px 1px 1px);
  220. /* IE6, IE7 */
  221. clip: rect(1px, 1px, 1px, 1px);
  222. white-space: nowrap;
  223. /* added line */
  224. }
  225. #advanced-search-container {
  226. display: none;
  227. text-align: center;
  228. margin-bottom: 1rem;
  229. clear: both;
  230. }
  231. #advanced-search-container label,
  232. #advanced-search-container .input-group-addon {
  233. font-size: 1.3rem;
  234. font-weight: normal;
  235. background-color: white;
  236. border: #DDD 1px solid;
  237. border-right: none;
  238. color: #333;
  239. padding-bottom: 0.8rem;
  240. padding-left: 1.2rem;
  241. padding-right: 1.2rem;
  242. }
  243. #advanced-search-container label:last-child,
  244. #advanced-search-container .input-group-addon:last-child {
  245. border-right: #DDD 1px solid;
  246. }
  247. #advanced-search-container input[type="radio"] {
  248. display: none;
  249. }
  250. #advanced-search-container input[type="radio"]:checked + label {
  251. color: black;
  252. font-weight: bold;
  253. background-color: #EEE;
  254. }
  255. #check-advanced {
  256. display: none;
  257. }
  258. #check-advanced:checked ~ #advanced-search-container {
  259. display: block;
  260. }
  261. .advanced {
  262. padding: 0;
  263. margin-top: 0.3rem;
  264. text-align: right;
  265. }
  266. .advanced label,
  267. .advanced select {
  268. cursor: pointer;
  269. }
  270. .cursor-text {
  271. cursor: text !important;
  272. }
  273. .cursor-pointer {
  274. cursor: pointer !important;
  275. }
  276. .highlight .hll {
  277. background-color: #ffffcc;
  278. }
  279. .highlight {
  280. background: #f8f8f8;
  281. }
  282. .highlight .c {
  283. color: #408080;
  284. font-style: italic;
  285. }
  286. /* Comment */
  287. .highlight .err {
  288. border: 1px solid #ff0000;
  289. }
  290. /* Error */
  291. .highlight .k {
  292. color: #008000;
  293. font-weight: bold;
  294. }
  295. /* Keyword */
  296. .highlight .o {
  297. color: #666666;
  298. }
  299. /* Operator */
  300. .highlight .cm {
  301. color: #408080;
  302. font-style: italic;
  303. }
  304. /* Comment.Multiline */
  305. .highlight .cp {
  306. color: #bc7a00;
  307. }
  308. /* Comment.Preproc */
  309. .highlight .c1 {
  310. color: #408080;
  311. font-style: italic;
  312. }
  313. /* Comment.Single */
  314. .highlight .cs {
  315. color: #408080;
  316. font-style: italic;
  317. }
  318. /* Comment.Special */
  319. .highlight .gd {
  320. color: #a00000;
  321. }
  322. /* Generic.Deleted */
  323. .highlight .ge {
  324. font-style: italic;
  325. }
  326. /* Generic.Emph */
  327. .highlight .gr {
  328. color: #ff0000;
  329. }
  330. /* Generic.Error */
  331. .highlight .gh {
  332. color: #000080;
  333. font-weight: bold;
  334. }
  335. /* Generic.Heading */
  336. .highlight .gi {
  337. color: #00a000;
  338. }
  339. /* Generic.Inserted */
  340. .highlight .go {
  341. color: #888888;
  342. }
  343. /* Generic.Output */
  344. .highlight .gp {
  345. color: #000080;
  346. font-weight: bold;
  347. }
  348. /* Generic.Prompt */
  349. .highlight .gs {
  350. font-weight: bold;
  351. }
  352. /* Generic.Strong */
  353. .highlight .gu {
  354. color: #800080;
  355. font-weight: bold;
  356. }
  357. /* Generic.Subheading */
  358. .highlight .gt {
  359. color: #0044dd;
  360. }
  361. /* Generic.Traceback */
  362. .highlight .kc {
  363. color: #008000;
  364. font-weight: bold;
  365. }
  366. /* Keyword.Constant */
  367. .highlight .kd {
  368. color: #008000;
  369. font-weight: bold;
  370. }
  371. /* Keyword.Declaration */
  372. .highlight .kn {
  373. color: #008000;
  374. font-weight: bold;
  375. }
  376. /* Keyword.Namespace */
  377. .highlight .kp {
  378. color: #008000;
  379. }
  380. /* Keyword.Pseudo */
  381. .highlight .kr {
  382. color: #008000;
  383. font-weight: bold;
  384. }
  385. /* Keyword.Reserved */
  386. .highlight .kt {
  387. color: #b00040;
  388. }
  389. /* Keyword.Type */
  390. .highlight .m {
  391. color: #666666;
  392. }
  393. /* Literal.Number */
  394. .highlight .s {
  395. color: #ba2121;
  396. }
  397. /* Literal.String */
  398. .highlight .na {
  399. color: #7d9029;
  400. }
  401. /* Name.Attribute */
  402. .highlight .nb {
  403. color: #008000;
  404. }
  405. /* Name.Builtin */
  406. .highlight .nc {
  407. color: #0000FF;
  408. font-weight: bold;
  409. }
  410. /* Name.Class */
  411. .highlight .no {
  412. color: #880000;
  413. }
  414. /* Name.Constant */
  415. .highlight .nd {
  416. color: #aa22ff;
  417. }
  418. /* Name.Decorator */
  419. .highlight .ni {
  420. color: #999999;
  421. font-weight: bold;
  422. }
  423. /* Name.Entity */
  424. .highlight .ne {
  425. color: #D2413A;
  426. font-weight: bold;
  427. }
  428. /* Name.Exception */
  429. .highlight .nf {
  430. color: #0000ff;
  431. }
  432. /* Name.Function */
  433. .highlight .nl {
  434. color: #a0a000;
  435. }
  436. /* Name.Label */
  437. .highlight .nn {
  438. color: #0000FF;
  439. font-weight: bold;
  440. }
  441. /* Name.Namespace */
  442. .highlight .nt {
  443. color: #008000;
  444. font-weight: bold;
  445. }
  446. /* Name.Tag */
  447. .highlight .nv {
  448. color: #19177c;
  449. }
  450. /* Name.Variable */
  451. .highlight .ow {
  452. color: #AA22FF;
  453. font-weight: bold;
  454. }
  455. /* Operator.Word */
  456. .highlight .w {
  457. color: #bbbbbb;
  458. }
  459. /* Text.Whitespace */
  460. .highlight .mf {
  461. color: #666666;
  462. }
  463. /* Literal.Number.Float */
  464. .highlight .mh {
  465. color: #666666;
  466. }
  467. /* Literal.Number.Hex */
  468. .highlight .mi {
  469. color: #666666;
  470. }
  471. /* Literal.Number.Integer */
  472. .highlight .mo {
  473. color: #666666;
  474. }
  475. /* Literal.Number.Oct */
  476. .highlight .sb {
  477. color: #ba2121;
  478. }
  479. /* Literal.String.Backtick */
  480. .highlight .sc {
  481. color: #ba2121;
  482. }
  483. /* Literal.String.Char */
  484. .highlight .sd {
  485. color: #BA2121;
  486. font-style: italic;
  487. }
  488. /* Literal.String.Doc */
  489. .highlight .s2 {
  490. color: #ba2121;
  491. }
  492. /* Literal.String.Double */
  493. .highlight .se {
  494. color: #BB6622;
  495. font-weight: bold;
  496. }
  497. /* Literal.String.Escape */
  498. .highlight .sh {
  499. color: #ba2121;
  500. }
  501. /* Literal.String.Heredoc */
  502. .highlight .si {
  503. color: #BB6688;
  504. font-weight: bold;
  505. }
  506. /* Literal.String.Interpol */
  507. .highlight .sx {
  508. color: #008000;
  509. }
  510. /* Literal.String.Other */
  511. .highlight .sr {
  512. color: #bb6688;
  513. }
  514. /* Literal.String.Regex */
  515. .highlight .s1 {
  516. color: #ba2121;
  517. }
  518. /* Literal.String.Single */
  519. .highlight .ss {
  520. color: #19177c;
  521. }
  522. /* Literal.String.Symbol */
  523. .highlight .bp {
  524. color: #008000;
  525. }
  526. /* Name.Builtin.Pseudo */
  527. .highlight .vc {
  528. color: #19177c;
  529. }
  530. /* Name.Variable.Class */
  531. .highlight .vg {
  532. color: #19177c;
  533. }
  534. /* Name.Variable.Global */
  535. .highlight .vi {
  536. color: #19177c;
  537. }
  538. /* Name.Variable.Instance */
  539. .highlight .il {
  540. color: #666666;
  541. }
  542. /* Literal.Number.Integer.Long */
  543. .highlight .lineno {
  544. -webkit-touch-callout: none;
  545. -webkit-user-select: none;
  546. -khtml-user-select: none;
  547. -moz-user-select: none;
  548. -ms-user-select: none;
  549. user-select: none;
  550. cursor: default;
  551. }
  552. .highlight .lineno::selection {
  553. background: transparent;
  554. /* WebKit/Blink Browsers */
  555. }
  556. .highlight .lineno::-moz-selection {
  557. background: transparent;
  558. /* Gecko Browsers */
  559. }
  560. .searx-navbar {
  561. background: #eee;
  562. color: #aaa;
  563. height: 2.3rem;
  564. font-size: 1.3rem;
  565. line-height: 1.3rem;
  566. padding: 0.5rem;
  567. font-weight: bold;
  568. margin-bottom: 1.3rem;
  569. }
  570. .searx-navbar a,
  571. .searx-navbar a:hover {
  572. margin-right: 2.0rem;
  573. text-decoration: none;
  574. }
  575. .searx-navbar .instance a {
  576. color: #444;
  577. margin-left: 2.0rem;
  578. }
  579. .table > tbody > tr > td,
  580. .table > tbody > tr > th {
  581. vertical-align: middle !important;
  582. }