style.css 3.8KB

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