Degoog dark.css 25 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495
  1. @charset "UTF-8";
  2. :root{
  3. --warning: #fbbc05;
  4. --bg: #25272e;
  5. --bg-light: #303134;
  6. --bg-hover: #3c4043;
  7. --border: #5f6368;
  8. --border-light: #303134;
  9. --text-primary: #dddddd;
  10. --text-secondary: #9aa0a6;
  11. --text-link: #8ab4f8;
  12. --text-link-visited: #c58af9;
  13. --text-cite: #bdc1c6;
  14. --text-snippet: #bdc1c6;
  15. --search-bar-bg: #303134;
  16. --search-bar-bg-hover: #303134;
  17. --btn-bg: #303134;
  18. --overlay-bg: rgba(0, 0, 0, 0.6);
  19. --white: #fff3f3;
  20. }
  21. :root {
  22. --gutter: clamp(
  23. 1rem,
  24. calc(1rem + max(0px, (100vw - 48rem) * 0.31)),
  25. 9.375rem
  26. );
  27. --main-width: 40.75rem;
  28. --sidebar-width: 21.25rem;
  29. --column-gap: 2.5rem;
  30. --bar-height: 2.75rem;
  31. --bar-radius: 1.5rem;
  32. --radius-xs: 0.1875rem;
  33. --radius-sm: 0.25rem;
  34. --radius-md: 0.375rem;
  35. --radius-lg: 0.5rem;
  36. --shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  37. --fast: 0.2s ease;
  38. --icon-search: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'><circle cx='11' cy='11' r='7'/><path d='M20 20l-4-4'/></svg>");
  39. --icon-chevron: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
  40. --1d2021: var(--bg);
  41. --282828: var(--bg-light);
  42. --3c3836: var(--bg-hover);
  43. --504945: var(--border-light);
  44. --928374: var(--text-secondary);
  45. --a89984: var(--text-snippet);
  46. --bdae93: var(--text-primary);
  47. --8ec07c: var(--success);
  48. --ebdbb2: var(--text-primary);
  49. --comment: var(--text-secondary);
  50. --default: var(--text-primary);
  51. --keyword: var(--warning);
  52. --string: var(--text-link);
  53. --green: var(--success);
  54. --yellow: var(--warning);
  55. --red: var(--danger);
  56. }
  57. *,
  58. *::before,
  59. *::after {
  60. box-sizing: border-box;
  61. }
  62. html {
  63. font-size: 100%;
  64. font-family: sans-serif;
  65. }
  66. body {
  67. margin: 0;
  68. padding: 0;
  69. max-width: none;
  70. min-height: 100vh;
  71. background: var(--bg);
  72. color: var(--text-primary);
  73. font-family: var(--font);
  74. font-size: 0.875rem;
  75. line-height: 1.5;
  76. word-wrap: anywhere;
  77. }
  78. input,
  79. select,
  80. button,
  81. textarea {
  82. font-family: var(--font);
  83. }
  84. a {
  85. color: var(--text-link);
  86. text-decoration: none;
  87. }
  88. a:hover {
  89. text-decoration: underline;
  90. }
  91. ::selection {
  92. background: rgba(var(--primary-rgb), 0.3);
  93. }
  94. ::-webkit-scrollbar {
  95. width: 0.5rem;
  96. height: 0.5rem;
  97. }
  98. ::-webkit-scrollbar-track {
  99. background: var(--bg);
  100. }
  101. ::-webkit-scrollbar-thumb {
  102. background: var(--border);
  103. border-radius: var(--radius-sm);
  104. }
  105. h1,
  106. h2,
  107. h3,
  108. h4,
  109. h5,
  110. h6 {
  111. color: var(--text-primary);
  112. font-weight: 500;
  113. line-height: 1.3;
  114. margin: 0 0 0.75rem;
  115. }
  116. h1 {
  117. font-size: 1.75rem;
  118. }
  119. h2 {
  120. font-size: 1.25rem;
  121. }
  122. h3 {
  123. font-size: 1.125rem;
  124. }
  125. h4,
  126. h5,
  127. h6 {
  128. font-size: 1rem;
  129. }
  130. b,
  131. strong {
  132. font-weight: 600;
  133. }
  134. hr {
  135. border: 0;
  136. border-top: 1px solid var(--border-light);
  137. margin: 1.5rem 0;
  138. }
  139. ul,
  140. ol {
  141. padding-left: 1.25rem;
  142. margin: 0.5rem 0;
  143. }
  144. .quote {
  145. font-style: normal;
  146. color: var(--text-secondary);
  147. background: var(--bg-light);
  148. border: 0;
  149. border-radius: var(--radius-lg);
  150. box-shadow: var(--shadow);
  151. margin: 1rem 0;
  152. padding: 0.75rem 1rem;
  153. }
  154. .navigation {
  155. position: absolute;
  156. top: 1.15rem;
  157. right: var(--gutter);
  158. left: auto;
  159. display: flex;
  160. align-items: center;
  161. gap: 0.75rem;
  162. font-size: 0.8125rem;
  163. line-height: 1.5;
  164. z-index: 2;
  165. }
  166. .navigation a {
  167. color: var(--text-secondary);
  168. text-decoration: none;
  169. }
  170. .navigation a:hover {
  171. color: var(--text-primary);
  172. text-decoration: none;
  173. }
  174. .navigation a:not(:last-child)::after {
  175. content: none;
  176. }
  177. .logo a {
  178. display: inline-block;
  179. text-decoration: none;
  180. }
  181. .home .logo {
  182. width: auto;
  183. max-width: none;
  184. height: auto;
  185. margin: 0 0 1.5rem;
  186. display: flex;
  187. align-items: center;
  188. justify-content: center;
  189. }
  190. .home .logo img {
  191. display: block;
  192. width: auto;
  193. max-width: min(100%, 22rem);
  194. height: auto;
  195. }
  196. body.home {
  197. display: flex;
  198. align-items: center;
  199. justify-content: center;
  200. min-height: 100vh;
  201. margin: 0;
  202. padding: 2rem 1rem 4rem;
  203. text-align: center;
  204. }
  205. .home #center {
  206. display: block;
  207. width: min(36.5rem, 100%);
  208. vertical-align: baseline;
  209. }
  210. .home form {
  211. display: block;
  212. margin-bottom: 1.75rem;
  213. }
  214. .home .searchbox {
  215. width: 100%;
  216. margin: 0 auto;
  217. text-align: left;
  218. }
  219. .home #center > a {
  220. color: var(--text-secondary);
  221. font-size: 0.8125rem;
  222. }
  223. .home #center > a:hover {
  224. color: var(--text-primary);
  225. text-decoration: none;
  226. }
  227. .home .subtext {
  228. margin-top: 1.25rem;
  229. color: var(--text-secondary);
  230. font-size: 0.75rem;
  231. line-height: 1.6;
  232. }
  233. .home .subtext a {
  234. color: var(--text-secondary);
  235. }
  236. .searchbox {
  237. display: flex;
  238. align-items: center;
  239. position: relative;
  240. width: 100%;
  241. max-width: 43.25rem;
  242. height: var(--bar-height);
  243. margin: 0;
  244. padding: 0 0.75rem;
  245. background: var(--search-bar-bg);
  246. border: 0;
  247. border-radius: var(--bar-radius);
  248. box-shadow: var(--shadow);
  249. transition:
  250. background var(--fast),
  251. box-shadow var(--fast);
  252. }
  253. .searchbox::before {
  254. content: "";
  255. flex-shrink: 0;
  256. width: 1.125rem;
  257. height: 1.125rem;
  258. margin-right: 0.75rem;
  259. background-color: var(--text-secondary);
  260. -webkit-mask: var(--icon-search) center/contain no-repeat;
  261. mask: var(--icon-search) center/contain no-repeat;
  262. }
  263. .searchbox:hover,
  264. .searchbox:focus-within {
  265. background: var(--search-bar-bg-hover);
  266. border: 0;
  267. box-shadow: 0 1px 6px rgba(0, 0, 0, 0.16);
  268. }
  269. .searchbox .wrapper {
  270. order: 1;
  271. flex: 1;
  272. min-width: 0;
  273. overflow: visible;
  274. }
  275. .searchbox input {
  276. all: unset;
  277. box-sizing: border-box;
  278. height: var(--bar-height);
  279. line-height: var(--bar-height);
  280. color: var(--text-primary);
  281. font-family: var(--font);
  282. }
  283. .searchbox input[type="text"] {
  284. width: 100%;
  285. padding-left: 0;
  286. font-size: 1rem;
  287. }
  288. .searchbox input[type="text"]::placeholder {
  289. color: var(--text-secondary);
  290. }
  291. .searchbox input[type="submit"] {
  292. order: 2;
  293. float: none;
  294. flex-shrink: 0;
  295. height: 2rem;
  296. line-height: 2rem;
  297. margin-left: 0.5rem;
  298. padding: 0 0.75rem;
  299. border-radius: var(--radius-sm);
  300. color: var(--text-secondary);
  301. font-size: 0.8125rem;
  302. font-weight: 500;
  303. cursor: pointer;
  304. transition:
  305. background var(--fast),
  306. color var(--fast);
  307. }
  308. .searchbox input[type="submit"]:hover {
  309. background: var(--bg-hover);
  310. color: var(--text-primary);
  311. text-decoration: none;
  312. }
  313. .searchbox:has(.autocomplete[style*="block"]) {
  314. border-radius: var(--bar-radius) var(--bar-radius) 0 0;
  315. box-shadow: 0 1px 6px rgba(0, 0, 0, 0.16);
  316. }
  317. .autocomplete {
  318. top: 100%;
  319. left: 0;
  320. right: 0;
  321. padding: 0.25rem 0 0.5rem;
  322. background: var(--search-bar-bg-hover);
  323. border: 0;
  324. border-radius: 0 0 var(--bar-radius) var(--bar-radius);
  325. box-shadow: 0 4px 6px rgba(0, 0, 0, 0.16);
  326. overflow: hidden;
  327. z-index: 100;
  328. }
  329. .autocomplete .entry {
  330. padding: 0.45rem 1rem 0.45rem 2.875rem;
  331. color: var(--text-primary);
  332. font-size: 1rem;
  333. line-height: 1.5;
  334. }
  335. .autocomplete .entry:hover,
  336. .autocomplete .entry:focus {
  337. background: var(--bg-hover);
  338. }
  339. body > form {
  340. display: grid;
  341. grid-template-columns: minmax(0, 1fr);
  342. align-items: center;
  343. column-gap: 1.25rem;
  344. padding: 1rem var(--gutter) 0;
  345. margin: 0;
  346. }
  347. body > form .searchbox {
  348. grid-column: 1;
  349. grid-row: 1;
  350. }
  351. body > form .tabs {
  352. grid-column: 1 / -1;
  353. grid-row: 2;
  354. }
  355. body > form .filters {
  356. grid-column: 1 / -1;
  357. grid-row: 3;
  358. }
  359. .tabs {
  360. display: flex;
  361. align-items: center;
  362. gap: 0.25rem;
  363. margin-top: 1rem;
  364. padding: 0 0 0 0.25rem;
  365. border-bottom: 1px solid var(--border-light);
  366. overflow-x: auto;
  367. scrollbar-width: none;
  368. }
  369. .tabs::-webkit-scrollbar {
  370. display: none;
  371. }
  372. .tabs .tab {
  373. display: inline-flex;
  374. align-items: center;
  375. padding: 0.75rem 1rem;
  376. color: var(--text-secondary);
  377. font-size: 0.8125rem;
  378. white-space: nowrap;
  379. border-bottom: 3px solid transparent;
  380. transition:
  381. color var(--fast),
  382. border-color var(--fast);
  383. }
  384. .tabs .tab:hover {
  385. color: var(--text-primary);
  386. text-decoration: none;
  387. }
  388. .tabs .tab.selected {
  389. color: var(--text-primary);
  390. border-bottom: 3px solid var(--text-primary);
  391. }
  392. .filters {
  393. display: flex;
  394. flex-wrap: wrap;
  395. align-items: center;
  396. gap: 0.5rem;
  397. margin: 0;
  398. padding: 0.75rem 0 0;
  399. overflow: visible;
  400. white-space: normal;
  401. }
  402. .filters .filter {
  403. display: inline-flex;
  404. align-items: center;
  405. gap: 0.5rem;
  406. margin: 0;
  407. padding: 0.375rem 0.75rem;
  408. background: var(--bg-light);
  409. border-radius: var(--radius-lg);
  410. box-shadow: var(--shadow);
  411. vertical-align: middle;
  412. }
  413. .filters .filter .title {
  414. margin: 0;
  415. color: var(--text-secondary);
  416. font-size: 0.8125rem;
  417. white-space: nowrap;
  418. }
  419. .filters .filter input,
  420. .filters .filter select {
  421. all: unset;
  422. display: block;
  423. width: auto;
  424. max-width: 11rem;
  425. height: 1.5rem;
  426. padding: 0;
  427. border: 0;
  428. border-radius: 0;
  429. background: transparent;
  430. color: var(--text-primary);
  431. font-family: var(--font);
  432. font-size: 0.8125rem;
  433. font-weight: 500;
  434. line-height: 1.5rem;
  435. cursor: pointer;
  436. }
  437. .filters .filter select {
  438. padding-right: 1.125rem;
  439. background-color: transparent;
  440. background-image: var(--icon-chevron);
  441. background-repeat: no-repeat;
  442. background-position: right center;
  443. background-size: 0.875rem;
  444. }
  445. .timetaken {
  446. margin: 0;
  447. padding: 1.25rem var(--gutter) 0.75rem;
  448. color: var(--text-secondary);
  449. font-size: 0.8125rem;
  450. font-weight: 400;
  451. }
  452. #overflow {
  453. overflow: visible;
  454. }
  455. #overflow.web {
  456. display: flex;
  457. align-items: flex-start;
  458. gap: var(--column-gap);
  459. padding: 0 var(--gutter) 3rem;
  460. }
  461. body > #overflow:first-child {
  462. padding-top: 2rem;
  463. }
  464. .web .left {
  465. float: none;
  466. order: 1;
  467. flex: 1;
  468. min-width: 0;
  469. width: auto;
  470. max-width: var(--main-width);
  471. }
  472. .web .right-wrapper {
  473. float: none;
  474. order: 2;
  475. flex-shrink: 0;
  476. width: var(--sidebar-width);
  477. padding-left: 0;
  478. overflow: visible;
  479. }
  480. .web .right-wrapper:not(:has(> div:not(:empty))) {
  481. display: none;
  482. }
  483. .web .right-right,
  484. .web .right-left {
  485. float: none;
  486. width: 100%;
  487. padding: 0;
  488. overflow: visible;
  489. }
  490. .web .text-result {
  491. margin: 0 0 2rem;
  492. padding: 0;
  493. }
  494. .web .url {
  495. display: flow-root;
  496. position: relative;
  497. line-height: 1.625rem;
  498. }
  499. .favicon {
  500. all: unset;
  501. float: left;
  502. display: flex;
  503. align-items: center;
  504. justify-content: center;
  505. flex-shrink: 0;
  506. width: 1.625rem;
  507. height: 1.625rem;
  508. margin-right: 0.625rem;
  509. border-radius: 50%;
  510. background: var(--bg-hover);
  511. cursor: pointer;
  512. }
  513. .web .favicon img {
  514. display: block;
  515. width: 1rem;
  516. height: 1rem;
  517. margin: 0;
  518. object-fit: contain;
  519. font-size: 0.625rem;
  520. line-height: 1;
  521. text-align: center;
  522. }
  523. .web .url .part {
  524. color: var(--text-cite);
  525. font-size: 0.875rem;
  526. }
  527. .web .url .part:hover {
  528. text-decoration: none;
  529. }
  530. .web .separator::before {
  531. content: "›";
  532. padding: 0 0.375rem;
  533. color: var(--text-secondary);
  534. font-size: 0.875rem;
  535. }
  536. .favicon-dropdown {
  537. top: 2rem;
  538. left: 0;
  539. padding: 0.25rem 0;
  540. background: var(--bg-light);
  541. border: 0;
  542. border-radius: var(--radius-lg);
  543. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  544. z-index: 20;
  545. }
  546. .favicon-dropdown::before {
  547. content: none;
  548. }
  549. .favicon-dropdown a {
  550. display: flex;
  551. align-items: center;
  552. gap: 0.5rem;
  553. padding: 0.4rem 0.875rem;
  554. color: var(--text-primary);
  555. font-size: 0.8125rem;
  556. line-height: 1.4;
  557. white-space: nowrap;
  558. }
  559. .favicon-dropdown a:hover {
  560. background: var(--bg-hover);
  561. text-decoration: none;
  562. }
  563. .favicon-dropdown img {
  564. float: none;
  565. width: 1rem;
  566. height: 1rem;
  567. margin: 0;
  568. flex-shrink: 0;
  569. }
  570. .web .hover {
  571. display: flow-root;
  572. clear: none;
  573. padding-top: 0;
  574. color: var(--text-snippet);
  575. }
  576. .web .text-result .title {
  577. margin: 0.125rem 0 0;
  578. color: var(--text-link);
  579. font-size: 1.25rem;
  580. font-weight: 400;
  581. line-height: 1.3;
  582. }
  583. .web .text-result a:visited .title {
  584. color: var(--text-link-visited) !important;
  585. }
  586. .web .text-result .hover:hover .title {
  587. text-decoration: underline;
  588. }
  589. .web .description {
  590. margin-top: 0.25rem;
  591. color: var(--text-snippet);
  592. font-size: 0.875rem;
  593. line-height: 1.58;
  594. white-space: pre-line;
  595. }
  596. .web .type {
  597. float: left;
  598. margin: 0.3rem 0.5rem 0 0;
  599. padding: 0 0.375rem;
  600. background: var(--bg-hover);
  601. border: 0;
  602. border-radius: var(--radius-sm);
  603. color: var(--text-secondary);
  604. font-size: 0.6875rem;
  605. font-weight: 500;
  606. line-height: 1.4;
  607. }
  608. .web .text-result .greentext {
  609. margin-top: 0.25rem;
  610. color: var(--text-secondary);
  611. font-size: 0.8125rem;
  612. }
  613. .web .text-result .author {
  614. font-style: normal;
  615. color: var(--text-secondary);
  616. }
  617. .thumb-wrap {
  618. float: right;
  619. width: 7.5rem;
  620. height: 5.625rem;
  621. margin: 0.25rem 0 0.5rem 0.75rem;
  622. background: var(--bg-light);
  623. border: 0;
  624. border-radius: var(--radius-lg);
  625. overflow: hidden;
  626. }
  627. .thumb-wrap.portrait {
  628. width: 4.25rem;
  629. }
  630. .thumb-wrap.square {
  631. width: 5.625rem;
  632. }
  633. .thumb-wrap .thumb {
  634. object-fit: cover;
  635. }
  636. .duration {
  637. right: 0.375rem;
  638. bottom: 0.375rem;
  639. padding: 1px 0.25rem;
  640. background: rgba(0, 0, 0, 0.75);
  641. border: 0;
  642. border-radius: var(--radius-xs);
  643. color: #fff;
  644. font-family: var(--font);
  645. font-size: 0.6875rem;
  646. line-height: 1.3;
  647. }
  648. .web .sublinks {
  649. padding: 0.75rem 0 0;
  650. font-size: 0.8125rem;
  651. color: var(--text-secondary);
  652. }
  653. .web .sublinks table td {
  654. padding-bottom: 0.75rem;
  655. }
  656. .web .sublinks .title {
  657. color: var(--text-link);
  658. font-size: 0.875rem;
  659. }
  660. .web .sublinks .description {
  661. font-size: 0.8125rem;
  662. line-height: 1.5;
  663. }
  664. .infobox,
  665. .web .answer-wrapper,
  666. .web .info-table,
  667. .web .wiki-head table,
  668. .about table,
  669. .related,
  670. .web .settings,
  671. .code,
  672. .nextpage,
  673. .web .spoiler-button {
  674. background: var(--bg-light);
  675. border: 0;
  676. border-radius: var(--radius-lg);
  677. box-shadow: var(--shadow);
  678. }
  679. .infobox {
  680. margin-bottom: 1rem;
  681. padding: 1rem;
  682. color: var(--text-primary);
  683. overflow: hidden;
  684. }
  685. .infobox h1 {
  686. font-size: 1.25rem;
  687. }
  688. .infobox h2 {
  689. font-size: 1.125rem;
  690. }
  691. .infobox a {
  692. color: var(--text-link);
  693. }
  694. .infobox ul {
  695. padding-left: 1.25rem;
  696. margin-bottom: 0;
  697. }
  698. .web .answer-wrapper {
  699. margin-bottom: 1rem;
  700. padding: 1rem;
  701. overflow: hidden;
  702. }
  703. .web .answer {
  704. padding-bottom: 0;
  705. max-height: 34rem;
  706. }
  707. .web .answer::after {
  708. height: 2.5rem;
  709. background: linear-gradient(transparent, var(--bg-light));
  710. }
  711. .web .answer-title {
  712. color: var(--text-primary);
  713. text-decoration: none;
  714. }
  715. .web .answer-title h1 {
  716. font-size: 1.375rem;
  717. margin-bottom: 0.5rem;
  718. }
  719. .web .spoiler-button {
  720. margin-top: 0.75rem;
  721. padding: 0 0.75rem;
  722. line-height: 2.25rem;
  723. color: var(--text-secondary);
  724. font-size: 0.8125rem;
  725. font-weight: 500;
  726. box-shadow: none;
  727. background: var(--bg-hover);
  728. }
  729. .web .spoiler-button:hover {
  730. color: var(--text-primary);
  731. text-decoration: none;
  732. }
  733. .web .wiki-head .photo {
  734. margin: 0 0 0.75rem 0.75rem;
  735. }
  736. .web .wiki-head .photo img {
  737. max-width: 9rem;
  738. max-height: 9rem;
  739. border-radius: var(--radius-lg);
  740. filter: none;
  741. }
  742. .web .wiki-head .description {
  743. padding-top: 0.5rem;
  744. color: var(--text-snippet);
  745. line-height: 1.58;
  746. }
  747. .web .wiki-head h2 {
  748. font-size: 1.125rem;
  749. margin: 1.25rem 0 0.5rem;
  750. }
  751. .web .wiki-head h2:first-child {
  752. margin-top: 0.5rem;
  753. }
  754. .web .wiki-head a {
  755. color: var(--text-link);
  756. }
  757. .web .wiki-head .socials {
  758. margin-top: 1rem;
  759. display: flex;
  760. flex-wrap: wrap;
  761. gap: 0.25rem;
  762. overflow: visible;
  763. }
  764. .web .wiki-head .socials a {
  765. float: none;
  766. display: flex;
  767. align-items: center;
  768. justify-content: center;
  769. width: 4.25rem;
  770. height: auto;
  771. padding: 0.625rem 0.25rem;
  772. border-radius: var(--radius-lg);
  773. color: var(--text-secondary);
  774. transition: background var(--fast);
  775. }
  776. .web .wiki-head .socials a:hover {
  777. background: var(--bg-hover);
  778. }
  779. .web .wiki-head .socials a:hover .title {
  780. text-decoration: none;
  781. color: var(--text-primary);
  782. }
  783. .web .wiki-head .socials img {
  784. width: 1.5rem;
  785. height: 1.5rem;
  786. line-height: 1.5rem;
  787. }
  788. .web .wiki-head .socials .title {
  789. margin-top: 0.5rem;
  790. font-size: 0.6875rem;
  791. line-height: 1.3;
  792. }
  793. .web .fullimg {
  794. margin: 0.5rem 0 1rem;
  795. border: 0;
  796. border-radius: var(--radius-lg);
  797. max-height: 11rem;
  798. }
  799. table {
  800. width: 100%;
  801. text-align: left;
  802. border-collapse: collapse;
  803. }
  804. table a {
  805. color: var(--text-link);
  806. }
  807. .web .info-table,
  808. .web .wiki-head table,
  809. .about table {
  810. margin: 0.75rem 0 0;
  811. overflow: hidden;
  812. color: var(--text-snippet);
  813. font-size: 0.8125rem;
  814. }
  815. .web .info-table td,
  816. .web .wiki-head td,
  817. .about table td {
  818. padding: 0.5rem 0.875rem;
  819. vertical-align: top;
  820. }
  821. .web .info-table tr td:first-child,
  822. .web .wiki-head tr td:first-child,
  823. .about table tr td:first-child {
  824. width: 34%;
  825. min-width: 0;
  826. padding-right: 0.875rem;
  827. color: var(--text-secondary);
  828. white-space: normal;
  829. }
  830. .web .info-table tr:nth-child(even),
  831. .web .wiki-head tr:nth-child(odd),
  832. .about table tr:nth-child(odd) {
  833. background: var(--bg-hover);
  834. }
  835. .related {
  836. margin: 0 0 2rem;
  837. padding: 0.25rem 0;
  838. overflow: hidden;
  839. }
  840. .related td {
  841. padding: 0;
  842. vertical-align: middle;
  843. }
  844. .related tr td:first-child {
  845. padding-right: 0;
  846. }
  847. .related a {
  848. display: flex;
  849. align-items: center;
  850. gap: 0.75rem;
  851. padding: 0.6rem 0.875rem;
  852. color: var(--text-primary);
  853. font-size: 0.875rem;
  854. line-height: 1.4;
  855. }
  856. .related a::before {
  857. content: "";
  858. flex-shrink: 0;
  859. width: 1rem;
  860. height: 1rem;
  861. background-color: var(--text-secondary);
  862. -webkit-mask: var(--icon-search) center/contain no-repeat;
  863. mask: var(--icon-search) center/contain no-repeat;
  864. }
  865. .related a:hover {
  866. background: var(--bg-hover);
  867. text-decoration: none;
  868. }
  869. .nextpage {
  870. display: inline-flex;
  871. align-items: center;
  872. gap: 0.5rem;
  873. width: auto;
  874. margin: 0 0 2rem;
  875. padding: 0 1.125rem;
  876. min-height: 2.25rem;
  877. color: var(--text-secondary);
  878. font-size: 0.8125rem;
  879. font-weight: 500;
  880. text-align: left;
  881. transition:
  882. background var(--fast),
  883. color var(--fast);
  884. }
  885. .nextpage:hover {
  886. background: var(--bg-hover);
  887. color: var(--text-primary);
  888. text-decoration: none;
  889. }
  890. .code {
  891. margin: 0.5rem 0 0.875rem;
  892. padding: 0.75rem 0.875rem;
  893. background: var(--bg-hover);
  894. color: var(--text-primary);
  895. font-family: var(--mono);
  896. font-size: 0.8125rem;
  897. box-shadow: none;
  898. overflow-x: auto;
  899. }
  900. .code-inline {
  901. display: inline;
  902. padding: 0.05rem 0.375rem;
  903. background: var(--bg-hover);
  904. border: 0;
  905. border-radius: var(--radius-sm);
  906. color: var(--text-primary);
  907. font-family: var(--mono);
  908. font-size: 0.8125rem;
  909. }
  910. .web .images {
  911. display: flex;
  912. flex-wrap: wrap;
  913. gap: 0.25rem;
  914. margin: 0.5rem 0 0;
  915. overflow: visible;
  916. font-size: 0;
  917. }
  918. .web .images .image {
  919. width: 5.5rem;
  920. height: 5.5rem;
  921. padding: 0;
  922. line-height: 0;
  923. border-radius: var(--radius-lg);
  924. background: var(--bg-hover);
  925. overflow: hidden;
  926. transition: opacity var(--fast);
  927. }
  928. .web .images .image:hover {
  929. opacity: 0.85;
  930. }
  931. .web .images .image img {
  932. width: 100%;
  933. height: 100%;
  934. max-width: none;
  935. max-height: none;
  936. object-fit: cover;
  937. vertical-align: top;
  938. }
  939. .web .images .duration {
  940. border: 0;
  941. right: 0.375rem;
  942. bottom: 0.375rem;
  943. }
  944. #images {
  945. display: grid;
  946. grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
  947. gap: 1rem 0.75rem;
  948. margin: 0;
  949. padding: 0.5rem var(--gutter) 1.5rem;
  950. overflow: visible;
  951. }
  952. #images .infobox {
  953. grid-column: 1 / -1;
  954. width: auto;
  955. max-width: var(--main-width);
  956. margin-bottom: 0.5rem;
  957. }
  958. #images .image-wrapper {
  959. float: none;
  960. width: auto;
  961. line-height: 1.4;
  962. }
  963. #images .image {
  964. width: auto;
  965. max-width: none;
  966. margin: 0;
  967. padding: 0;
  968. font-size: 0.8125rem;
  969. }
  970. #images .thumb {
  971. height: 11.25rem;
  972. margin-bottom: 0.5rem;
  973. border-radius: var(--radius-lg);
  974. background: var(--bg-hover);
  975. overflow: hidden;
  976. transition: opacity var(--fast);
  977. }
  978. #images .image:hover .thumb {
  979. opacity: 0.85;
  980. }
  981. #images img {
  982. object-fit: cover;
  983. }
  984. #images .duration {
  985. border: 0;
  986. }
  987. #images .image .title,
  988. #images .image .i-title-wrapper {
  989. margin-bottom: 0.125rem;
  990. color: var(--text-primary);
  991. font-size: 0.8125rem;
  992. font-weight: 400;
  993. text-overflow: ellipsis;
  994. }
  995. #images .image .description {
  996. height: auto;
  997. color: var(--text-secondary);
  998. font-size: 0.6875rem;
  999. white-space: nowrap;
  1000. text-overflow: ellipsis;
  1001. }
  1002. .nextpage.img {
  1003. width: auto;
  1004. margin: 0 var(--gutter) 3rem;
  1005. }
  1006. #popup-bg {
  1007. background: #000;
  1008. opacity: 0.92;
  1009. }
  1010. #popup-image {
  1011. background: transparent;
  1012. border: 0;
  1013. }
  1014. #popup-status {
  1015. height: 2.75rem;
  1016. background: var(--bg-light);
  1017. border: 0;
  1018. box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
  1019. }
  1020. #popup-num,
  1021. #popup-title {
  1022. padding: 0 0.875rem;
  1023. line-height: 2.75rem;
  1024. color: var(--text-primary);
  1025. font-size: 0.8125rem;
  1026. }
  1027. #popup-num {
  1028. font-weight: 600;
  1029. color: var(--text-secondary);
  1030. }
  1031. #popup-status select {
  1032. all: unset;
  1033. display: block;
  1034. width: 15rem;
  1035. height: 2rem;
  1036. margin-right: 0.75rem;
  1037. padding: 0 1.75rem 0 0.75rem;
  1038. background-color: var(--bg-hover);
  1039. background-image: var(--icon-chevron);
  1040. background-repeat: no-repeat;
  1041. background-position: right 0.625rem center;
  1042. background-size: 0.875rem;
  1043. border-radius: var(--radius-md);
  1044. color: var(--text-primary);
  1045. font-family: var(--font);
  1046. font-size: 0.8125rem;
  1047. line-height: 2rem;
  1048. cursor: pointer;
  1049. }
  1050. .captcha-wrapper {
  1051. border: 0;
  1052. border-radius: var(--radius-lg);
  1053. overflow: hidden;
  1054. box-shadow: var(--shadow);
  1055. }
  1056. .captcha-wrapper img {
  1057. background: var(--bg-light);
  1058. }
  1059. .captcha-wrapper input:checked + label::after {
  1060. border-right-color: var(--white);
  1061. border-bottom-color: var(--white);
  1062. }
  1063. .web .settings {
  1064. margin-top: 1rem;
  1065. padding: 1rem 1rem 0.25rem;
  1066. }
  1067. .web .settings h2 {
  1068. font-size: 1.125rem;
  1069. margin-bottom: 1rem;
  1070. }
  1071. .web .setting {
  1072. margin-bottom: 1.25rem;
  1073. }
  1074. .web .setting .title {
  1075. margin-bottom: 0.375rem;
  1076. color: var(--text-secondary);
  1077. font-size: 0.8125rem;
  1078. line-height: 1.5;
  1079. }
  1080. .web .setting .title i {
  1081. font-style: normal;
  1082. color: var(--text-secondary);
  1083. }
  1084. .web .settings select {
  1085. all: unset;
  1086. display: block;
  1087. box-sizing: border-box;
  1088. width: 100%;
  1089. max-width: 22rem;
  1090. height: 2.25rem;
  1091. padding: 0 2rem 0 0.75rem;
  1092. background-color: var(--bg);
  1093. background-image: var(--icon-chevron);
  1094. background-repeat: no-repeat;
  1095. background-position: right 0.75rem center;
  1096. background-size: 0.875rem;
  1097. border: 0;
  1098. border-radius: var(--radius-md);
  1099. color: var(--text-primary);
  1100. font-family: var(--font);
  1101. font-size: 0.875rem;
  1102. line-height: 2.25rem;
  1103. cursor: pointer;
  1104. }
  1105. .web .settings-submit {
  1106. display: flex;
  1107. align-items: center;
  1108. gap: 1rem;
  1109. margin: 1.25rem 0 0;
  1110. }
  1111. .web .settings-submit input {
  1112. all: unset;
  1113. order: 1;
  1114. height: 2.25rem;
  1115. padding: 0 1.25rem;
  1116. background: var(--primary);
  1117. border-radius: var(--radius-sm);
  1118. box-shadow: var(--shadow);
  1119. color: var(--white);
  1120. font-family: var(--font);
  1121. font-size: 0.875rem;
  1122. font-weight: 500;
  1123. line-height: 2.25rem;
  1124. cursor: pointer;
  1125. transition: background var(--fast);
  1126. }
  1127. .web .settings-submit input:hover {
  1128. background: var(--primary-hover);
  1129. }
  1130. .web .settings-submit a {
  1131. order: 2;
  1132. margin-right: 0;
  1133. color: var(--text-secondary);
  1134. font-size: 0.8125rem;
  1135. }
  1136. body.about {
  1137. margin: 0;
  1138. padding: 2rem var(--gutter) 4rem;
  1139. max-width: calc(var(--main-width) + var(--gutter) * 2);
  1140. }
  1141. .about a {
  1142. color: var(--text-link);
  1143. }
  1144. .about h1,
  1145. .about h2 {
  1146. margin-top: 1.75rem;
  1147. }
  1148. .about table {
  1149. margin-bottom: 1rem;
  1150. }
  1151. body.instances {
  1152. margin: 0;
  1153. padding: 2rem var(--gutter) 4rem;
  1154. }
  1155. .instances a {
  1156. color: var(--text-link);
  1157. }
  1158. .instances table {
  1159. margin-top: 1rem;
  1160. background: var(--bg-light);
  1161. border-radius: var(--radius-lg);
  1162. box-shadow: var(--shadow);
  1163. overflow: hidden;
  1164. }
  1165. .instances thead {
  1166. outline: 0;
  1167. background: var(--bg-hover);
  1168. color: var(--text-secondary);
  1169. font-size: 0.8125rem;
  1170. }
  1171. .instances tbody {
  1172. outline: 0;
  1173. top: 0;
  1174. }
  1175. .instances th,
  1176. .instances td {
  1177. padding: 0.5rem 0.875rem;
  1178. }
  1179. .instances th:hover {
  1180. background: var(--border-light);
  1181. }
  1182. .instances tbody tr:nth-child(even) {
  1183. background: var(--bg-hover);
  1184. }
  1185. .instances tbody tr:hover {
  1186. background: var(--border-light);
  1187. }
  1188. .instances .arrow {
  1189. border-top-color: var(--text-secondary);
  1190. }
  1191. .instances .arrow.up {
  1192. border-top-color: transparent;
  1193. border-bottom-color: var(--text-secondary);
  1194. }
  1195. .instances .popup {
  1196. background: var(--bg-light);
  1197. border: 0;
  1198. border-radius: var(--radius-lg);
  1199. box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  1200. padding: 1rem 1.25rem;
  1201. }
  1202. .instances .go-back {
  1203. margin-top: 1rem;
  1204. color: var(--text-secondary);
  1205. font-size: 0.8125rem;
  1206. }
  1207. @media only screen and (max-width: 1550px) {
  1208. .web .right-right,
  1209. .web .right-left {
  1210. padding: 0;
  1211. }
  1212. .web .left,
  1213. .searchbox,
  1214. #images .infobox {
  1215. width: auto;
  1216. }
  1217. .web .right-wrapper {
  1218. width: var(--sidebar-width);
  1219. }
  1220. }
  1221. @media only screen and (max-width: 1000px) {
  1222. #overflow.web {
  1223. flex-direction: column;
  1224. gap: 0;
  1225. }
  1226. .web .left,
  1227. .web .right-wrapper {
  1228. width: 100%;
  1229. max-width: none;
  1230. }
  1231. .web .right-wrapper {
  1232. order: 0;
  1233. margin-bottom: 1.5rem;
  1234. }
  1235. .web.has-answer .left::before {
  1236. display: none;
  1237. }
  1238. body:not(.instances) table td {
  1239. display: table-cell;
  1240. width: auto;
  1241. }
  1242. .related td {
  1243. display: block;
  1244. width: 100%;
  1245. }
  1246. .web .info-table tr td:first-child,
  1247. .web .wiki-head tr td:first-child {
  1248. text-decoration: none;
  1249. }
  1250. }
  1251. @media only screen and (max-width: 767px) {
  1252. .navigation {
  1253. position: static;
  1254. justify-content: flex-end;
  1255. padding: 1rem var(--gutter) 0;
  1256. }
  1257. body > form {
  1258. grid-template-columns: minmax(0, 1fr);
  1259. padding-top: 0.5rem;
  1260. }
  1261. body > form .searchbox {
  1262. grid-column: 1;
  1263. grid-row: 1;
  1264. max-width: none;
  1265. }
  1266. body > form .tabs {
  1267. grid-row: 2;
  1268. }
  1269. body > form .filters {
  1270. display: flex;
  1271. flex-wrap: nowrap;
  1272. overflow-x: auto;
  1273. padding-bottom: 0.5rem;
  1274. scrollbar-width: thin;
  1275. }
  1276. .web .answer {
  1277. max-height: 16rem;
  1278. }
  1279. .thumb-wrap {
  1280. width: 5rem;
  1281. height: 3.75rem;
  1282. }
  1283. }