:root{--gap:24px;--content-gap:20px;--nav-width:1024px;--main-width:720px;--header-height:60px;--footer-height:60px;--radius:8px;--theme:#fff;--entry:#fff;--primary:#1e1e1e;--secondary:#6c6c6c;--tertiary:#d6d6d6;--content:#1f1f1f;--code-block-bg:#1c1d21;--code-bg:#f5f5f5;--border:#eee}.dark{--theme:#1d1e20;--entry:#2e2e33;--primary:#dadadb;--secondary:#9b9c9d;--tertiary:#414244;--content:#c4c4c5;--code-block-bg:#2e2e33;--code-bg:#37383e;--border:#333}.list{background:var(--code-bg)}.dark.list{background:var(--theme)}*,:after,:before{box-sizing:border-box}html{-webkit-tap-highlight-color:transparent;overflow-y:scroll}a,body,h1,h2,h3,h4,h5,h6{color:var(--primary)}body{word-break:break-word;background:var(--theme);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;font-size:18px;line-height:1.6}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{border-collapse:collapse;border-spacing:0;word-break:keep-all;width:100%;overflow-x:auto}img{max-width:100%;display:block}::-webkit-scrollbar-track{background:0 0}.list:not(.dark)::-webkit-scrollbar-track{background:var(--code-bg)}::-webkit-scrollbar-thumb{background:var(--tertiary);border:5px solid var(--theme);border-radius:var(--radius)}.list:not(.dark)::-webkit-scrollbar-thumb{border-color:var(--code-bg)}::-webkit-scrollbar-thumb:hover{background:var(--secondary)}.not-found{justify-content:center;align-items:center;height:80%;font-size:160px;font-weight:700;display:flex;position:absolute;left:0;right:0}.footer,.top-link{color:var(--secondary);font-size:12px}.footer{max-width:calc(var(--main-width) + var(--gap) * 2);padding:calc((var(--footer-height) - var(--gap)) / 2) var(--gap);text-align:center;margin:auto;line-height:24px}.footer span{margin-inline:1px}.footer span:last-child{white-space:nowrap}.footer a{color:inherit;border-bottom:1px solid var(--secondary)}.footer a:hover{border-bottom-color:var(--primary)}.top-link{visibility:hidden;z-index:99;background:var(--tertiary);width:42px;height:42px;filter:drop-shadow(0 0 0 var(--theme));border-radius:64px;padding:12px;transition:visibility .5s,opacity .8s linear;position:fixed;bottom:60px;right:30px}.top-link svg{filter:drop-shadow(0 0 0 var(--theme))}.top-link:hover{color:var(--primary)}.top-link:focus{outline:0}.nav{max-width:calc(var(--nav-width) + var(--gap) * 2);line-height:var(--header-height);flex-wrap:wrap;justify-content:space-between;margin-inline:auto;display:flex}.nav a{display:block}.logo,#menu{margin:auto var(--gap);display:flex}.logo{flex-wrap:inherit}.logo a{font-size:24px;font-weight:700}#menu{word-break:keep-all;white-space:nowrap;list-style:none;overflow-x:auto}#menu li+li{margin-inline-start:var(--gap)}#menu a{font-size:16px}#menu .active{border-bottom:2px solid;font-weight:500}.main{min-height:calc(100vh - var(--header-height) - var(--footer-height));max-width:calc(var(--main-width) + var(--gap) * 2);padding:var(--gap);margin:auto;position:relative}.social-icons{padding:12px 0}.social-icons a:not(:last-of-type){margin-inline-end:12px}.social-icons a svg{width:26px;height:26px}.first-entry{min-height:320px;margin:var(--gap) 0 calc(var(--gap) * 2);flex-direction:column;justify-content:center;display:flex;position:relative}.first-entry .entry-header{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.first-entry .entry-header h1{font-size:34px;line-height:1.3}.first-entry .entry-content{-webkit-line-clamp:3;margin:14px 0;font-size:16px}.first-entry .entry-footer{font-size:14px}.home-info .entry-content{-webkit-line-clamp:unset}.post-entry{margin-bottom:var(--gap);padding:var(--gap);background:var(--entry);border:1px solid var(--border);border-radius:var(--radius);transition:transform .1s;position:relative}.post-entry:active{transform:scale(.96)}.entry-header h2{font-size:24px;line-height:1.3}.entry-content{color:var(--secondary);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:8px 0;font-size:14px;line-height:1.6;display:-webkit-box;overflow:hidden}.entry-footer{color:var(--secondary);font-size:13px}.entry-link{position:absolute;inset:0}.entry-cover{color:var(--secondary);margin-bottom:var(--gap);text-align:center;font-size:14px}.entry-cover img{border-radius:var(--radius);pointer-events:none;width:100%;height:auto}.post-header{margin:24px auto var(--content-gap)}.post-meta{color:var(--secondary);flex-wrap:wrap;font-size:14px;display:flex}.post-content{color:var(--content)}.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:32px}.post-content h3{font-size:24px}.post-content h4{font-size:16px}.post-content h5{font-size:14px}.post-content h6{font-size:12px}.post-content a{box-shadow:0 1px}.post-content a code{box-shadow:0 -1px 0 var(--primary) inset;border-radius:0;margin:auto 0}.post-content del{background:linear-gradient(to right, var(--primary) 100%, transparent 0) 0 / 1px 1px repeat-x;text-decoration:none}.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}.post-content li{margin-top:5px}.post-content li p{margin-bottom:0}.post-content dl{flex-wrap:wrap;margin:0;display:flex}.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(.gist .highlight) td{border-bottom:1px solid var(--border);min-width:80px;padding:12px 8px;line-height:1.5}.post-content table th{text-align:start;font-size:14px}.post-content table:not(.gist .highlight) td code:only-child{margin:auto 0}.post-content code{background:var(--code-bg);direction:ltr;border-radius:2px;margin:auto 4px;padding:4px 6px;font-size:.78em;line-height:1.5}.post-content pre{border-radius:var(--radius);margin:10px auto;background:var(--code-block-bg)!important}.post-content pre code{color:#d5d5d6;word-break:break-all;background:0 0;border-radius:0;margin:auto 0;padding:10px;display:block;overflow-x:auto}.post-content blockquote{border-inline-start:3px solid var(--primary);margin:20px 0;padding:0 14px}.post-content hr{background:var(--tertiary);border:0;height:2px;margin:30px 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);margin:8px 0 16px;font-size:16px;font-weight:700}.post-content figure>figcaption>p{color:var(--secondary);font-size:14px;font-weight:400}.gist table::-webkit-scrollbar-thumb{background:#adadad;border:2px solid #fff}.gist table::-webkit-scrollbar-thumb:hover{background:#707070}.post-content :not(table) ::-webkit-scrollbar-thumb{border:2px solid var(--code-block-bg);background:#717175}.post-content :not(table) ::-webkit-scrollbar-thumb:hover{background:#a3a3a5}.post-content table::-webkit-scrollbar-thumb{border-width:2px}@media screen and (width<=768px){:root{--gap:14px}.first-entry{min-height:260px}.footer{padding:calc((var(--footer-height) - var(--gap) - 10px) / 2) var(--gap)}}@media screen and (width>=768px){::-webkit-scrollbar{width:19px;height:11px}}@media screen and (width<=900px){.list .top-link{transform:translateY(-5rem)}}@media (prefers-reduced-motion:reduce){.post-entry:active{transform:none}.top-link{transition:none}}.nav,.footer{max-width:calc(var(--main-width) + var(--gap) * 2)}html{scroll-behavior:smooth}body{font-family:SF Pro TC,SF Pro Text,SF Pro Icons,PingFang TC,Helvetica Neue,Helvetica,Arial,sans-serif}#menu :not(.active){color:var(--secondary)}#menu .active{color:var(--primary);font-weight:unset;border:none}.post-content blockquote{background:var(--code-bg);color:var(--secondary);font-size:.9em}.post-content img,.entry-cover img{object-fit:contain;max-height:680px}.post-cover img{max-height:520px}.gist-embed{margin:1.5rem 0;overflow-x:auto}.gist-embed .gist{min-width:min(100%,640px)}
