style.css 18 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342
  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. white-space:nowrap;
  422. }
  423. .favicon-dropdown img{
  424. float:left;
  425. margin:2px 7px 0 0;
  426. }
  427. /* thumbnails */
  428. .thumb-wrap{
  429. position:relative;
  430. float:right;
  431. width:160px;
  432. height:90px;
  433. background:var(--282828);
  434. text-align:center;
  435. line-height:87px;
  436. border:1px solid var(--504945);
  437. overflow:hidden;
  438. margin-left:7px;
  439. }
  440. .duration{
  441. position:absolute;
  442. right:0;
  443. bottom:0;
  444. padding:1px 2px;
  445. line-height:14px;
  446. background:var(--3c3836);
  447. font-size:12px;
  448. border-left:1px solid var(--504945);
  449. border-top:1px solid var(--504945);
  450. font-family:monospace;
  451. }
  452. .web .text-result:hover .thumb-wrap .duration{
  453. display:none;
  454. }
  455. .thumb-wrap .thumb{
  456. max-width:100%;
  457. max-height:100%;
  458. text-align:left;
  459. vertical-align:middle;
  460. }
  461. .thumb-wrap.portrait{
  462. width:50px;
  463. }
  464. .thumb-wrap.square{
  465. width:90px;
  466. }
  467. /* Next page */
  468. .nextpage{
  469. margin:0 0 30px;
  470. text-align:center;
  471. display:block;
  472. padding:10px;
  473. border:1px solid var(--504945);
  474. border-radius:2px;
  475. text-decoration:none;
  476. color:var(--bdae93);
  477. }
  478. .nextpage:hover{
  479. text-decoration:underline;
  480. }
  481. /* Right wrapper */
  482. .web .right-wrapper{
  483. width:60%;
  484. float:right;
  485. overflow:hidden;
  486. padding-left:15px;
  487. box-sizing:border-box;
  488. }
  489. .web .right-right,
  490. .web .right-left{
  491. float:right;
  492. width:50%;
  493. padding:0 15px;
  494. box-sizing:border-box;
  495. overflow:hidden;
  496. min-height:1px;
  497. }
  498. .web .right-right{
  499. padding-right:0;
  500. }
  501. /*
  502. Tables
  503. */
  504. table{
  505. width:100%;
  506. text-align:left;
  507. border-collapse:collapse;
  508. }
  509. table td{
  510. width:50%;
  511. padding:0;
  512. vertical-align:top;
  513. }
  514. table tr td:first-child{
  515. padding-right:7px;
  516. }
  517. table a{
  518. display:block;
  519. text-decoration:none;
  520. color:var(--a89984);
  521. padding:0 10px 0 0;
  522. }
  523. table tr a:last-child{
  524. padding-right:0;
  525. }
  526. /* Related */
  527. .related{
  528. margin-bottom:20px;
  529. }
  530. .related a{
  531. padding-bottom:10px;
  532. color:var(--bdae93);
  533. }
  534. .related a:hover{
  535. text-decoration:underline;
  536. }
  537. /*
  538. Answers
  539. */
  540. .web .answer{
  541. max-height:600px;
  542. overflow:hidden;
  543. padding-bottom:17px;
  544. position:relative;
  545. }
  546. .web .answer::after{
  547. content:"";
  548. position:absolute;
  549. bottom:0;
  550. width:100%;
  551. height:17px;
  552. background:linear-gradient(transparent, var(--1d2021));
  553. pointer-events:none;
  554. }
  555. .web .answer-title{
  556. text-decoration:none;
  557. color:var(--a89984);
  558. }
  559. .web .answer-title a:hover{
  560. text-decoration:underline;
  561. }
  562. .web .spoiler:checked + .answer{
  563. overflow:initial;
  564. max-height:initial;
  565. }
  566. .web .spoiler{
  567. display:none;
  568. }
  569. .web .spoiler-button{
  570. display:block;
  571. border:1px solid var(--504945);
  572. border-radius:2px;
  573. line-height:30px;
  574. padding:0 7px;
  575. text-align:center;
  576. cursor:pointer;
  577. }
  578. .web .answer-wrapper{
  579. margin-bottom:27px;
  580. }
  581. .web .spoiler-button:hover{
  582. text-decoration:underline;
  583. }
  584. .web .spoiler-button::before{
  585. content:"Show more";
  586. }
  587. .web .spoiler:checked + .answer + .spoiler-button::before{
  588. content:"Show less";
  589. }
  590. /* Tables on left handside */
  591. .web .info-table{
  592. margin:10px 0;
  593. font-size:15px;
  594. color:var(--928374);
  595. background:var(--282828);
  596. border:1px dashed var(--504945);
  597. }
  598. .web .info-table td{
  599. padding:4px 10px;
  600. }
  601. .web .info-table tr td:first-child{
  602. width:1%;
  603. white-space:nowrap;
  604. padding-right:17px;
  605. color:var(--a89984);
  606. }
  607. .web .info-table tr:nth-child(even){
  608. background:var(--1d2021);
  609. }
  610. .web .sublinks{
  611. padding:17px 10px 0;
  612. font-size:15px;
  613. color:var(--#928374);
  614. }
  615. .web .sublinks table td{
  616. padding-bottom:17px;
  617. }
  618. .web .sublinks table tr:last-child td:last-child{
  619. padding-bottom:0;
  620. }
  621. .web .sublinks a:hover .title{
  622. text-decoration:underline;
  623. }
  624. /* Wikipedia head */
  625. .web .wiki-head .photo{
  626. float:right;
  627. margin:0 1px 10px 10px;
  628. }
  629. .web .wiki-head .photo img{
  630. display:block;
  631. max-width:200px;
  632. max-height:200px;
  633. 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));
  634. }
  635. .web .wiki-head .description{
  636. clear:left;
  637. padding-top:7px;
  638. overflow:hidden;
  639. }
  640. .web .wiki-head table, .about table{
  641. margin-top:17px;
  642. border:1px dashed var(--504945);
  643. }
  644. .web .wiki-head td, .about table td{
  645. padding:4px 7px;
  646. vertical-align:middle;
  647. }
  648. .web .wiki-head tr td:first-child, .about table tr td:first-child{
  649. width:30%;
  650. min-width:150px;
  651. }
  652. .web .wiki-head tr:nth-child(odd), .about table tr:nth-child(odd){
  653. background:var(--282828);
  654. }
  655. .web .wiki-head .socials{
  656. overflow:hidden;
  657. margin-top:17px;
  658. }
  659. .web .wiki-head .socials a{
  660. width:74px;
  661. height:80px;
  662. padding-right:4px;
  663. float:left;
  664. color:var(--bdae93);
  665. text-decoration:none;
  666. display:table;
  667. }
  668. .web .wiki-head .socials a:hover .title{
  669. text-decoration:underline;
  670. }
  671. .web .wiki-head .socials .center{
  672. display:table-cell;
  673. vertical-align:middle;
  674. }
  675. .web .wiki-head .socials img{
  676. margin:0 auto;
  677. display:block;
  678. text-align:center;
  679. width:36px;
  680. height:36px;
  681. line-height:36px;
  682. }
  683. .web .wiki-head .socials .title{
  684. margin-top:7px;
  685. text-align:center;
  686. font-size:13px;
  687. line-height:13px;
  688. }
  689. .web .fullimg{
  690. display:block;
  691. max-width:100%;
  692. max-height:150px;
  693. margin:7px 0 17px;
  694. box-sizing:border-box;
  695. border:1px solid var(--504945);
  696. }
  697. /*
  698. Code tags
  699. */
  700. .code{
  701. white-space:pre;
  702. font-family:monospace;
  703. background:var(--3c3836);
  704. color:var(--bdae93);
  705. padding:7px;
  706. margin:4px 0 13px 0;
  707. overflow-x:auto;
  708. border-radius:2px;
  709. border:1px solid var(--504945);
  710. }
  711. .code-inline{
  712. display:inline;
  713. font-family:monospace;
  714. background:var(--282828);
  715. color:var(--bdae93);
  716. border:1px solid var(--928374);
  717. padding:0 4px;
  718. border-radius:2px;
  719. }
  720. /* Wiki-head titles and quotes */
  721. .web .wiki-head h2{
  722. font-size:20px;
  723. margin:20px 0 13px 0;
  724. }
  725. .web .wiki-head h2:first-child{
  726. margin-top:10px;
  727. }
  728. .web .wiki-head a{
  729. color:var(--bdae93);
  730. }
  731. .quote{
  732. font-style:italic;
  733. margin:10px 0 13px;
  734. padding-left:10px;
  735. border-left:1px solid #504945;
  736. }
  737. /*
  738. Web images
  739. */
  740. .web .images{
  741. overflow:hidden;
  742. margin:0 -5px;
  743. font-size:0;
  744. }
  745. .web .images .duration{
  746. display:none;
  747. border:1px solid var(--504945);
  748. right:5px;
  749. bottom:5px;
  750. }
  751. .web .images .image:hover .duration{
  752. display:block;
  753. }
  754. .web .images .image{
  755. width:90px;
  756. height:90px;
  757. padding:5px;
  758. position:relative;
  759. line-height:90px;
  760. display:inline-block;
  761. text-align:center;
  762. color:inherit;
  763. }
  764. .web .images .image img{
  765. max-width:100%;
  766. max-height:100%;
  767. vertical-align:middle;
  768. }
  769. /*
  770. Images tab
  771. */
  772. #images{
  773. overflow:hidden;
  774. margin-bottom:10px;
  775. }
  776. #images .infobox{
  777. width:40%;
  778. box-sizing:border-box;
  779. }
  780. #images .image-wrapper{
  781. line-height:15px;
  782. width:20%;
  783. float:left;
  784. }
  785. #images .image{
  786. margin:0 auto;
  787. width:250px;
  788. max-width:100%;
  789. padding:7px 7px 30px 7px;
  790. box-sizing:border-box;
  791. font-size:14px;
  792. }
  793. #images a{
  794. color:inherit;
  795. text-decoration:none;
  796. display:block;
  797. }
  798. #images a:hover .title{
  799. text-decoration:underline;
  800. }
  801. #images .thumb{
  802. display:block;
  803. height:180px;
  804. margin-bottom:10px;
  805. position:relative;
  806. }
  807. #images .duration{
  808. display:block;
  809. border:1px solid #504945;
  810. }
  811. #images .image:hover .duration{
  812. display:none;
  813. }
  814. #images img{
  815. width:100%;
  816. height:100%;
  817. object-fit:contain;
  818. }
  819. #images .image .title{
  820. white-space:nowrap;
  821. overflow:hidden;
  822. margin-bottom:7px;
  823. font-weight:bold;
  824. }
  825. #images .image .description{
  826. overflow:hidden;
  827. height:45px;
  828. }
  829. .nextpage.img{
  830. width:50%;
  831. margin:0 auto 50px;
  832. }
  833. #popup{
  834. display:none;
  835. position:fixed;
  836. top:0;
  837. left:0;
  838. cursor:grab;
  839. user-select:none;
  840. pointer-events:none;
  841. z-index:5;
  842. }
  843. #popup:active{
  844. cursor:grabbing;
  845. }
  846. #popup-image{
  847. border:1px solid var(--928374);
  848. display:block;
  849. margin:0 auto;
  850. pointer-events:all;
  851. width:100%;
  852. height:100%;
  853. object-fit:contain;
  854. background:var(--282828);
  855. }
  856. #popup-status{
  857. display:none;
  858. position:fixed;
  859. top:0;
  860. left:0;
  861. width:100%;
  862. height:35px;
  863. background:var(--1d2021);
  864. border-bottom:1px solid var(--928374);
  865. z-index:4;
  866. }
  867. #popup-bg{
  868. background:var(--1d2021);
  869. opacity:.5;
  870. position:fixed;
  871. top:0;
  872. left:0;
  873. width:100%;
  874. height:100%;
  875. display:none;
  876. z-index:3;
  877. }
  878. #popup-status select{
  879. display:block;
  880. width:250px;
  881. }
  882. #popup-num,
  883. #popup-title{
  884. display:table-cell;
  885. width:0;
  886. word-wrap:normal;
  887. padding:0 10px;
  888. line-height:35px;
  889. color:var(--ebdbb2);
  890. text-decoration:none;
  891. }
  892. #popup-title:hover{
  893. text-decoration:underline;
  894. }
  895. #popup-title{
  896. width:initial;
  897. overflow:hidden;
  898. height:35px;
  899. display:block;
  900. }
  901. #popup-num{
  902. font-weight:bold;
  903. }
  904. #popup-dropdown{
  905. display:table-cell;
  906. vertical-align:middle;
  907. width:0;
  908. }
  909. /*
  910. Settings page
  911. */
  912. .web .settings{
  913. margin-top:17px;
  914. border:1px dashed var(--504945);
  915. padding:7px 10px 0;
  916. }
  917. .web .setting{
  918. margin-bottom:17px;
  919. }
  920. .web .setting .title{
  921. font-size:14px;
  922. }
  923. .web .settings-submit{
  924. margin:17px 10px;
  925. }
  926. .web .settings-submit input{
  927. float:right;
  928. }
  929. .web .settings-submit a{
  930. margin-right:17px;
  931. color:var(--bdae93);
  932. }
  933. /*
  934. About page
  935. */
  936. .about a{
  937. color:var(--bdae93);
  938. }
  939. .about h1, .about h2{
  940. margin-top:17px;
  941. }
  942. .about table{
  943. margin-bottom:17px;
  944. }
  945. .about table a{
  946. display:inline;
  947. }
  948. /*
  949. Syntax highlight
  950. */
  951. .c-comment{
  952. color:var(--comment);
  953. }
  954. .c-default{
  955. color:var(--default);
  956. }
  957. .c-html{
  958. color:var(--html);
  959. }
  960. .c-keyword{
  961. color:var(--keyword);
  962. font-weight:bold;
  963. }
  964. .c-string{
  965. color:var(--string);
  966. }
  967. /*
  968. Instances page
  969. */
  970. .instances table{
  971. white-space:nowrap;
  972. margin-top:17px;
  973. }
  974. .instances a{
  975. color:var(--bdae93);
  976. }
  977. .instances tbody tr:nth-child(even){
  978. background:var(--282828);
  979. }
  980. .instances thead{
  981. outline:1px solid var(--928374);
  982. outline-offset:-1px;
  983. background:var(--3c3836);
  984. user-select:none;
  985. z-index:2;
  986. position:sticky;
  987. top:0;
  988. }
  989. .instances th{
  990. cursor:row-resize;
  991. }
  992. .instances th:hover{
  993. background:var(--504945);
  994. }
  995. .instances tbody{
  996. outline:1px solid var(--504945);
  997. outline-offset:-1px;
  998. position:relative;
  999. top:-1px;
  1000. }
  1001. .instances tbody tr:hover{
  1002. background:var(--3c3836);
  1003. cursor:pointer;
  1004. }
  1005. .instances .arrow{
  1006. display:inline-block;
  1007. position:relative;
  1008. top:6px;
  1009. margin-right:7px;
  1010. width:0;
  1011. height:0;
  1012. border:6px solid transparent;
  1013. border-top:10px solid var(--bdae93);
  1014. }
  1015. .instances .arrow.up{
  1016. top:0;
  1017. border:6px solid transparent;
  1018. border-bottom:10px solid var(--bdae93);
  1019. }
  1020. .instances th, .instances td{
  1021. padding:4px 7px;
  1022. width:0;
  1023. }
  1024. .instances .extend{
  1025. width:unset;
  1026. overflow:hidden;
  1027. max-width:200px;
  1028. }
  1029. .instances .popup-wrapper{
  1030. display:none;
  1031. position:fixed;
  1032. left:50%;
  1033. top:50%;
  1034. transform:translate(-50%, -50%);
  1035. width:800px;
  1036. max-width:100%;
  1037. max-height:100%;
  1038. overflow-x:auto;
  1039. padding:17px;
  1040. box-sizing:border-box;
  1041. pointer-events:none;
  1042. z-index:3;
  1043. }
  1044. .instances .popup{
  1045. border:1px solid var(--928374);
  1046. background:var(--282828);
  1047. padding:7px 10px;
  1048. pointer-events:initial;
  1049. }
  1050. .instances ul{
  1051. padding-left:20px;
  1052. }
  1053. .instances .go-back{
  1054. margin-top:17px;
  1055. display:inline-block;
  1056. }
  1057. /*
  1058. Responsive image
  1059. */
  1060. @media only screen and (max-width: 1454px){ #images .image-wrapper{ width:25%; } }
  1061. @media only screen and (max-width: 1161px){ #images .image-wrapper{ width:33.3333%; } }
  1062. @media only screen and (max-width: 750px){ #images .image-wrapper{ width:50%; } }
  1063. @media only screen and (max-width: 450px){ #images .image-wrapper{ width:100%; } }
  1064. /*
  1065. Responsive design
  1066. */
  1067. @media only screen and (max-width: 1550px){
  1068. .web .right-right,
  1069. .web .right-left{
  1070. float:none;
  1071. width:initial;
  1072. padding:0 0 0 15px;
  1073. }
  1074. .web .left,
  1075. .searchbox,
  1076. #images .infobox{
  1077. width:60%;
  1078. }
  1079. .web .right-wrapper{
  1080. width:40%;
  1081. }
  1082. }
  1083. @media only screen and (max-width: 1000px){
  1084. .nextpage.img{
  1085. width:initial;
  1086. }
  1087. .web .right-right,
  1088. .web .right-left{
  1089. border:none;
  1090. padding:0;
  1091. }
  1092. .web .right-wrapper{
  1093. float:none;
  1094. padding:0;
  1095. width:initial;
  1096. }
  1097. .web .left,
  1098. .searchbox{
  1099. width:100%;
  1100. }
  1101. body:not(.instances) table td{
  1102. display:block;
  1103. width:100%;
  1104. }
  1105. table a{
  1106. padding:0;
  1107. }
  1108. .web.has-answer .left::before{
  1109. display:block;
  1110. content:"Results";
  1111. font-size:24px;
  1112. font-weight:bold;
  1113. margin-bottom:17px;
  1114. color:var(--bdae93);
  1115. }
  1116. .web .answer{
  1117. max-height:200px;
  1118. }
  1119. .web .wiki-head tr td:first-child,
  1120. .web .info-table tr td:first-child{
  1121. text-decoration:underline;
  1122. }
  1123. #images .infobox{
  1124. width:100%;
  1125. }
  1126. }