style.css 19 KB

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