1
0

style.css 16 KB

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