style.css 3.7 KB

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