/*
  PaperMod v6
  License: MIT https://github.com/adityatelange/hugo-PaperMod/blob/master/LICENSE
  Copyright (c) 2020 nanxiaobei and adityatelange
  Copyright (c) 2021-2022 adityatelange
*/
:root{--gap:24px;--content-gap:20px;--nav-width:1024px;--main-width:720px;--header-height:44px;--footer-height:70px;--radius:8px;--theme:#ffffff;--entry:#ffffff;--primary:#111111;--secondary:#6b6b6b;--tertiary:#e8e8e8;--gray:#a5a5a5;--content:#111111;--body:#3a3a3a;--hljs-bg:rgb(28, 29, 33);--code-bg:#f5f5f5;--border:#e8e8e8;--rule:#111111;--darkpurple:var(--primary);--midpurple:#d6d6d6;--lightpurple:#f0f0f0;--font-serif:'EB Garamond', Garamond, 'Times New Roman', serif;--font-sans:'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;--semibold:500;--homesize:16px;--textsize:18px;--h1size:25px;--entrysize:15px;--headersize:16px;--footersize:13px;--lineheight:1.6;--lineclamp:8;--marginleft:26px;--ease:cubic-bezier(.16, 1, .3, 1);color-scheme:light}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--theme:#0e0e0f;--entry:#161617;--primary:#f0f0ee;--secondary:#9a9a97;--tertiary:#2a2a2b;--content:#e4e4e2;--body:#c9c9c6;--hljs-bg:#161617;--code-bg:#1b1b1c;--border:rgba(240, 240, 238, .09);--rule:rgba(240, 240, 238, .35);--midpurple:#3a3a3b;--lightpurple:#222223;color-scheme:dark}}:root[data-theme=dark]{--theme:#0e0e0f;--entry:#161617;--primary:#f0f0ee;--secondary:#9a9a97;--tertiary:#2a2a2b;--content:#e4e4e2;--body:#c9c9c6;--hljs-bg:#161617;--code-bg:#1b1b1c;--border:rgba(240, 240, 238, .09);--rule:rgba(240, 240, 238, .35);--midpurple:#3a3a3b;--lightpurple:#222223;color-scheme:dark}.list{background:var(--theme)}*,::after,::before{box-sizing:border-box}html{-webkit-tap-highlight-color:transparent;overflow-y:scroll}a,button,body,h1,h2,h3,h4,h5,h6{color:var(--primary)}body{font-family:-apple-system,BlinkMacSystemFont,segoe ui,Roboto,Oxygen,Ubuntu,Cantarell,open sans,helvetica neue,sans-serif;font-size:18px;line-height:1.6;word-break:break-word;background:var(--theme)}article,aside,figcaption,figure,footer,header,hgroup,main,nav,section,table{display:block}h1,h2,h3,h4,h5,h6{line-height:1.2}h1,h2,h3,h4,h5,h6,p{margin-top:0;margin-bottom:0}ul{padding:0}a{text-decoration:none}body,figure,ul{margin:0}table{width:100%;border-collapse:collapse;border-spacing:0;overflow-x:auto;word-break:keep-all}button,input,textarea{padding:0;font:inherit;background:0 0;border:0}input,textarea{outline:0}button,input[type=button],input[type=submit]{cursor:pointer}input:-webkit-autofill,textarea:-webkit-autofill{box-shadow:0 0 0 50px var(--theme)inset}img{display:block;max-width:100%}.not-found{position:absolute;left:0;right:0;display:flex;align-items:center;justify-content:center;height:80%;font-size:160px;font-weight:700}.archive-posts{width:100%;font-size:16px}.archive-year{margin-top:40px}.archive-year-header{font-size:var(--h1size)}.archive-year:not(:last-of-type){border-bottom:2px solid var(--border)}.archive-month{display:flex;align-items:flex-start;padding:10px 0}.archive-month-header{margin:var(--homesize)0;width:200px;font-weight:var(--semibold);font-size:var(--homesize)}.archive-month:not(:last-of-type){border-bottom:2px solid var(--border)}.archive-entry{position:relative;padding:5px;margin:10px 0}.archive-entry-title{margin:5px 0;font-weight:400;font-size:var(--homesize)}.archive-count,.archive-meta{color:var(--secondary);font-size:14px}@font-face{font-family:eb garamond;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/eb-garamond-latin-ext.woff2)format('woff2');unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:eb garamond;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/eb-garamond-latin.woff2)format('woff2');unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:hanken grotesk;font-style:normal;font-weight:400 600;font-display:swap;src:url(/fonts/hanken-grotesk-latin-ext.woff2)format('woff2');unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:hanken grotesk;font-style:normal;font-weight:400 600;font-display:swap;src:url(/fonts/hanken-grotesk-latin.woff2)format('woff2');unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}body{font-family:var(--font-sans);-webkit-font-smoothing:antialiased}.footer,.top-link{font-size:var(--footersize);color:var(--secondary)}.footer{max-width:calc(var(--main-width) + var(--gap) * 2);margin:auto;padding:calc((var(--footer-height) - var(--gap))/2)var(--gap);text-align:start;line-height:20px}.footer a{color:var(--secondary)}.footer a:hover{color:var(--primary)}.top-link{visibility:hidden;position:fixed;bottom:60px;right:30px;z-index:99;background:var(--tertiary);width:42px;height:42px;padding:12px;border-radius:64px;transition:visibility .5s,opacity .8s linear}.top-link,.top-link svg{filter:drop-shadow(0 0 0 var(--theme))}.top-link:hover{color:var(--secondary)}.top-link:focus,#theme-toggle:focus{outline:0}.imprint{width:min(560px,calc(100vw - 32px));max-height:calc(100vh - 32px);padding:0;color:var(--primary);background:var(--entry);border:1px solid var(--primary);box-shadow:0 24px 60px rgba(0,0,0,.12);font-family:var(--font-sans)}.imprint::backdrop{background:rgba(128,128,128,.35);background:color-mix(in srgb,var(--theme) 75%,transparent);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}.imprint[open]{animation:imprintIn .3s var(--ease)}@keyframes imprintIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}.imprint-body{display:flex;flex-direction:column;gap:20px;padding:30px 32px 24px}.imprint-head{display:flex;justify-content:space-between;align-items:center}.imprint-head h2{margin:0;font-family:var(--font-serif);font-weight:400;font-size:26px}.imprint-close{display:flex;align-items:center;justify-content:center;width:44px;height:44px;margin-right:-12px;color:var(--primary);background:0 0;border:0;cursor:pointer}.imprint h3{margin:0 0 6px;font-size:10.5px;font-weight:500;letter-spacing:.09em;text-transform:uppercase;color:var(--secondary)}.imprint p{margin:0;font-size:13px;line-height:1.6}.imprint .imprint-small p{font-size:12px;color:var(--body)}.imprint .imprint-small p+p{margin-top:8px}.imprint-row{padding-bottom:20px;border-bottom:1px solid var(--border)}.imprint-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.imprint-stack{display:flex;flex-direction:column;gap:10px}.imprint a{color:var(--primary);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}@media screen and (max-width:480px){.imprint-grid{grid-template-columns:minmax(0,1fr)}}@media(prefers-reduced-motion:reduce){.imprint[open]{animation:none}}.nav{display:flex;flex-wrap:wrap;justify-content:space-between;margin-inline-start:auto;margin-inline-end:auto;line-height:var(--header-height);background:var(--code-bg)}.nav a{display:block}.logo,#menu{display:flex;margin:auto var(--gap)}.logo{flex-wrap:inherit}.logo a{font-size:var(--headersize);font-weight:var(--semibold)}.logo a img,.logo a svg{display:inline;vertical-align:middle;pointer-events:none;transform:translate(0,-10%);border-radius:6px;margin-inline-end:8px}button#theme-toggle{font-size:20px;margin:auto 4px}body.dark #moon{vertical-align:middle;display:none}body:not(.dark) #sun{display:none}#menu{list-style:none;word-break:keep-all;overflow-x:auto;white-space:nowrap}#menu li+li{margin-inline-start:var(--gap)}#menu a{font-size:var(--headersize);font-weight:400}#menu .active{border-bottom:2px solid var(--darkpurple)}.lang-switch li,.lang-switch ul,.logo-switches{display:inline-flex;margin:auto 4px}.lang-switch{display:flex;flex-wrap:inherit}.lang-switch a{margin:auto 3px;font-size:16px;font-weight:500}.logo-switches{flex-wrap:inherit}.main{position:relative;min-height:calc(100vh - var(--header-height) - var(--footer-height));max-width:calc(var(--main-width) + var(--gap) * 2);margin:auto;padding:var(--gap)}.page-header h1{font-size:var(--h1size)}.pagination{display:flex}.pagination a{color:var(--theme);font-size:13px;line-height:36px;background:var(--primary);border-radius:calc(36px/2);padding:0 16px}.pagination .next{margin-inline-start:auto}.social-icons{padding:12px 0}.social-icons a:not(:last-of-type){margin-inline-end:12px}.social-icons a svg{height:26px;width:26px}.social-icons a:hover{color:var(--darkpurple)}code{direction:ltr}div.highlight,pre{position:relative}.copy-code{display:none;position:absolute;top:4px;right:4px;color:rgba(255,255,255,.8);background:rgba(78,78,78,.8);border-radius:var(--radius);padding:0 5px;font-size:14px;user-select:none}div.highlight:hover .copy-code,pre:hover .copy-code{display:block}.first-entry{position:relative;display:flex;flex-direction:column;justify-content:center;min-height:200px;margin:var(--gap)0 calc(var(--gap) * 2)}.first-entry .entry-header{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:8}.first-entry .entry-header h1{font-size:34px;line-height:1.3}.first-entry .entry-content{margin:14px 0;font-size:16px;-webkit-line-clamp:8}.first-entry .entry-footer{font-size:14px}.home-info .entry-content{-webkit-line-clamp:unset}.post-entry{position:relative;margin-bottom:var(--gap);padding:var(--gap);background:var(--entry);border-radius:var(--radius);transition:transform .1s;border:2px solid var(--border)}.post-entry:hover{border:2px solid var(--midpurple)}.tag-entry .entry-cover{display:none}.entry-header h2{font-size:20px;line-height:var(--lineheight)}.entry-content{margin:20px 10px;color:var(--secondary);font-size:var(--entrysize);line-height:var(--lineheight);overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:8}.entry-footer{color:var(--content);font-size:var(--entrysize)}.entry-link{position:absolute;left:0;right:0;top:0;bottom:0}.entry-cover,.entry-isdraft{font-size:var(--entrysize);color:var(--secondary)}.entry-cover{margin-bottom:var(--gap);text-align:center}.entry-cover img{border-radius:var(--radius);pointer-events:none;width:90%;height:auto}.entry-cover a{color:var(--secondary);box-shadow:0 1px 0 var(--primary)}.page-header,.post-header{margin:24px auto var(--content-gap)}.post-title{margin-bottom:20px;font-size:36px}.post-description{margin-top:10px;margin-bottom:5px}.post-meta,.breadcrumbs{color:var(--secondary);font-size:15px}.post-meta .i18n_list li{display:inline-flex;list-style:none;margin:auto 3px;box-shadow:0 1px 0 var(--secondary)}.breadcrumbs a{font-size:15px}.post-content{color:var(--content);line-height:var(--lineheight);font-size:var(--textsize)}.post-content h3,.post-content h4,.post-content h5,.post-content h6{margin:24px 0 16px}.post-content h1{margin:40px auto 32px;font-size:40px}.post-content h2{margin:32px auto 24px;font-size:24px}.post-content h3{font-size:19px}.post-content h4{font-size:15px;font-weight:var(--semibold);text-transform:uppercase;color:var(--gray)}.post-content h5{font-size:14px;font-weight:var(--semibold);text-transform:uppercase;color:var(--gray)}.post-content h6{font-size:var(--footersize);color:var(--secondary)}.post-content a,.post-meta a,.toc a:hover{box-shadow:0 2px 0 var(--darkpurple);color:currentColor}} .post-content a code { margin: auto 0; border-radius: 0; box-shadow: 0 -1px 0 var(--primary) inset; } .post-content del { text-decoration: none; background: linear-gradient(to right,var(--primary) 100%,transparent 0) 0 50%/1px 1px repeat-x; } .post-content dl,.post-content ol,.post-content p,.post-content figure,.post-content ul { margin-bottom: var(--content-gap); } .post-content ol,.post-content ul { padding-inline-start: 20px; margin-left: var(--marginleft); } .post-content li { margin-top: 5px; } .post-content li::marker { color: var(--gray); } .post-content li p { margin-bottom: 0; } .post-content dl { display: flex; flex-wrap: wrap; margin: 0; } .post-content dt { width: 25%; font-weight: 700; } .post-content dd { width: 75%; margin-inline-start: 0; padding-inline-start: 10px; } .post-content dd~dd,.post-content dt~dt { margin-top: 10px; } .post-content table { margin-bottom: 32px; } .post-content table th,.post-content table:not(.highlighttable,.highlight table,.gist .highlight) td { min-width: 80px; padding: 12px 8px; line-height: var(--lineheight); border-bottom: 1px solid var(--border); } .post-content table th { font-size: 14px; text-align: start; } .post-content table:not(.highlighttable) td code:only-child { margin: auto 0; } .post-content .highlight table { border-radius: var(--radius); } .post-content .highlight:not(table) { margin: 10px auto; background: var(--hljs-bg) !important; border-radius: var(--radius); direction: ltr; } .post-content li>.highlight { margin-inline-end: 0; } .post-content ul pre { margin-inline-start: calc(var(--gap) * -2); } .post-content .highlight pre { margin: 0; } .post-content .highlighttable { table-layout: fixed; } .post-content .highlighttable td:first-child { width: 40px; } .post-content .highlighttable td .linenodiv { padding-inline-end: 0 !important; } .post-content .highlighttable td .highlight,.post-content .highlighttable td .linenodiv pre { margin-bottom: 0; } .post-content code { margin: auto 4px; padding: 4px 6px; font-size: 0.78em; line-height: var(--lineheight); background: var(--code-bg); border-radius: 2px; border: 1px solid var(--border); } .post-content pre code { display: block; margin: auto 0; padding: 10px; color: var(--gray); border-radius: var(--radius); overflow-x: auto; word-break: break-all; } .post-content blockquote { margin: 20px 0; padding: 0 14px; border-inline-start: 4px solid var(--gray); } .post-content hr { margin: 30px 0; height: 2px; background: var(--tertiary); border: 0; } .post-content iframe { max-width: 100%; } .post-content img { border-radius: 4px; margin: 1rem 0; } .post-content img[src*="#center"] { margin: 1rem auto; } .post-content figure.align-center { text-align: center; } .post-content figure>figcaption { color: var(--primary); font-size: 16px; font-weight: bold; margin: 8px 0 16px; } .post-content figure>figcaption>p { color: var(--secondary); font-size: 14px; font-weight: normal; } .toc { margin: 0 2px 20px 2px; border: 1px solid var(--border); background: var(--code-bg); border-radius: var(--radius); padding: 0.4em; } .toc li::marker { color: var(--gray); } .dark .toc { background: var(--entry); } .toc details summary { cursor: zoom-in; margin-inline-start: calc(var(--marginleft) - 12px); } .toc details[open] summary { cursor: zoom-out; } .toc .details { display: inline; font-weight: var(--semibold); text-transform: uppercase; font-size: 15px; } .toc .inner { margin: 0 calc(var(--marginleft) - 12px); padding: 10px 20px; font-size: 16px; } .toc li ul { margin-inline-start: var(--gap); } .toc summary:focus { outline: 0; } .post-footer { margin-top: 60px; } .post-tags li { display: inline-block; margin-inline-end: 5px; margin-bottom: 10px; } .post-tags a,.share-buttons,.paginav { border-radius: var(--radius); background: var(--code-bg); border: 1px solid var(--border); } .post-tags a { display: block; padding-inline-start: 10px; padding-inline-end: 10px; color: var(--secondary); font-size: 16px; line-height: 32px; background: var(--code-bg); } .post-tags a:hover { background: var(--lightpurple); } .paginav a:hover { background: var(--lightpurple); } .share-buttons { margin: 13px 0; padding-inline-start: var(--radius); display: flex; justify-content: center; overflow-x: auto; } .share-buttons a { margin-top: 10px; } .share-buttons a:not(:last-of-type) { margin-inline-end: 12px; } h1:hover .anchor,h2:hover .anchor,h3:hover .anchor,h4:hover .anchor,h5:hover .anchor,h6:hover .anchor { display: inline-flex; color: var(--darkpurple); margin-inline-start: 10px; font-weight: 700; user-select: none; box-shadow: 0 0px 0 var(--darkpurple); } .paginav { margin: 10px 0; display: flex; line-height: var(--lineheight); font-size: var(--footersize); border-radius: var(--radius); } .paginav a { padding-inline-start: 15px; padding-inline-end: 15px; border-radius: var(--radius); color: var(--secondary); } .paginav .title { letter-spacing: 1px; text-transform: uppercase; font-size: small; color: var(--secondary); } .paginav .prev,.paginav .next { width: 50%; } .paginav .next { margin-inline-start: auto; text-align: right; } [dir=rtl] .paginav .next { text-align: left; } h1>a>svg { display: inline; } img.in-text { display: inline; margin: auto; }.buttons,.main .profile { display: flex; } .main .profile { flex-direction: column; justify-content: center; gap: 18px; min-height: calc(100vh - var(--header-height) - var(--footer-height) - (var(--gap) * 2)); padding: 48px 0 24px; font-size: var(--homesize); line-height: var(--lineheight); } .profile_inner { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; } .profile .profile-photo { width: calc(170px - 34px * var(--shrink,0)); height: calc(170px - 34px * var(--shrink,0)); border-radius: 50%; object-fit: cover; filter: grayscale(var(--shrink,0)); animation: profileintrophoto .9s var(--ease) both; } .profile .profile-name { margin: 6px 0 0; font-family: var(--font-serif); font-weight: 400; font-size: calc(44px - 8px * var(--shrink,0)); line-height: 1.05; letter-spacing: -0.005em; color: var(--primary); animation: profileintroname .9s .15s var(--ease) both; } @keyframes profileintrophoto { from{opacity:0;transform:scale(.94)}to{opacity:1;transform:none}} @keyframes profileintroname { from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}} .profile-bio { margin: 0; color: var(--body); } .profile-bio a { color: var(--primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; } .profile-bio a:hover { opacity: .7; } .profile .social-icons { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 0 -11px; padding: 4px 0 14px; } .profile .social-icons a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--primary); transition: opacity .2s; } .profile .social-icons a:hover { opacity: .55; } .profile .social-icons svg { height: 21px; width: 21px; } .profile-sections { border-bottom: 1px solid var(--rule); } .ps-label { font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--secondary); } .profile-section summary { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--rule); cursor: pointer; list-style: none; user-select: none; color: var(--primary); } .profile-section summary::-webkit-details-marker { display: none; } .profile-section summary .ps-label { width: 84px; flex-shrink: 0; } .profile-section .ps-title { flex-grow: 1; font-family: var(--font-serif); font-size: 22px; line-height: 1.15; } .profile-section summary svg { flex-shrink: 0; transition: transform .25s var(--ease); } .profile-section .icon-v { transition: opacity .2s; } .profile-section[open]:not(.closing) .icon-v { opacity: 0; } .profile-section[open]:not(.closing) summary svg { transform: rotate(180deg); } .profile-section summary:hover .ps-title { opacity: .7; } .profile-section summary:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; } .profile-section-content { padding: 4px 0 24px; } @keyframes expandsection { from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}} @keyframes collapsesection { from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-6px)}} details[open] .profile-section-content { animation: expandsection .25s ease-out; } details.closing .profile-section-content { animation: collapsesection .2s ease-in forwards; } .article-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; background: var(--entry); border: 1px solid var(--border); } .article-card+.article-card { margin-top: 12px; } .article-title { margin: 0; font-family: var(--font-serif); font-weight: 400; font-size: 20px; line-height: 1.25; color: var(--primary); } .article-title a { color: inherit; text-decoration: none; background-image: linear-gradient(currentcolor,currentcolor); background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .35s var(--ease); } .article-title a:hover,.article-title a:focus-visible { background-size: 100% 1px; } .article-summary { margin: 0; font-size: 14px; line-height: 1.6; color: var(--body); } .article-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 10px; border-top: 1px solid var(--border); } .article-authors { font-size: 12px; color: var(--secondary); } .article-authors strong { color: var(--primary); font-weight: 600; } .article-foot a { display: flex; align-items: center; gap: 6px; min-height: 44px; font-size: 12px; font-weight: 500; white-space: nowrap; color: var(--primary); } .article-foot a:hover { opacity: .7; } .tool-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; } .tool-card { display: flex; flex-direction: column; gap: 6px; padding: 18px; background: var(--entry); border: 1px solid var(--border); color: var(--primary); transition: background .3s var(--ease),color .3s var(--ease),border-color .3s var(--ease); } .tool-icon { display: flex; margin-bottom: 12px; } .tool-kind { font-size: 10px; letter-spacing: .09em; text-transform: uppercase; color: var(--secondary); } .tool-name { font-size: 15px; font-weight: 600; letter-spacing: -0.005em; } .tool-tagline { margin-top: -3px; font-size: 12px; color: var(--secondary); } .tool-desc { flex-grow: 1; margin-top: 6px; font-size: 13px; line-height: 1.55; color: var(--body); } .tool-link { display: flex; align-items: center; gap: 5px; padding-top: 12px; font-size: 11px; font-weight: 500; } .tool-card:hover,.tool-card:focus-visible { background: var(--primary); border-color: var(--primary); color: var(--theme); outline: none; } .tool-card:hover .tool-desc,.tool-card:focus-visible .tool-desc,.tool-card:hover .tool-kind,.tool-card:focus-visible .tool-kind,.tool-card:hover .tool-tagline,.tool-card:focus-visible .tool-tagline { color: var(--theme); opacity: .8; } @media screen and (max-width: 720px) { .tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}} @media screen and (max-width: 480px) { .main .profile{padding-top:24px}.profile .profile-photo{width:calc(136px - 24px * var(--shrink,0));height:calc(136px - 24px * var(--shrink,0))}.profile .profile-name{font-size:calc(36px - 6px * var(--shrink,0))}.profile-section summary .ps-label{display:none}.tool-grid{grid-template-columns:minmax(0,1fr)}.article-foot{flex-direction:column;align-items:flex-start;gap:4px}} @media (prefers-reduced-motion: reduce) { .profile .profile-photo,.profile .profile-name,details[open] .profile-section-content,details.closing .profile-section-content{animation:none}} #searchbox input { padding: 4px 10px; width: 100%; color: var(--primary); border-radius: var(--radius); background: var(--entry); border: 1px solid var(--border); } #searchResults li { list-style: none; border-radius: var(--radius); padding: 10px; margin: 10px 0; position: relative; font-weight: 400; } #searchResults { margin: 10px 0; width: 100%; } #searchResults a { position: absolute; width: 100%; height: 100%; top: 0px; left: 0px; outline: none; } #searchResults .focus { border: 1px solid var(--midpurple); } .terms-tags li { display: inline-block; margin: 10px; font-weight: 400; } .terms-tags a { display: block; padding: 3px 10px; background: var(--entry); border-radius: 6px; transition: transform 0.1s; border: 1px solid var(--border); font-size: var(--homesize); } .terms-tags a:hover { background: var(--lightpurple); } .chroma { background-color: unset !important;} @media screen and (max-width: 768px) { :root{--gap:14px}.profile img{transform:scale(.85)}.first-entry{min-height:260px}.archive-month{flex-direction:column}.archive-year{margin-top:20px}.footer{padding:calc((var(--footer-height) - var(--gap) - 10px)/2)var(--gap)}} @media screen and (max-width: 900px) { .list .top-link{transform:translateY(-5rem)}} @media (prefers-reduced-motion) { .terms-tags a:active,.button:active,.post-entry:active,.top-link,#searchResults .focus,#searchResults li:active{transform:none}}@media screen and (max-width:768px){:root{--gap:28px}}@media screen and (max-width:380px){:root{--gap:22px}}.theme-toggle{position:fixed;top:16px;right:16px;z-index:100;display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;color:var(--primary);background:0 0;border:0;border-radius:50%;cursor:pointer;transition:opacity .2s}.theme-toggle:hover{opacity:.6}.theme-toggle:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.theme-toggle span{display:flex}.theme-toggle .i-sun{display:none}:root[data-theme=dark] .theme-toggle .i-sun{display:flex}:root[data-theme=dark] .theme-toggle .i-moon{display:none}@media(prefers-color-scheme:dark){:root:not([data-theme=light]) .theme-toggle .i-sun{display:flex}:root:not([data-theme=light]) .theme-toggle .i-moon{display:none}}body:not(.list) .theme-toggle{top:0}