style.css 19 KB

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