style.css 19 KB

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