styles.css 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328
  1. html {
  2. color: var(--main-fg);
  3. background-color: var(--main-bg);
  4. font-family: Arial, Helvetica, sans-serif;
  5. font-size: 16px;
  6. }
  7. input,
  8. button {
  9. outline: none;
  10. }
  11. button {
  12. cursor: pointer;
  13. }
  14. p {
  15. font-size:18px;
  16. color: var(--result-fg);
  17. }
  18. a,
  19. .text-result-wrapper a:hover {
  20. text-decoration: none;
  21. }
  22. .text-result-wrapper a:visited h2 {
  23. color: var(--alt-fg);
  24. }
  25. a:hover, .text-result-wrapper h2:hover {
  26. text-decoration: underline;
  27. }
  28. .search-container {
  29. text-align: center;
  30. margin-top:15%;
  31. }
  32. .search-container h1 {
  33. font-size: 70px;
  34. }
  35. .search-container input,
  36. .sub-search-container input {
  37. width: 500px;
  38. color: inherit;
  39. background-color: inherit;
  40. padding: 10px;
  41. font-size: inherit;
  42. font-family: inherit;
  43. border: 1px solid #5f6368;
  44. border-radius: 25px;
  45. }
  46. .search-button-wrapper button,
  47. .misc-container button,
  48. .misc-container select {
  49. color: inherit;
  50. background-color: var(--button-bg);
  51. font-size: 14px;
  52. border: none;
  53. border-radius: 4px;
  54. padding: 13px 10px 13px 10px;
  55. }
  56. .search-button-wrapper button {
  57. margin: 30px 60px 0px 60px;
  58. }
  59. .sub-search-container {
  60. margin: 2%;
  61. }
  62. .sub-search-container hr {
  63. margin-top: 35px;
  64. margin-bottom: 35px;
  65. }
  66. .sub-search-container input {
  67. margin-bottom: 40px;
  68. width: 600px;
  69. }
  70. .sub-search-container #logo {
  71. vertical-align: middle;
  72. margin-right: 50px;
  73. }
  74. .sub-search-button-wrapper {
  75. margin-left: 150px;
  76. }
  77. .search-button-wrapper button:hover,
  78. .misc-container button:hover {
  79. border: 1px solid #5f6368;
  80. cursor: pointer;
  81. }
  82. .sub-search-button-wrapper img {
  83. vertical-align: middle;
  84. margin-right: 10px;
  85. }
  86. .sub-search-button-wrapper button {
  87. border: none;
  88. background-color: inherit;
  89. color: var(--alt-fg);
  90. font-size: 18px;
  91. margin-right: 25px;
  92. }
  93. .misc-container {
  94. text-align: center;
  95. word-wrap: break-word;
  96. width: 450px;
  97. margin-left: auto;
  98. margin-right: auto;
  99. }
  100. .misc-container div {
  101. margin-bottom: 30px;
  102. }
  103. .misc-container button {
  104. margin-right:10px;
  105. margin-left:10px;
  106. }
  107. .misc-container a {
  108. color:inherit;
  109. text-decoration: underline;
  110. }
  111. .instances-container div {
  112. text-align: left;
  113. margin-bottom: 25px;
  114. }
  115. .instances-container input {
  116. color: inherit;
  117. background-color: inherit;
  118. padding: 5px;
  119. font-size: inherit;
  120. font-family: inherit;
  121. border: 1px solid #5f6368;
  122. border-radius: 5px;
  123. float: right;
  124. }
  125. .text-result-container,
  126. #time,
  127. .next-page-button-wrapper {
  128. margin-left:10%;
  129. }
  130. .text-result-container
  131. {
  132. margin-bottom:100px;
  133. }
  134. .special-result-container {
  135. padding: 10px;
  136. border: 1px solid var(--special-result-border);
  137. width: 500px;
  138. }
  139. .text-result-wrapper {
  140. max-width: 500px;
  141. word-wrap: break-word;
  142. margin-top: 35px;
  143. }
  144. .text-result-wrapper a {
  145. font-size: 14px;
  146. color: var(--result-fg);
  147. }
  148. .text-result-wrapper h2 {
  149. font-size: 20px;
  150. color: var(--result-link-fg);
  151. padding-top: 5px;
  152. margin-top: 1px;
  153. }
  154. .special-result-container a {
  155. display: flex;
  156. margin-top: 10px;
  157. color: var(--alt-fg);
  158. font-size:14px;
  159. }
  160. .special-result-container img {
  161. display: flex;
  162. max-width: 60%;
  163. max-height: 200px;
  164. padding-bottom:10px;
  165. margin-left:auto;
  166. margin-right:auto;
  167. }
  168. .next-page-button-wrapper {
  169. margin-top:-50px;
  170. margin-bottom:100px;
  171. }
  172. .next-page-button-wrapper button {
  173. border:none;
  174. background-color: inherit;
  175. color: var(--result-link-fg);
  176. font-size: 18px;
  177. margin-right: 8px;
  178. }
  179. .next-page-button-wrapper #page {
  180. display: inline;
  181. }
  182. .image-result-container {
  183. display: grid;
  184. grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  185. grid-gap: 1.5rem;
  186. justify-items: center;
  187. margin-left: 9%;
  188. margin-right: 9%;
  189. padding: 0;
  190. margin-bottom:50px;
  191. }
  192. .image-result-container img {
  193. border: 1px solid var(--button-bg);
  194. width: 350px;
  195. height: 200px;
  196. margin: 10px;
  197. }
  198. .footer-container {
  199. position: fixed;
  200. left: 0;
  201. bottom: 0;
  202. width: 100vw;
  203. background-color: var(--footer-bg);
  204. padding-top: 15px;
  205. padding-bottom: 15px;
  206. border-top: 1px solid #303134;
  207. text-align: center;
  208. }
  209. .footer-container a {
  210. color: var(--footer-fg);
  211. margin-left: 15px;
  212. margin-right: 15px;
  213. }
  214. /* mobile view */
  215. @media only screen and (max-width: 900px) {
  216. .search-container input {
  217. width: 80%;
  218. }
  219. .search-button-wrapper button {
  220. display: table-row;
  221. margin: 30px 0px 0px 0px;
  222. width: 80%;
  223. }
  224. .footer-container a {
  225. margin:10px;
  226. }
  227. .sub-search-container {
  228. margin-left:auto;
  229. margin-right:auto;
  230. text-align: center;
  231. }
  232. .sub-search-container #logo {
  233. margin-left:auto;
  234. margin-right:auto;
  235. display: block;
  236. }
  237. .sub-search-container input {
  238. width: 80%;
  239. margin-top:30px;
  240. }
  241. .sub-search-button-wrapper {
  242. margin:0;
  243. padding:0;
  244. display: flex;
  245. align-items: baseline;
  246. }
  247. .sub-search-button-wrapper img {
  248. margin:0;
  249. padding:0;
  250. margin-bottom:20px;
  251. }
  252. .sub-search-button-wrapper button {
  253. margin-left:auto;
  254. margin-right:auto;
  255. padding:0;
  256. display: flex;
  257. flex-direction: column;
  258. align-items: center;
  259. }
  260. .special-result-container {
  261. max-width: 80%;
  262. }
  263. .special-result-container img {
  264. max-width: 80%;
  265. }
  266. .misc-container {
  267. margin-bottom: 200px;
  268. width: 95%;
  269. }
  270. .search-container h1 {
  271. font-size: 55px;
  272. }
  273. }