1
0

style.css 16 KB

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