style.css 19 KB

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