style.css 3.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. html {
  2. font-family: sans-serif;
  3. font-size: 0.9em;
  4. -webkit-text-size-adjust: 100%;
  5. -ms-text-size-adjust: 100%;
  6. color: #444444;
  7. }
  8. .row { max-width: 800px; margin: auto; text-align: justify; }
  9. .row h1 { font-size: 3em; margin-top: 50px; }
  10. .row p { padding: 0 10px; max-width: 700px; }
  11. .row h3,ul { margin: 4px 8px;}
  12. .hmarg { margin: 0 20px; }
  13. .top_margin { margin-top: 60px; }
  14. .center { text-align: center; }
  15. h1 { font-size: 5em; }
  16. div.title { background: url('/static/img/searx.png') no-repeat; width: 100%; background-position: center; }
  17. div.title h1 { visibility: hidden; }
  18. input[type="submit"] { border: 1px solid #666666; color: #444444; padding: 4px; background-color: #FFFFFF; margin-left: 8px; }
  19. input[type="checkbox"] { visibility: hidden; }
  20. .checkbox_container { display: inline-block; position: relative; padding-left: 3px; margin: 0 10px; }
  21. .checkbox_container label {
  22. cursor: pointer;
  23. }
  24. .checkbox_container label.cb {
  25. position: absolute;
  26. width: 16px;
  27. height: 16px;
  28. top: 2px;
  29. left: 2px;
  30. background: #eee;
  31. border:1px solid #ddd;
  32. }
  33. .checkbox_container label.cb:after {
  34. opacity: 0.2;
  35. content: '';
  36. position: absolute;
  37. width: 8px;
  38. height: 4px;
  39. background: transparent;
  40. top: 3px;
  41. left: 3px;
  42. border: 3px solid #333;
  43. border-top: none;
  44. border-right: none;
  45. -webkit-transform: rotate(-45deg);
  46. -moz-transform: rotate(-45deg);
  47. -o-transform: rotate(-45deg);
  48. -ms-transform: rotate(-45deg);
  49. transform: rotate(-45deg);
  50. }
  51. .checkbox_container label.cb:hover:after {
  52. opacity: 0.5;
  53. }
  54. .checkbox_container input[type=checkbox]:checked + label.cb:after {
  55. opacity: 1;
  56. }
  57. a { text-decoration: none; }
  58. .result { margin-bottom: 16px; clear: both; }
  59. .result_title { margin-bottom: 0; }
  60. .result p { margin-top: 0; padding-top: 0; font-size: 0.8em; max-width: 54em; }
  61. .result h3 { font-size: 0.9em;}
  62. .result { max-width: 70em; }
  63. .url { font-weight: bold; word-wrap:break-word; }
  64. .q { width: 30em; }
  65. .engines { color: #888888; }
  66. .small_font { font-size: 0.8em; }
  67. .small p { margin: 2px 0; }
  68. .right { float: right; }
  69. .invisible { display: none; }
  70. .left { float: left; }
  71. .image_result { float: left; margin: 10px 10px; position: relative; height: 160px;}
  72. .image_result img { border: 0; height: 160px;}
  73. .image_result p { margin: 0; padding: 0; }
  74. .image_result p span a { display: none; }
  75. .image_result p span a { color: #FFFFFF; }
  76. .image_result p:hover span a { display: block; position: absolute; bottom: 0; right: 0; padding: 4px; background-color: rgba(0, 0, 0, 0.6); font-size: 0.7em; }
  77. .percentage { position: relative; width: 300px; }
  78. .percentage div { background: #444444; }
  79. td { padding: 0 4px; }
  80. tr:hover td { background: #DDDDDD; }
  81. #search_wrapper { position: relative; max-width: 600px; margin: 10px; }
  82. .center #search_wrapper { margin-left: auto; margin-right: auto; }
  83. .q {
  84. background: none repeat scroll 0 0 #FFFFFF;
  85. border: 1px solid #8D8D8D;
  86. border-radius: 3px;
  87. box-shadow: 1px 1px 2px #999999 inset;
  88. color: #222222;
  89. font-size: 16px;
  90. height: 28px;
  91. margin: 0;
  92. outline: medium none;
  93. padding: 4px;
  94. padding-left: 8px;
  95. padding-right: 0px !important;
  96. width: 100%;
  97. z-index: 2;
  98. }
  99. #search_submit {
  100. position: absolute;
  101. top: 5px;
  102. right: 0px;
  103. padding: 0;
  104. border: 0;
  105. background: url('/static/img/search-icon.png') no-repeat;
  106. background-size: 28px 28px;
  107. opacity: 0.8;
  108. width: 28px;
  109. height: 30px;
  110. }
  111. #results { margin-left: 10px; margin-top: 10px; }
  112. #suggestions { max-width: 50em;}
  113. #suggestions form { display: inline; }
  114. #suggestions input { padding: 2px 6px; margin: 2px 4px; font-size: 0.8em; display: inline-block; background: #E4E4E4; border-radius: 4px; border: 0; cursor: pointer; }
  115. @media screen and (max-width: 740px) {
  116. .right { margin: 5px; }
  117. #search_wrapper { max-width: 90%; clear:both }
  118. }