pointhi.css 11 KB

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