style.css 16 KB

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