style.css 19 KB

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