styles.css 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477
  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. body {
  8. margin: 0;
  9. }
  10. input,
  11. button {
  12. outline: none;
  13. }
  14. button {
  15. cursor: pointer;
  16. }
  17. p {
  18. font-size: 18px;
  19. color: var(--result-fg);
  20. }
  21. a,
  22. .text-result-wrapper a:hover {
  23. text-decoration: none;
  24. }
  25. .text-result-wrapper a:visited h2,
  26. .special-result-container a,
  27. .sub-search-button-wrapper button {
  28. color: #bd93f9;
  29. }
  30. .sub-search-button-wrapper .active {
  31. border-bottom: 2px #bd93f9 solid;
  32. padding-bottom: 6px;
  33. }
  34. a:hover,
  35. .text-result-wrapper h2:hover {
  36. text-decoration: underline;
  37. }
  38. .search-container {
  39. text-align: center;
  40. margin-top: 10%;
  41. }
  42. .search-container h1 {
  43. font-size: 70px;
  44. }
  45. .search-container input,
  46. .sub-search-container input {
  47. width: 500px;
  48. color: var(--search-container-text-color);
  49. background-color: var(--search-container-background-color);
  50. padding: 10px;
  51. font-size: inherit;
  52. font-family: sans-serif;
  53. border: 1px solid var(--search-container-background-border);
  54. border-radius: 25px;
  55. }
  56. .search-button-wrapper button,
  57. .misc-container button,
  58. .misc-container select {
  59. color: inherit;
  60. background-color: var(--button-bg);
  61. font-size: 14px;
  62. border: 1px solid var(--main-bg);
  63. border-radius: 4px;
  64. padding: 13px 10px 13px 10px;
  65. }
  66. .search-button-wrapper button {
  67. margin: 30px 60px 0px 60px;
  68. }
  69. .sub-search-container {
  70. background-color: var(--search-form-background-color);
  71. width: 100%;
  72. border-bottom: 1px solid var(--border);
  73. }
  74. .sub-search-container hr {
  75. opacity: 0;
  76. }
  77. .sub-search-container input {
  78. margin-bottom: 20px;
  79. width: 580px;
  80. position: relative;
  81. left: 140px;
  82. margin: 18px;
  83. }
  84. .logomobile {
  85. position: absolute;
  86. margin-top: 0px;
  87. top: 25px;
  88. left: 20px;
  89. }
  90. .no-decoration {
  91. text-decoration: none;
  92. color: var(--main-fg);
  93. }
  94. .no-decoration:hover {
  95. text-decoration: none;
  96. }
  97. .sub-search-button-wrapper {
  98. margin-left: 165px;
  99. }
  100. .search-button-wrapper button:hover,
  101. .misc-container button:hover {
  102. border: 1px solid #5f6368;
  103. cursor: pointer;
  104. }
  105. .sub-search-button-wrapper i {
  106. vertical-align: middle;
  107. margin-right: 5px;
  108. }
  109. .sub-search-button-wrapper button {
  110. border: none;
  111. background-color: inherit;
  112. font-size: 15px;
  113. margin-right: 14px;
  114. cursor: pointer;
  115. text-decoration: none;
  116. }
  117. .sub-search-button-wrapper img {
  118. vertical-align: middle;
  119. margin-right: 5px;
  120. width: 20px;
  121. }
  122. .misc-container {
  123. text-align: center;
  124. word-wrap: break-word;
  125. width: 450px;
  126. margin-left: auto;
  127. margin-right: auto;
  128. margin-bottom: 100px;
  129. }
  130. .misc-container div {
  131. margin-bottom: 30px;
  132. }
  133. .misc-container button {
  134. margin-right: 10px;
  135. margin-left: 10px;
  136. }
  137. .misc-container a {
  138. color: inherit;
  139. text-decoration: underline;
  140. }
  141. .settings-textbox-container div {
  142. text-align: left;
  143. margin-bottom: 25px;
  144. }
  145. .settings-textbox-container input {
  146. color: inherit;
  147. background-color: inherit;
  148. padding: 5px;
  149. font-size: inherit;
  150. font-family: inherit;
  151. border: 1px solid #5f6368;
  152. border-radius: 5px;
  153. float: right;
  154. }
  155. .text-result-container,
  156. #time,
  157. .next-page-button-wrapper {
  158. margin-left: 170px;
  159. }
  160. .text-result-container {
  161. margin-bottom: 100px;
  162. }
  163. .special-result-container {
  164. padding: 10px;
  165. border: 1px solid var(--special-result-border);
  166. width: 500px;
  167. border-radius: 8px;
  168. background: var(--special-text-background);
  169. color: var(--special-text-color);
  170. margin-left: 840px;
  171. margin-top: 0px;
  172. position: absolute;
  173. }
  174. .text-result-wrapper {
  175. max-width: 550px;
  176. word-wrap: break-word;
  177. margin-bottom: 35px;
  178. }
  179. .text-result-wrapper a {
  180. font-size: 14px;
  181. color: var(--result-fg);
  182. }
  183. .video-img {
  184. height: 115px;
  185. border-radius: 12px;
  186. }
  187. .text-result-wrapper h2 {
  188. font-size: 20px;
  189. color: var(--result-link-fg);
  190. padding-top: 5px;
  191. margin-top: 1px;
  192. }
  193. .special-result-container a {
  194. display: flex;
  195. margin-top: 10px;
  196. font-size: 14px;
  197. }
  198. .special-result-container img {
  199. display: flex;
  200. max-width: 60%;
  201. max-height: 200px;
  202. padding-bottom: 10px;
  203. margin-left: auto;
  204. margin-right: auto;
  205. }
  206. .next-page-button-wrapper {
  207. margin-top: -40px;
  208. margin-bottom: 100px;
  209. }
  210. .next-page-button-wrapper button {
  211. border: none;
  212. background-color: inherit;
  213. color: var(--result-link-fg);
  214. font-size: 18px;
  215. margin-right: 8px;
  216. }
  217. .next-page-button-wrapper .page {
  218. display: inline;
  219. }
  220. .image-result-container {
  221. display: flex;
  222. flex-wrap: wrap;
  223. grid-gap: 1.5rem;
  224. justify-items: center;
  225. margin-left: 9%;
  226. margin-right: 9%;
  227. padding: 0;
  228. margin-bottom: 50px;
  229. }
  230. a[title] {
  231. flex-grow: 1;
  232. height: 12rem;
  233. }
  234. .image-result-container img {
  235. margin: 0px;
  236. height: 100%;
  237. width: 100%;
  238. object-fit: cover;
  239. vertical-align: bottom;
  240. }
  241. .git-container {
  242. right: 0;
  243. }
  244. .git-container,
  245. .footer-container {
  246. position: fixed;
  247. bottom: 0;
  248. }
  249. .footer-container {
  250. width: 100vw;
  251. left: 0;
  252. background-color: var(--footer-bg);
  253. padding-top: 15px;
  254. padding-bottom: 15px;
  255. border-top: 1px solid var(--border);
  256. text-align: center;
  257. }
  258. .git-container a {
  259. font-size: 10px;
  260. }
  261. .git-container a,
  262. .footer-container a {
  263. color: var(--footer-fg);
  264. }
  265. .footer-container a {
  266. margin-left: 15px;
  267. margin-right: 15px;
  268. }
  269. .hide {
  270. display: none;
  271. }
  272. .X {
  273. color: #bd93f9;
  274. }
  275. .seeders {
  276. color: #50fa7b;
  277. }
  278. .leechers {
  279. color: #ff79c6;
  280. }
  281. @media only screen and (max-width: 1320px) {
  282. .special-result-container {
  283. position: relative;
  284. float: none;
  285. margin-left: 165px;
  286. }
  287. }
  288. /* mobile view */
  289. @media only screen and (max-width: 750px) {
  290. p {
  291. font-size: 16px;
  292. }
  293. html {
  294. font-size: 14px;
  295. }
  296. .search-container input {
  297. width: 80%;
  298. }
  299. .search-button-wrapper button {
  300. display: table-row;
  301. margin: 30px 0px 0px 0px;
  302. width: 80%;
  303. }
  304. .image-result-container {
  305. display: unset;
  306. margin: 0;
  307. padding: 0;
  308. }
  309. .image-result-container img {
  310. margin: 0 5% 5% 5%;
  311. padding: 0;
  312. width: 90%;
  313. border: none;
  314. }
  315. .git-container {
  316. display: none;
  317. }
  318. .footer-container a {
  319. margin: 10px;
  320. }
  321. .sub-search-container {
  322. margin-left: auto;
  323. margin-right: auto;
  324. text-align: center;
  325. }
  326. .sub-search-container .logo {
  327. display: none;
  328. }
  329. .logomobile {
  330. position: relative;
  331. float: none;
  332. margin-top: 0px;
  333. margin-bottom: 0px;
  334. margin-left: auto;
  335. margin-right: auto;
  336. padding: 10px;
  337. font-size: 28px;
  338. display: block;
  339. margin-top: 0px;
  340. top: 0px;
  341. left: 0px;
  342. }
  343. .sub-search-container input {
  344. width: 80%;
  345. position: relative;
  346. left: 0px;
  347. margin-top: 0px;
  348. }
  349. .sub-search-button-wrapper {
  350. margin: 0;
  351. padding: 0;
  352. display: flex;
  353. align-items: baseline;
  354. }
  355. .sub-search-button-wrapper img {
  356. margin: 0;
  357. padding: 0;
  358. }
  359. .sub-search-button-wrapper button {
  360. margin-left: auto;
  361. margin-right: auto;
  362. padding: 0;
  363. display: flex;
  364. flex-direction: column;
  365. align-items: center;
  366. }
  367. .special-result-container {
  368. position: relative;
  369. float: none;
  370. max-width: 90%;
  371. margin-left: 10px;
  372. width: auto;
  373. }
  374. .special-result-container img {
  375. max-width: 80%;
  376. }
  377. .misc-container {
  378. margin-bottom: 200px;
  379. width: 95%;
  380. }
  381. .search-container h1 {
  382. font-size: 55px;
  383. }
  384. .search-container {
  385. margin-top: 10%;
  386. }
  387. .text-result-container,
  388. #time,
  389. .next-page-button-wrapper {
  390. margin-left: 20px;
  391. max-width: 90%;
  392. }
  393. .next-page-button-wrapper {
  394. margin-top: 30px;
  395. }
  396. }