style.css 18 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343
  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. background:var(--1d2021);
  644. }
  645. .web .wiki-head td, .about table td{
  646. padding:4px 7px;
  647. vertical-align:middle;
  648. }
  649. .web .wiki-head tr td:first-child, .about table tr td:first-child{
  650. width:30%;
  651. min-width:150px;
  652. }
  653. .web .wiki-head tr:nth-child(odd), .about table tr:nth-child(odd){
  654. background:var(--282828);
  655. }
  656. .web .wiki-head .socials{
  657. overflow:hidden;
  658. margin-top:17px;
  659. }
  660. .web .wiki-head .socials a{
  661. width:74px;
  662. height:80px;
  663. padding-right:4px;
  664. float:left;
  665. color:var(--bdae93);
  666. text-decoration:none;
  667. display:table;
  668. }
  669. .web .wiki-head .socials a:hover .title{
  670. text-decoration:underline;
  671. }
  672. .web .wiki-head .socials .center{
  673. display:table-cell;
  674. vertical-align:middle;
  675. }
  676. .web .wiki-head .socials img{
  677. margin:0 auto;
  678. display:block;
  679. text-align:center;
  680. width:36px;
  681. height:36px;
  682. line-height:36px;
  683. }
  684. .web .wiki-head .socials .title{
  685. margin-top:7px;
  686. text-align:center;
  687. font-size:13px;
  688. line-height:13px;
  689. }
  690. .web .fullimg{
  691. display:block;
  692. max-width:100%;
  693. max-height:150px;
  694. margin:7px 0 17px;
  695. box-sizing:border-box;
  696. border:1px solid var(--504945);
  697. }
  698. /*
  699. Code tags
  700. */
  701. .code{
  702. white-space:pre;
  703. font-family:monospace;
  704. background:var(--3c3836);
  705. color:var(--bdae93);
  706. padding:7px;
  707. margin:4px 0 13px 0;
  708. overflow-x:auto;
  709. border-radius:2px;
  710. border:1px solid var(--504945);
  711. }
  712. .code-inline{
  713. display:inline;
  714. font-family:monospace;
  715. background:var(--282828);
  716. color:var(--bdae93);
  717. border:1px solid var(--928374);
  718. padding:0 4px;
  719. border-radius:2px;
  720. }
  721. /* Wiki-head titles and quotes */
  722. .web .wiki-head h2{
  723. font-size:20px;
  724. margin:20px 0 13px 0;
  725. }
  726. .web .wiki-head h2:first-child{
  727. margin-top:10px;
  728. }
  729. .web .wiki-head a{
  730. color:var(--bdae93);
  731. }
  732. .quote{
  733. font-style:italic;
  734. margin:10px 0 13px;
  735. padding-left:10px;
  736. border-left:1px solid #504945;
  737. }
  738. /*
  739. Web images
  740. */
  741. .web .images{
  742. overflow:hidden;
  743. margin:0 -5px;
  744. font-size:0;
  745. }
  746. .web .images .duration{
  747. display:none;
  748. border:1px solid var(--504945);
  749. right:5px;
  750. bottom:5px;
  751. }
  752. .web .images .image:hover .duration{
  753. display:block;
  754. }
  755. .web .images .image{
  756. width:90px;
  757. height:90px;
  758. padding:5px;
  759. position:relative;
  760. line-height:90px;
  761. display:inline-block;
  762. text-align:center;
  763. color:inherit;
  764. }
  765. .web .images .image img{
  766. max-width:100%;
  767. max-height:100%;
  768. vertical-align:middle;
  769. }
  770. /*
  771. Images tab
  772. */
  773. #images{
  774. overflow:hidden;
  775. margin-bottom:10px;
  776. }
  777. #images .infobox{
  778. width:40%;
  779. box-sizing:border-box;
  780. }
  781. #images .image-wrapper{
  782. line-height:15px;
  783. width:20%;
  784. float:left;
  785. }
  786. #images .image{
  787. margin:0 auto;
  788. width:250px;
  789. max-width:100%;
  790. padding:7px 7px 30px 7px;
  791. box-sizing:border-box;
  792. font-size:14px;
  793. }
  794. #images a{
  795. color:inherit;
  796. text-decoration:none;
  797. display:block;
  798. }
  799. #images a:hover .title{
  800. text-decoration:underline;
  801. }
  802. #images .thumb{
  803. display:block;
  804. height:180px;
  805. margin-bottom:10px;
  806. position:relative;
  807. }
  808. #images .duration{
  809. display:block;
  810. border:1px solid #504945;
  811. }
  812. #images .image:hover .duration{
  813. display:none;
  814. }
  815. #images img{
  816. width:100%;
  817. height:100%;
  818. object-fit:contain;
  819. }
  820. #images .image .title{
  821. white-space:nowrap;
  822. overflow:hidden;
  823. margin-bottom:7px;
  824. font-weight:bold;
  825. }
  826. #images .image .description{
  827. overflow:hidden;
  828. height:45px;
  829. }
  830. .nextpage.img{
  831. width:50%;
  832. margin:0 auto 50px;
  833. }
  834. #popup{
  835. display:none;
  836. position:fixed;
  837. top:0;
  838. left:0;
  839. cursor:grab;
  840. user-select:none;
  841. pointer-events:none;
  842. z-index:5;
  843. }
  844. #popup:active{
  845. cursor:grabbing;
  846. }
  847. #popup-image{
  848. border:1px solid var(--928374);
  849. display:block;
  850. margin:0 auto;
  851. pointer-events:all;
  852. width:100%;
  853. height:100%;
  854. object-fit:contain;
  855. background:var(--282828);
  856. }
  857. #popup-status{
  858. display:none;
  859. position:fixed;
  860. top:0;
  861. left:0;
  862. width:100%;
  863. height:35px;
  864. background:var(--1d2021);
  865. border-bottom:1px solid var(--928374);
  866. z-index:4;
  867. }
  868. #popup-bg{
  869. background:var(--1d2021);
  870. opacity:.5;
  871. position:fixed;
  872. top:0;
  873. left:0;
  874. width:100%;
  875. height:100%;
  876. display:none;
  877. z-index:3;
  878. }
  879. #popup-status select{
  880. display:block;
  881. width:250px;
  882. }
  883. #popup-num,
  884. #popup-title{
  885. display:table-cell;
  886. width:0;
  887. word-wrap:normal;
  888. padding:0 10px;
  889. line-height:35px;
  890. color:var(--ebdbb2);
  891. text-decoration:none;
  892. }
  893. #popup-title:hover{
  894. text-decoration:underline;
  895. }
  896. #popup-title{
  897. width:initial;
  898. overflow:hidden;
  899. height:35px;
  900. display:block;
  901. }
  902. #popup-num{
  903. font-weight:bold;
  904. }
  905. #popup-dropdown{
  906. display:table-cell;
  907. vertical-align:middle;
  908. width:0;
  909. }
  910. /*
  911. Settings page
  912. */
  913. .web .settings{
  914. margin-top:17px;
  915. border:1px dashed var(--504945);
  916. padding:7px 10px 0;
  917. }
  918. .web .setting{
  919. margin-bottom:17px;
  920. }
  921. .web .setting .title{
  922. font-size:14px;
  923. }
  924. .web .settings-submit{
  925. margin:17px 10px;
  926. }
  927. .web .settings-submit input{
  928. float:right;
  929. }
  930. .web .settings-submit a{
  931. margin-right:17px;
  932. color:var(--bdae93);
  933. }
  934. /*
  935. About page
  936. */
  937. .about a{
  938. color:var(--bdae93);
  939. }
  940. .about h1, .about h2{
  941. margin-top:17px;
  942. }
  943. .about table{
  944. margin-bottom:17px;
  945. }
  946. .about table a{
  947. display:inline;
  948. }
  949. /*
  950. Syntax highlight
  951. */
  952. .c-comment{
  953. color:var(--comment);
  954. }
  955. .c-default{
  956. color:var(--default);
  957. }
  958. .c-html{
  959. color:var(--html);
  960. }
  961. .c-keyword{
  962. color:var(--keyword);
  963. font-weight:bold;
  964. }
  965. .c-string{
  966. color:var(--string);
  967. }
  968. /*
  969. Instances page
  970. */
  971. .instances table{
  972. white-space:nowrap;
  973. margin-top:17px;
  974. }
  975. .instances a{
  976. color:var(--bdae93);
  977. }
  978. .instances tbody tr:nth-child(even){
  979. background:var(--282828);
  980. }
  981. .instances thead{
  982. outline:1px solid var(--928374);
  983. outline-offset:-1px;
  984. background:var(--3c3836);
  985. user-select:none;
  986. z-index:2;
  987. position:sticky;
  988. top:0;
  989. }
  990. .instances th{
  991. cursor:row-resize;
  992. }
  993. .instances th:hover{
  994. background:var(--504945);
  995. }
  996. .instances tbody{
  997. outline:1px solid var(--504945);
  998. outline-offset:-1px;
  999. position:relative;
  1000. top:-1px;
  1001. }
  1002. .instances tbody tr:hover{
  1003. background:var(--3c3836);
  1004. cursor:pointer;
  1005. }
  1006. .instances .arrow{
  1007. display:inline-block;
  1008. position:relative;
  1009. top:6px;
  1010. margin-right:7px;
  1011. width:0;
  1012. height:0;
  1013. border:6px solid transparent;
  1014. border-top:10px solid var(--bdae93);
  1015. }
  1016. .instances .arrow.up{
  1017. top:0;
  1018. border:6px solid transparent;
  1019. border-bottom:10px solid var(--bdae93);
  1020. }
  1021. .instances th, .instances td{
  1022. padding:4px 7px;
  1023. width:0;
  1024. }
  1025. .instances .extend{
  1026. width:unset;
  1027. overflow:hidden;
  1028. max-width:200px;
  1029. }
  1030. .instances .popup-wrapper{
  1031. display:none;
  1032. position:fixed;
  1033. left:50%;
  1034. top:50%;
  1035. transform:translate(-50%, -50%);
  1036. width:800px;
  1037. max-width:100%;
  1038. max-height:100%;
  1039. overflow-x:auto;
  1040. padding:17px;
  1041. box-sizing:border-box;
  1042. pointer-events:none;
  1043. z-index:3;
  1044. }
  1045. .instances .popup{
  1046. border:1px solid var(--928374);
  1047. background:var(--282828);
  1048. padding:7px 10px;
  1049. pointer-events:initial;
  1050. }
  1051. .instances ul{
  1052. padding-left:20px;
  1053. }
  1054. .instances .go-back{
  1055. margin-top:17px;
  1056. display:inline-block;
  1057. }
  1058. /*
  1059. Responsive image
  1060. */
  1061. @media only screen and (max-width: 1454px){ #images .image-wrapper{ width:25%; } }
  1062. @media only screen and (max-width: 1161px){ #images .image-wrapper{ width:33.3333%; } }
  1063. @media only screen and (max-width: 750px){ #images .image-wrapper{ width:50%; } }
  1064. @media only screen and (max-width: 450px){ #images .image-wrapper{ width:100%; } }
  1065. /*
  1066. Responsive design
  1067. */
  1068. @media only screen and (max-width: 1550px){
  1069. .web .right-right,
  1070. .web .right-left{
  1071. float:none;
  1072. width:initial;
  1073. padding:0 0 0 15px;
  1074. }
  1075. .web .left,
  1076. .searchbox,
  1077. #images .infobox{
  1078. width:60%;
  1079. }
  1080. .web .right-wrapper{
  1081. width:40%;
  1082. }
  1083. }
  1084. @media only screen and (max-width: 1000px){
  1085. .nextpage.img{
  1086. width:initial;
  1087. }
  1088. .web .right-right,
  1089. .web .right-left{
  1090. border:none;
  1091. padding:0;
  1092. }
  1093. .web .right-wrapper{
  1094. float:none;
  1095. padding:0;
  1096. width:initial;
  1097. }
  1098. .web .left,
  1099. .searchbox{
  1100. width:100%;
  1101. }
  1102. body:not(.instances) table td{
  1103. display:block;
  1104. width:100%;
  1105. }
  1106. table a{
  1107. padding:0;
  1108. }
  1109. .web.has-answer .left::before{
  1110. display:block;
  1111. content:"Results";
  1112. font-size:24px;
  1113. font-weight:bold;
  1114. margin-bottom:17px;
  1115. color:var(--bdae93);
  1116. }
  1117. .web .answer{
  1118. max-height:200px;
  1119. }
  1120. .web .wiki-head tr td:first-child,
  1121. .web .info-table tr td:first-child{
  1122. text-decoration:underline;
  1123. }
  1124. #images .infobox{
  1125. width:100%;
  1126. }
  1127. }