pointhi.css 10 KB

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