style.css 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254
  1. /*
  2. Global styles
  3. */
  4. :root{
  5. /* background */
  6. --1d2021: #1d2021;
  7. --282828: #282828;
  8. --3c3836: #3c3836;
  9. --504945: #504945;
  10. /* font */
  11. --928374: #928374;
  12. --a89984: #a89984;
  13. --bdae93: #bdae93;
  14. --8ec07c: #8ec07c;
  15. --ebdbb2: #ebdbb2;
  16. /* code highlighter */
  17. --comment: #9e8e73;
  18. --default: #d4be98;
  19. --keyword: #d8a657;
  20. --string: #7daea7;
  21. }
  22. .theme-white{
  23. /* background */
  24. --1d2021: #bdae93;
  25. --282828: #a89984;
  26. --3c3836: #a89984;
  27. --504945: #504945;
  28. /* font */
  29. --928374: #1d2021;
  30. --a89984: #282828;
  31. --bdae93: #3c3836;
  32. --8ec07c: #52520e;
  33. --ebdbb2: #1d2021;
  34. /* code highlighter */
  35. --comment: #6a4400;
  36. --default: #d4be98;
  37. --keyword: #4a4706;
  38. --string: #076678;
  39. }
  40. .theme-white .autocomplete .entry:hover{
  41. background:#928374;
  42. }
  43. audio{
  44. max-width:100%;
  45. display:block;
  46. }
  47. .left audio{
  48. margin-top:7px;
  49. }
  50. .right-wrapper audio{
  51. margin-bottom:17px;
  52. }
  53. body,html{
  54. padding:0;
  55. margin:0;
  56. }
  57. body{
  58. background:var(--1d2021);
  59. color:var(--a89984);
  60. font-size:16px;
  61. box-sizing:border-box;
  62. font-family:sans-serif;
  63. padding:15px 7% 45px;
  64. word-wrap:anywhere;
  65. line-height:22px;
  66. max-width:2000px;
  67. }
  68. h1,h2,h3,h4,h5,h6{
  69. padding:0;
  70. margin:0 0 7px 0;
  71. line-height:initial;
  72. color:var(--bdae93);
  73. }
  74. h3,h4,h5,h6{
  75. margin-bottom:14px;
  76. }
  77. /*
  78. Web styles
  79. */
  80. #overflow{
  81. overflow:hidden;
  82. }
  83. /* Searchbox */
  84. .searchbox{
  85. width:40%;
  86. height:36px;
  87. border:1px solid var(--504945);
  88. background:var(--282828);
  89. border-radius:2px;
  90. margin-bottom:10px;
  91. position:relative;
  92. }
  93. .searchbox .wrapper{
  94. overflow:hidden;
  95. }
  96. .searchbox input[type="text"]{
  97. width:100%;
  98. padding-left:10px;
  99. }
  100. .searchbox input[type="text"]::placeholder{
  101. color:var(--928374);
  102. }
  103. .searchbox input[type="submit"]{
  104. float:right;
  105. cursor:pointer;
  106. padding:0 10px;
  107. }
  108. .searchbox input[type="submit"]:hover{
  109. text-decoration:underline;
  110. }
  111. .searchbox input{
  112. all:unset;
  113. line-height:36px;
  114. box-sizing:border-box;
  115. height:36px;
  116. color:var(--bdae93);
  117. }
  118. .searchbox:focus-within{
  119. border:1px solid var(--928374);
  120. }
  121. .autocomplete{
  122. display:none;
  123. position:absolute;
  124. top:35px;
  125. left:-1px;
  126. right:-1px;
  127. background:var(--282828);
  128. border:1px solid var(--928374);
  129. border-top:none;
  130. border-radius:0 0 2px 2px;
  131. z-index:10;
  132. overflow:hidden;
  133. }
  134. .autocomplete .entry{
  135. overflow:hidden;
  136. padding:4px 10px;
  137. cursor:pointer;
  138. outline:none;
  139. user-select:none;
  140. }
  141. .autocomplete .entry:hover{
  142. background:var(--3c3836);
  143. }
  144. .autocomplete .entry:focus{
  145. background:var(--3c3836);
  146. }
  147. /* Tabs */
  148. .tabs, .filters{
  149. overflow:hidden;
  150. overflow-x:auto;
  151. white-space:nowrap;
  152. }
  153. .tabs{
  154. padding-bottom:10px;
  155. }
  156. .tabs .tab{
  157. text-decoration:none;
  158. color:var(--bdae93);
  159. padding:4px 10px;
  160. display:inline-block;
  161. }
  162. .tabs .tab:hover{
  163. text-decoration:underline;
  164. }
  165. .tabs .tab.selected{
  166. border-bottom:2px solid var(--bdae93);
  167. }
  168. /* Filters */
  169. .filters{
  170. padding-bottom:15px;
  171. margin-bottom:7px;
  172. }
  173. .filters .filter{
  174. display:inline-block;
  175. margin-right:7px;
  176. vertical-align:bottom;
  177. }
  178. .filters .filter .title{
  179. font-size:13px;
  180. margin:0 4px;
  181. }
  182. .filters .filter input,
  183. .filters .filter select{
  184. all:unset;
  185. display:block;
  186. border:1px solid var(--504945);
  187. border-radius:2px;
  188. font-size:14px;
  189. padding:0 4px;
  190. width:127px;
  191. height:24px;
  192. }
  193. /*
  194. HOME
  195. */
  196. .home{
  197. min-height:100vh;
  198. margin:0 auto;
  199. display:table;
  200. text-align:center;
  201. }
  202. .home .logo{
  203. max-width:400px;
  204. height:100px;
  205. margin:0 auto 17px auto;
  206. }
  207. .home img{
  208. line-height:100px;
  209. font-size:60px;
  210. text-align:center;
  211. font-family:Times;
  212. width:100%;
  213. height:100%;
  214. background:var(--282828);
  215. display:block;
  216. object-fit:contain;
  217. }
  218. .home #center{
  219. display:table-cell;
  220. vertical-align:middle;
  221. width:500px;
  222. }
  223. .home .searchbox{
  224. width:100%;
  225. text-align:left;
  226. margin-bottom:20px;
  227. }
  228. .home a{
  229. color:inherit;
  230. }
  231. .home .subtext{
  232. margin-top:17px;
  233. line-height:16px;
  234. font-size:12px;
  235. }
  236. /*
  237. WEB
  238. */
  239. /* Captcha */
  240. .captcha-wrapper{
  241. position:relative;
  242. max-width:400px;
  243. margin:17px auto 0;
  244. border:1px solid var(--928374);
  245. }
  246. .captcha{
  247. padding-bottom:100%;
  248. padding-top:6.2%;
  249. }
  250. .captcha-wrapper img{
  251. position:absolute;
  252. top:0;
  253. left:0;
  254. width:100%;
  255. height:100%;
  256. }
  257. .captcha-controls{
  258. position:absolute;
  259. top:0;
  260. left:0;
  261. bottom:0;
  262. right:0;
  263. top:6.3%;
  264. }
  265. .captcha-wrapper img{
  266. display:block;
  267. background:#282828;
  268. }
  269. .captcha-wrapper input{
  270. display:none;
  271. }
  272. .captcha-wrapper label{
  273. float:left;
  274. width:25%;
  275. height:25%;
  276. position:relative;
  277. cursor:pointer;
  278. }
  279. .captcha-wrapper label:hover{
  280. background:rgba(255,255,255,0.2);
  281. }
  282. .captcha-wrapper input:checked + label{
  283. background:rgba(0,0,0,0.5);
  284. }
  285. .captcha-wrapper input:checked + label:after{
  286. content:"";
  287. position:absolute;
  288. left:39%;
  289. top:29%;
  290. width:20%;
  291. height:30%;
  292. transform:rotate(45deg);
  293. border-right:7px solid var(--ebdbb2);
  294. border-bottom:7px solid var(--ebdbb2);
  295. box-sizing:border-box;
  296. }
  297. .captcha-submit{
  298. float:right;
  299. margin:12px 0 4px;
  300. }
  301. .web .left{
  302. width:40%;
  303. float:left;
  304. }
  305. /* infobox */
  306. .infobox{
  307. border:1px dashed var(--504945);
  308. padding:10px;
  309. margin-bottom:17px;
  310. overflow:hidden;
  311. }
  312. .infobox .code{
  313. white-space:initial;
  314. }
  315. .infobox ul{
  316. padding-left:27px;
  317. margin-bottom:0;
  318. }
  319. .infobox a{
  320. color:var(--bdae93);
  321. }
  322. .infobox a:hover{
  323. text-decoration:underline;
  324. }
  325. /* text-result */
  326. .web .text-result{
  327. margin-bottom:30px;
  328. }
  329. .web .description{
  330. white-space:pre-line;
  331. }
  332. .web .type{
  333. border:1px solid var(--928374);
  334. background:var(--282828);
  335. padding:0 4px;
  336. border-radius:2px;
  337. font-size:14px;
  338. line-height:16px;
  339. float:left;
  340. margin:2px 7px 0 0;
  341. }
  342. .web .url{
  343. position:relative;
  344. }
  345. .web .url .part{
  346. font-size:15px;
  347. text-decoration:none;
  348. color:var(--928374);
  349. }
  350. .web .separator::before{
  351. content:"/";
  352. padding:0 4px;
  353. color:var(--504945);
  354. font-size:12px;
  355. }
  356. .web .part:hover{
  357. text-decoration:underline;
  358. }
  359. .web .hover{
  360. display:block;
  361. text-decoration:none;
  362. color:var(--a89984);
  363. overflow:hidden;
  364. clear:left;
  365. padding-top:7px;
  366. }
  367. .web .text-result .title{
  368. font-size:18px;
  369. color:var(--bdae93);
  370. margin-bottom:7px;
  371. }
  372. .web .text-result a:visited .title{
  373. color:var(--928374) !important;
  374. }
  375. .theme-white .web .text-result a:visited .title{
  376. color:#7c6f64 !important;
  377. }
  378. .web .text-result .hover:hover .title{
  379. text-decoration:underline;
  380. }
  381. .web .text-result .author{
  382. font-style:italic;
  383. }
  384. .web .text-result .greentext{
  385. font-size:14px;
  386. color:var(--8ec07c);
  387. }
  388. .web .right-right .text-result:last-child,
  389. .web .right-left .text-result:last-child{
  390. margin-bottom:0;
  391. }
  392. /* favicon */
  393. .favicon{
  394. all:unset;
  395. float:left;
  396. cursor:pointer;
  397. }
  398. .favicon-dropdown{
  399. display:none;
  400. position:absolute;
  401. top:25px;
  402. background:var(--282828);
  403. border:1px solid var(--504945);
  404. border-radius:2px;
  405. z-index:3;
  406. word-wrap:normal;
  407. }
  408. .favicon-dropdown::before{
  409. content:"";
  410. position:absolute;
  411. top:-10px;
  412. left:2px;
  413. border:5px solid transparent;
  414. border-bottom:5px solid var(--504945);
  415. }
  416. .favicon-dropdown a{
  417. text-decoration:none;
  418. color:var(--bdae93);
  419. display:block;
  420. padding:2px 7px 2px 5px;
  421. font-size:13px;
  422. }
  423. .favicon-dropdown a:hover{
  424. text-decoration:underline;
  425. }
  426. .favicon-dropdown:hover,
  427. .favicon:focus + .favicon-dropdown,
  428. .favicon-dropdown:focus-within{
  429. display:block;
  430. }
  431. .web .favicon img,
  432. .favicon-dropdown img{
  433. margin:3px 7px 0 0;
  434. height:16px;
  435. font-size:12px;
  436. line-height:16px;
  437. text-align:center;
  438. display:block;
  439. text-align:left;
  440. }
  441. .favicon-dropdown img{
  442. float:left;
  443. margin:2px 7px 0 0;
  444. }
  445. /* thumbnails */
  446. .thumb-wrap{
  447. position:relative;
  448. float:right;
  449. width:160px;
  450. height:90px;
  451. background:var(--282828);
  452. text-align:center;
  453. line-height:87px;
  454. border:1px solid var(--504945);
  455. overflow:hidden;
  456. margin-left:7px;
  457. }
  458. .duration{
  459. position:absolute;
  460. right:0;
  461. bottom:0;
  462. padding:1px 2px;
  463. line-height:14px;
  464. background:var(--3c3836);
  465. font-size:12px;
  466. border-left:1px solid var(--504945);
  467. border-top:1px solid var(--504945);
  468. font-family:monospace;
  469. }
  470. .web .text-result:hover .thumb-wrap .duration{
  471. display:none;
  472. }
  473. .thumb-wrap .thumb{
  474. max-width:100%;
  475. max-height:100%;
  476. text-align:left;
  477. vertical-align:middle;
  478. }
  479. .thumb-wrap.portrait{
  480. width:50px;
  481. }
  482. .thumb-wrap.square{
  483. width:90px;
  484. }
  485. /* Next page */
  486. .nextpage{
  487. margin:0 0 30px;
  488. text-align:center;
  489. display:block;
  490. padding:10px;
  491. border:1px solid var(--504945);
  492. border-radius:2px;
  493. text-decoration:none;
  494. color:var(--bdae93);
  495. }
  496. .nextpage:hover{
  497. text-decoration:underline;
  498. }
  499. /* Right wrapper */
  500. .web .right-wrapper{
  501. width:60%;
  502. float:right;
  503. overflow:hidden;
  504. padding-left:15px;
  505. box-sizing:border-box;
  506. }
  507. .web .right-right,
  508. .web .right-left{
  509. float:right;
  510. width:50%;
  511. padding:0 15px;
  512. box-sizing:border-box;
  513. overflow:hidden;
  514. min-height:1px;
  515. }
  516. .web .right-right{
  517. padding-right:0;
  518. }
  519. /*
  520. Tables
  521. */
  522. table{
  523. width:100%;
  524. text-align:left;
  525. border-collapse:collapse;
  526. }
  527. table td{
  528. width:50%;
  529. padding:0;
  530. vertical-align:top;
  531. }
  532. table tr td:first-child{
  533. padding-right:7px;
  534. }
  535. table a{
  536. display:block;
  537. text-decoration:none;
  538. color:var(--a89984);
  539. padding:0 10px 0 0;
  540. }
  541. table tr a:last-child{
  542. padding-right:0;
  543. }
  544. /* Related */
  545. .related{
  546. margin-bottom:20px;
  547. }
  548. .related a{
  549. padding-bottom:10px;
  550. color:var(--bdae93);
  551. }
  552. .related a:hover{
  553. text-decoration:underline;
  554. }
  555. /*
  556. Answers
  557. */
  558. .web .answer{
  559. max-height:600px;
  560. overflow:hidden;
  561. padding-bottom:17px;
  562. position:relative;
  563. }
  564. .web .answer::after{
  565. content:"";
  566. position:absolute;
  567. bottom:0;
  568. width:100%;
  569. height:17px;
  570. background:linear-gradient(transparent, var(--1d2021));
  571. pointer-events:none;
  572. }
  573. .web .answer-title{
  574. text-decoration:none;
  575. color:var(--a89984);
  576. }
  577. .web .answer-title a:hover{
  578. text-decoration:underline;
  579. }
  580. .web .spoiler:checked + .answer{
  581. overflow:initial;
  582. max-height:initial;
  583. }
  584. .web .spoiler{
  585. display:none;
  586. }
  587. .web .spoiler-button{
  588. display:block;
  589. border:1px solid var(--504945);
  590. border-radius:2px;
  591. line-height:30px;
  592. padding:0 7px;
  593. text-align:center;
  594. cursor:pointer;
  595. }
  596. .web .answer-wrapper{
  597. margin-bottom:27px;
  598. }
  599. .web .spoiler-button:hover{
  600. text-decoration:underline;
  601. }
  602. .web .spoiler-button::before{
  603. content:"Show more";
  604. }
  605. .web .spoiler:checked + .answer + .spoiler-button::before{
  606. content:"Show less";
  607. }
  608. /* Tables on left handside */
  609. .web .info-table{
  610. margin:10px 0;
  611. font-size:15px;
  612. color:var(--928374);
  613. background:var(--282828);
  614. border:1px dashed var(--504945);
  615. }
  616. .web .info-table td{
  617. padding:4px 10px;
  618. }
  619. .web .info-table tr td:first-child{
  620. width:1%;
  621. white-space:nowrap;
  622. padding-right:17px;
  623. color:var(--a89984);
  624. }
  625. .web .info-table tr:nth-child(even){
  626. background:var(--1d2021);
  627. }
  628. .web .sublinks{
  629. padding:17px 10px 0;
  630. font-size:15px;
  631. color:var(--#928374);
  632. }
  633. .web .sublinks table td{
  634. padding-bottom:17px;
  635. }
  636. .web .sublinks table tr:last-child td:last-child{
  637. padding-bottom:0;
  638. }
  639. .web .sublinks a:hover .title{
  640. text-decoration:underline;
  641. }
  642. /* Wikipedia head */
  643. .web .wiki-head .photo{
  644. float:right;
  645. margin:0 1px 10px 10px;
  646. }
  647. .web .wiki-head .photo img{
  648. display:block;
  649. max-width:200px;
  650. max-height:200px;
  651. filter:drop-shadow(1px 0 0 var(--504945)) drop-shadow(-1px 0 0 var(--504945)) drop-shadow(0 -1px 0 var(--504945)) drop-shadow(0 1px 0 var(--504945));
  652. }
  653. .web .wiki-head .description{
  654. clear:left;
  655. padding-top:7px;
  656. overflow:hidden;
  657. }
  658. .web .wiki-head table, .about table{
  659. margin-top:17px;
  660. border:1px dashed var(--504945);
  661. }
  662. .web .wiki-head td, .about table td{
  663. padding:4px 7px;
  664. vertical-align:middle;
  665. }
  666. .web .wiki-head tr td:first-child, .about table tr td:first-child{
  667. width:30%;
  668. min-width:150px;
  669. }
  670. .web .wiki-head tr:nth-child(odd), .about table tr:nth-child(odd){
  671. background:var(--282828);
  672. }
  673. .web .wiki-head .socials{
  674. overflow:hidden;
  675. margin-top:17px;
  676. }
  677. .web .wiki-head .socials a{
  678. width:74px;
  679. height:80px;
  680. padding-right:4px;
  681. float:left;
  682. color:var(--bdae93);
  683. text-decoration:none;
  684. display:table;
  685. }
  686. .web .wiki-head .socials a:hover .title{
  687. text-decoration:underline;
  688. }
  689. .web .wiki-head .socials .center{
  690. display:table-cell;
  691. vertical-align:middle;
  692. }
  693. .web .wiki-head .socials img{
  694. margin:0 auto;
  695. display:block;
  696. text-align:center;
  697. width:36px;
  698. height:36px;
  699. line-height:36px;
  700. }
  701. .web .wiki-head .socials .title{
  702. margin-top:7px;
  703. text-align:center;
  704. font-size:13px;
  705. line-height:13px;
  706. }
  707. .web .fullimg{
  708. display:block;
  709. max-width:100%;
  710. max-height:150px;
  711. margin:7px 0 17px;
  712. box-sizing:border-box;
  713. border:1px solid var(--504945);
  714. }
  715. /*
  716. Code tags
  717. */
  718. .code{
  719. white-space:pre;
  720. font-family:monospace;
  721. background:var(--3c3836);
  722. color:var(--bdae93);
  723. padding:7px;
  724. margin:4px 0 13px 0;
  725. overflow-x:auto;
  726. border-radius:2px;
  727. border:1px solid var(--504945);
  728. }
  729. .code-inline{
  730. display:inline;
  731. font-family:monospace;
  732. background:var(--282828);
  733. color:var(--bdae93);
  734. border:1px solid var(--928374);
  735. padding:0 4px;
  736. border-radius:2px;
  737. }
  738. /* Wiki-head titles and quotes */
  739. .web .wiki-head h2{
  740. font-size:20px;
  741. margin:20px 0 13px 0;
  742. }
  743. .web .wiki-head h2:first-child{
  744. margin-top:10px;
  745. }
  746. .web .wiki-head a{
  747. color:var(--bdae93);
  748. }
  749. .quote{
  750. font-style:italic;
  751. margin:10px 0 13px;
  752. padding-left:10px;
  753. border-left:1px solid #504945;
  754. }
  755. /*
  756. Web images
  757. */
  758. .web .images{
  759. overflow:hidden;
  760. margin:0 -5px;
  761. font-size:0;
  762. }
  763. .web .images .duration{
  764. display:none;
  765. border:1px solid var(--504945);
  766. right:5px;
  767. bottom:5px;
  768. }
  769. .web .images .image:hover .duration{
  770. display:block;
  771. }
  772. .web .images .image{
  773. width:90px;
  774. height:90px;
  775. padding:5px;
  776. position:relative;
  777. line-height:90px;
  778. display:inline-block;
  779. text-align:center;
  780. color:inherit;
  781. }
  782. .web .images .image img{
  783. max-width:100%;
  784. max-height:100%;
  785. vertical-align:middle;
  786. }
  787. /*
  788. Images tab
  789. */
  790. #images{
  791. overflow:hidden;
  792. margin-bottom:10px;
  793. }
  794. #images .infobox{
  795. width:40%;
  796. box-sizing:border-box;
  797. }
  798. #images .image-wrapper{
  799. line-height:15px;
  800. width:20%;
  801. float:left;
  802. }
  803. #images .image{
  804. margin:0 auto;
  805. width:250px;
  806. max-width:100%;
  807. padding:7px 7px 30px 7px;
  808. box-sizing:border-box;
  809. font-size:14px;
  810. }
  811. #images a{
  812. color:inherit;
  813. text-decoration:none;
  814. display:block;
  815. }
  816. #images a:hover .title{
  817. text-decoration:underline;
  818. }
  819. #images .thumb{
  820. display:block;
  821. height:180px;
  822. margin-bottom:10px;
  823. position:relative;
  824. }
  825. #images .duration{
  826. display:block;
  827. border:1px solid #504945;
  828. }
  829. #images .image:hover .duration{
  830. display:none;
  831. }
  832. #images img{
  833. width:100%;
  834. height:100%;
  835. object-fit:contain;
  836. }
  837. #images .image .title{
  838. white-space:nowrap;
  839. overflow:hidden;
  840. margin-bottom:7px;
  841. font-weight:bold;
  842. }
  843. #images .image .description{
  844. overflow:hidden;
  845. height:45px;
  846. }
  847. .nextpage.img{
  848. width:50%;
  849. margin:0 auto 50px;
  850. }
  851. #popup{
  852. display:none;
  853. position:fixed;
  854. top:0;
  855. left:0;
  856. cursor:grab;
  857. user-select:none;
  858. pointer-events:none;
  859. }
  860. #popup:active{
  861. cursor:grabbing;
  862. }
  863. #popup-image{
  864. border:1px solid var(--928374);
  865. display:block;
  866. margin:0 auto;
  867. pointer-events:all;
  868. width:100%;
  869. height:100%;
  870. object-fit:contain;
  871. background:var(--282828);
  872. }
  873. #popup-status{
  874. display:none;
  875. position:fixed;
  876. top:0;
  877. left:0;
  878. width:100%;
  879. height:35px;
  880. background:var(--1d2021);
  881. border-bottom:1px solid var(--928374);
  882. }
  883. #popup-bg{
  884. background:var(--1d2021);
  885. opacity:.5;
  886. position:fixed;
  887. top:0;
  888. left:0;
  889. width:100%;
  890. height:100%;
  891. display:none;
  892. }
  893. #popup-status select{
  894. display:block;
  895. width:250px;
  896. }
  897. #popup-num,
  898. #popup-title{
  899. display:table-cell;
  900. width:0;
  901. word-wrap:normal;
  902. padding:0 10px;
  903. line-height:35px;
  904. color:var(--ebdbb2);
  905. text-decoration:none;
  906. }
  907. #popup-title:hover{
  908. text-decoration:underline;
  909. }
  910. #popup-title{
  911. width:initial;
  912. overflow:hidden;
  913. height:35px;
  914. display:block;
  915. }
  916. #popup-num{
  917. font-weight:bold;
  918. }
  919. #popup-dropdown{
  920. display:table-cell;
  921. vertical-align:middle;
  922. width:0;
  923. }
  924. /*
  925. Settings page
  926. */
  927. .web .settings{
  928. margin-top:17px;
  929. border:1px dashed var(--504945);
  930. padding:7px 10px 0;
  931. }
  932. .web .setting{
  933. margin-bottom:17px;
  934. }
  935. .web .setting .title{
  936. font-size:14px;
  937. }
  938. .web .settings-submit{
  939. margin:17px 10px;
  940. }
  941. .web .settings-submit input{
  942. float:right;
  943. }
  944. .web .settings-submit a{
  945. margin-right:17px;
  946. color:var(--bdae93);
  947. }
  948. /*
  949. About page
  950. */
  951. .about a{
  952. color:var(--bdae93);
  953. }
  954. .about h1, .about h2{
  955. margin-top:17px;
  956. }
  957. .about table{
  958. margin-bottom:17px;
  959. }
  960. .about table a{
  961. display:inline;
  962. }
  963. /*
  964. Syntax highlight
  965. */
  966. .c-comment{
  967. color:var(--comment);
  968. }
  969. .c-default{
  970. color:var(--default);
  971. }
  972. .c-html{
  973. color:var(--html);
  974. }
  975. .c-keyword{
  976. color:var(--keyword);
  977. font-weight:bold;
  978. }
  979. .c-string{
  980. color:var(--string);
  981. }
  982. /*
  983. Responsive image
  984. */
  985. @media only screen and (max-width: 1454px){ #images .image-wrapper{ width:25%; } }
  986. @media only screen and (max-width: 1161px){ #images .image-wrapper{ width:33.3333%; } }
  987. @media only screen and (max-width: 750px){ #images .image-wrapper{ width:50%; } }
  988. @media only screen and (max-width: 450px){ #images .image-wrapper{ width:100%; } }
  989. /*
  990. Responsive design
  991. */
  992. @media only screen and (max-width: 1550px){
  993. .web .right-right,
  994. .web .right-left{
  995. float:none;
  996. width:initial;
  997. padding:0 0 0 15px;
  998. }
  999. .web .left,
  1000. .searchbox,
  1001. #images .infobox{
  1002. width:60%;
  1003. }
  1004. .web .right-wrapper{
  1005. width:40%;
  1006. }
  1007. }
  1008. @media only screen and (max-width: 1000px){
  1009. .nextpage.img{
  1010. width:initial;
  1011. }
  1012. .web .right-right,
  1013. .web .right-left{
  1014. border:none;
  1015. padding:0;
  1016. }
  1017. .web .right-wrapper{
  1018. float:none;
  1019. padding:0;
  1020. width:initial;
  1021. }
  1022. .web .left,
  1023. .searchbox{
  1024. width:100%;
  1025. }
  1026. table td{
  1027. display:block;
  1028. width:100%;
  1029. }
  1030. table a{
  1031. padding:0;
  1032. }
  1033. .web.has-answer .left::before{
  1034. display:block;
  1035. content:"Results";
  1036. font-size:24px;
  1037. font-weight:bold;
  1038. margin-bottom:17px;
  1039. color:var(--bdae93);
  1040. }
  1041. .web .answer{
  1042. max-height:200px;
  1043. }
  1044. .web .wiki-head tr td:first-child,
  1045. .web .info-table tr td:first-child{
  1046. text-decoration:underline;
  1047. }
  1048. #images .infobox{
  1049. width:100%;
  1050. }
  1051. }