Degoog light.css 25 KB

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