style.css 18 KB

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