.flex-container { width: 720px; margin: 0 auto; } html { font-size: 18px; } @media (max-width: 1600px) { html { font-size: 18px; } .flex-container { width: 720px; } } @media (max-width: 1200px) { html { font-size: 18px; } .flex-container { width: 640px; } } @media (max-width: 688px) { html { font-size: 16px; } .flex-container { display: block; width: calc(100% - 32px); padding-left: 16px; padding-right: 16px; } } /* normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */ html { line-height: 1.15 /* 1 */; -webkit-text-size-adjust: 100% /* 2 */; } body { margin: 0; } h1 { font-size: 2em; margin: 0.67em 0; } hr { box-sizing: content-box /* 1 */; height: 0 /* 1 */; overflow: visible /* 2 */; } pre { font-family: monospace, monospace /* 1 */; font-size: 1em /* 2 */; } a { background-color: transparent; } abbr[title] { border-bottom: none /* 1 */; text-decoration: underline /* 2 */; text-decoration: underline dotted /* 2 */; } b, strong { font-weight: 400; } code, kbd, samp { font-family: monospace, monospace /* 1 */; font-size: 1em /* 2 */; } small { font-size: 80%; } sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } sub { bottom: -0.25em; } sup { top: -0.5em; } img { border-style: none; } button, input, optgroup, select, textarea { font-family: inherit /* 1 */; font-size: 100% /* 1 */; line-height: 1.15 /* 1 */; margin: 0 /* 2 */; } button, input { overflow: visible; } button, select { text-transform: none; } button, [type="button"], [type="reset"], [type="submit"] { -webkit-appearance: button; } button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner { border-style: none; padding: 0; } button:-moz-focusring, [type="button"]-moz-focusring, [type="reset"]-moz-focusring, [type="submit"]-moz-focusring { outline: 1px dotted ButtonText; } fieldset { padding: 0.35em 0.75em 0.625em; } legend { box-sizing: border-box /* 1 */; color: inherit /* 2 */; display: table /* 1 */; max-width: 100% /* 1 */; padding: 0 /* 3 */; white-space: normal /* 1 */; } progress { vertical-align: baseline; } textarea { overflow: auto; } [type="checkbox"], [type="radio"] { box-sizing: border-box /* 1 */; padding: 0 /* 2 */; } [type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button { height: auto; } [type="search"] { -webkit-appearance: textfield /* 1 */; outline-offset: -2px /* 2 */; } [type="search"]::-webkit-search-decoration { -webkit-appearance: none; } ::-webkit-file-upload-button { -webkit-appearance: button /* 1 */; font: inherit /* 2 */; } details { display: block; } summary { display: list-item; } template { display: none; } [hidden] { display: none; } .highlight { color: #333; background: #f8f8f8; } .highlight .code .comment, .highlight .code .quote { color: #998; font-style: italic; } .highlight .code .keyword, .highlight .code .selector-tag, .highlight .code .subst { color: #333; font-weight: normal; } .highlight .code .number, .highlight .code .literal, .highlight .code .variable, .highlight .code .template-variable, .highlight .code .tag .attr { color: #008080; } .highlight .code .string, .highlight .code .doctag { color: #d14; } .highlight .code .title, .highlight .code .section, .highlight .code .selector-id { color: #900; font-weight: normal; } .highlight .code .subst { font-weight: normal; } .highlight .code .type, .highlight .code .class .title { color: #458; font-weight: normal; } .highlight .code .tag, .highlight .code .name, .highlight .code .attribute { color: #000080; font-weight: normal; } .highlight .code .regexp, .highlight .code .link { color: #009926; } .highlight .code .symbol, .highlight .code .bullet { color: #990073; } .highlight .code .built_in, .highlight .code .builtin-name { color: #0086b3; } .highlight .code .meta { color: #999; font-weight: normal; } .highlight .code .deletion { background: #fdd; } .highlight .code .addition { background: #dfd; } .highlight .code .emphasis { font-style: italic; } .highlight .code .strong { font-weight: normal; } @font-face { font-family: 'TensentypeCode'; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/TensentypeCode.woff2") format('woff2'); } body { margin: 0; } .wrapper { display: flex; flex-direction: column; min-height: 100vh; padding-top: 3rem; } .main { flex-grow: 1; margin: 0; padding: 0; } div { display: block; padding: 0; margin: 0; } ul { list-style: none; padding: 0; margin: 0; } *, *::before, *::after { box-sizing: border-box; } a { text-decoration: none; color: #09090b; } input { outline: none; border: none; } body { font-family: 'TensentypeCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 400; font-size: 0.9375rem; line-height: 1.375rem; color: #09090b; background-color: #fff; } input[type=search]::-ms-clear { display: none; width: 0; height: 0; } input[type=search]::-ms-reveal { display: none; width: 0; height: 0; } input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-results-button, input[type="search"]::-webkit-search-results-decoration { display: none; } .header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid #e4e4e7; font-family: 'TensentypeCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 400; font-size: 0.8125rem; line-height: 1.125rem; color: #09090b; } @supports not (backdrop-filter: blur(12px)) { .header { background: #fff; } } @media (max-width: 688px) { @supports not (backdrop-filter: blur(12px)) { .header-inner .site-nav .menu-list { background: #fff; } } } .header-inner { display: flex; flex-wrap: nowrap; align-items: center; height: 3rem; } .header-inner #menu-btn { display: none; } .header-inner .site-nav { flex-grow: 1; overflow-x: auto; } .site-brand-container a { font-weight: 400; color: #09090b; } .menu-list { text-align: right; display: flex; } .menu-list:before { content: ""; flex-grow: 1; } .menu-item { position: relative; margin-left: 1.5rem; } .menu-item:after { content: ""; transition: width 200ms ease; position: absolute; left: 0; bottom: 0; width: 0; border-bottom: solid 1px #2563eb; } .menu-item:hover:after { width: 100%; } .menu-item-active:after { border-bottom: solid 2px #2563eb; width: 100%; } .logo-img { max-height: 2rem; width: auto; max-width: 100%; display: flex; } @media (max-width: 688px) { .header { overflow: visible; } .header-inner { flex-wrap: wrap; align-items: center; height: 3rem; padding-top: 0; padding-bottom: 0; } .header-inner #menu-btn { display: flex !important; align-items: center; justify-content: flex-end; width: 50%; height: 100%; cursor: pointer; color: #09090b; transition: color 200ms ease; } .header-inner #menu-btn:hover { color: #2563eb; } .header-inner .site-brand-container { display: flex; align-items: center; width: 50%; height: 100%; } .header-inner .site-nav { width: 100%; } .header-inner .site-nav .menu-list { display: flex; flex-direction: column; max-height: 0; overflow: hidden; margin-top: 0; background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid #e4e4e7; transition: max-height 300ms ease-out; text-align: left; } .header-inner .site-nav .menu-list.active { max-height: 400px; } .header-inner .site-nav .menu-list .menu-item { margin: 0; padding: 0.5rem 0.75rem; border-bottom: 1px solid #e4e4e7; } .header-inner .site-nav .menu-list .menu-item:last-child { border-bottom: none; } .header-inner .site-nav .menu-list .menu-item a { display: block; } } .footer { margin-top: auto; border-top: 1px solid #e4e4e7; font-family: 'TensentypeCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 400; font-size: 0.6875rem; line-height: 1.125rem; color: #71717a; } .footer .footer-text { margin-top: 0.5rem; margin-bottom: 0.5rem; } @media (max-width: 688px) { .footer { margin-top: 1.5rem; } .footer .footer-text { font-size: 0.625rem; margin-top: 0.125rem; margin-bottom: 0.125rem; } } .post-list a { background-image: linear-gradient(#fff, #fff), linear-gradient(#2563eb, #2563eb); background-size: 100% 1px, 0% 1px; background-position: 100% 100%, 0 100%; background-repeat: no-repeat, no-repeat; transition: background-size 200ms ease; } .post-list a:hover { background-size: 0 1px, 100% 1px; } .year-title { margin-top: 2rem; margin-bottom: 0.75rem; font-family: 'TensentypeCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 400; font-size: 1.625rem; line-height: 2rem; color: #a1a1aa; } .post-list-item { display: flex; flex-wrap: nowrap; margin-top: 0.5rem; align-items: top; } .post-list-item .post-title { flex-grow: 1; font-family: 'TensentypeCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 400; font-size: 0.9375rem; line-height: 1.375rem; color: #09090b; } .post-list-item .post-date { margin-left: 1.5rem; min-width: 8rem; text-align: right; font-family: 'TensentypeCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 400; font-size: 0.8125rem; line-height: 1.125rem; color: #71717a; line-height: 1.375rem; color: #71717a; } @media (max-width: 480px) { .post-list-item { flex-wrap: wrap; } .post-list-item .post-title { width: 100%; } .post-list-item .post-date { margin-left: 0; width: 100%; text-align: left; } } .post-gallery-list .h-line-secondary { margin-top: 0.75rem; } .post-gallery-list .h-line-secondary:last-child { display: none; } .post-gallery-item { display: flex; margin-top: 2rem; margin-bottom: 0.5rem; } .post-gallery-item .post-info { margin-right: 1.5rem; width: 50%; display: flex; flex-direction: column; } .post-gallery-item .post-info .post-title { margin-bottom: 0.75rem; font-family: 'TensentypeCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 400; font-size: 1.625rem; line-height: 2rem; color: #09090b; } .post-gallery-item .post-info .post-date { font-family: 'TensentypeCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 400; font-size: 0.8125rem; line-height: 1.125rem; color: #71717a; } .post-gallery-item .post-img { width: 50%; } .post-gallery-item a { background-image: linear-gradient(#fff, #fff), linear-gradient(#2563eb, #2563eb); background-size: 100% 1px, 0% 1px; background-position: 100% 100%, 0 100%; background-repeat: no-repeat, no-repeat; transition: background-size 200ms ease; } .post-gallery-item a:hover { background-size: 0 1px, 100% 1px; } @media (max-width: 480px) { .post-gallery-item { flex-wrap: wrap; } .post-gallery-item .post-info { width: 100%; } .post-gallery-item .post-img { width: 100%; margin-top: 0.75rem; } } .paginator { margin-top: 2rem; } .pagination { margin-top: 0.75rem; font-family: 'TensentypeCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 400; font-size: 0.8125rem; line-height: 1.125rem; color: #09090b; display: flex; } .pagination:before { content: ""; flex-grow: 1; } .page-number { position: relative; margin-left: 1.5rem; } .page-number:after { content: ""; transition: width 200ms ease; position: absolute; left: 0; bottom: 0; width: 0; border-bottom: solid 1px #2563eb; } .page-number:hover:after { width: 100%; } .pagination .current:after { border-bottom: solid 2px #2563eb; width: 100%; } .pagination .space { margin-left: 1.5rem; } @media (max-width: 688px) { .paginator { margin-top: 0.75rem; margin-bottom: 0.75rem; } } .profile { margin-top: 20vh; display: flex; flex-direction: row-reverse; align-items: center; } .profile .profile-content { width: 50%; margin: 0 1.5rem 0 0; } .profile .profile-content .profile-title { margin-top: 0; margin-bottom: 0.5rem; } .profile .profile-content .profile-body { margin-top: 0; margin-bottom: 0.75rem; color: #71717a; } .profile .profile-content .profile-title { font-family: 'TensentypeCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 400; font-size: 1.625rem; line-height: 2rem; color: #09090b; } .profile .profile-content .profile-body { font-family: 'TensentypeCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 400; font-size: 0.9375rem; line-height: 1.375rem; color: #09090b; } .profile .profile-content .profile-link { margin-top: 0; margin-bottom: 0.75rem; font-size: 0.9375rem; } .profile .profile-content .profile-link a { text-decoration: underline; text-underline-offset: 3px; transition: color 200ms ease; } .profile .profile-content .profile-link a:hover { color: #2563eb; } .profile .profile-image { width: 50%; display: flex; align-items: center; justify-content: center; } .profile .profile-image img { max-width: 100%; max-height: 35vh; object-fit: contain; } @media (max-width: 480px) { .profile { flex-wrap: wrap; align-items: flex-start; margin-top: 1.5rem; } .profile .profile-content { width: 100%; margin-top: 0.5rem; } .profile .profile-content .profile-link { font-size: 0.875rem; } .profile .profile-image { width: 100%; } .profile .profile-image img { max-height: 25vh; } } .search-page { max-width: 720px; margin: 0 auto; padding: 1.5rem 0.75rem; } .search-input-container { margin-bottom: 1.5rem; } .search-input { width: 100%; padding: 0.75rem 1rem; font-size: 0.9375rem; border: 1px solid #e4e4e7; border-radius: 0.25rem; background: #fff; font-family: 'TensentypeCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 400; } .search-input:focus { outline: none; border-color: #2563eb; } .search-result-container { min-height: 200px; } .search-result-message { color: #71717a; padding: 1.5rem 0; text-align: center; } .search-result-list { list-style: none; padding: 0; margin: 0; } .search-result-item { padding: 0.75rem 0; border-bottom: 1px solid #e4e4e7; } .search-result-item:last-child { border-bottom: none; } .search-result-item .search-result-title { margin-bottom: 0.25rem; font-size: 0.9375rem; } .search-result-item .search-result-title a { color: #2563eb; text-decoration: none; } .search-result-item .search-result-title a:hover { text-decoration: underline; } .search-result-item .search-result { font-family: 'TensentypeCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 400; font-size: 0.9375rem; line-height: 1.375rem; color: #09090b; color: #09090b; margin-top: 0.25rem; margin-bottom: 0; } .search-result-item mark { color: #09090b; background-color: #fde68a; } .post-content { margin-top: 2rem; } h1, h2, h3, h4, h5, h6 { margin-top: 1.5rem; margin-bottom: 0.75rem; } h1 { font-family: 'TensentypeCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 400; font-size: 1.625rem; line-height: 2rem; color: #09090b; } h2 { font-family: 'TensentypeCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 400; font-size: 1.375rem; line-height: 1.75rem; color: #09090b; } h3 { font-family: 'TensentypeCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 400; font-size: 1.0625rem; line-height: 1.375rem; color: #09090b; } h4 { font-family: 'TensentypeCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 400; font-size: 0.9375rem; line-height: 1.25rem; color: #09090b; } h5 { font-family: 'TensentypeCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 400; font-size: 0.875rem; line-height: 1.125rem; color: #09090b; } h6 { font-family: 'TensentypeCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 400; font-size: 0.875rem; line-height: 1.125rem; color: #09090b; } p { font-family: 'TensentypeCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 400; font-size: 0.9375rem; line-height: 1.375rem; color: #09090b; } strong { font-family: 'TensentypeCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 400; font-size: 0.9375rem; line-height: 1.375rem; color: #09090b; } em { font-family: 'TensentypeCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 400; font-size: 0.9375rem; font-style: italic; line-height: 1.375rem; color: #09090b; } del { font-family: 'TensentypeCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 400; font-size: 0.9375rem; line-height: 1.375rem; text-decoration: line-through; color: #09090b; } .post-content a { padding-bottom: 2px; background-image: linear-gradient(#09090b, #09090b), linear-gradient(#2563eb, #2563eb); background-size: 100% 1px, 0 2px; background-position: 100% 100%, 0 100%; background-repeat: no-repeat, no-repeat; transition: background-size 200ms ease; } .post-content a:hover { background-size: 100% 1px, 100% 2px; } blockquote { margin-left: 0; margin-right: 0; margin-top: 1rem; border-left: 0.25rem solid #71717a; } blockquote p { margin-left: 1rem; margin-top: 0; margin-bottom: 0; margin-right: 1rem; padding-top: 0.5rem; padding-bottom: 0.5rem; } blockquote blockquote { margin-left: 1rem; margin-top: 0; margin-bottom: 0; } .post-content li { font-family: 'TensentypeCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 400; font-size: 0.9375rem; line-height: 1.375rem; color: #09090b; margin-top: 0.5rem; } .post-content ol { padding-left: 1.5rem; margin-left: 0.75rem; margin-right: 0.75rem; margin-top: 1rem; } .post-content ol ol { margin-top: 0.5rem; } .post-content ul { padding-left: 1.5rem; margin-left: 0.75rem; margin-right: 0.75rem; margin-top: 1rem; } .post-content ul ul { margin-top: 0.5rem; } .post-content ul li { list-style-type: disc; } .post-content .task-list { padding-left: 0; } .post-content .task-list .task-list-item { list-style: none; } dl dt { padding: 0.5rem 0; font-family: 'TensentypeCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 400; font-size: 0.9375rem; line-height: 1.375rem; color: #09090b; } dl dt::after { content: " :"; } dl dd { margin: 0; } .post-head { margin-top: 2rem; } .post-head .post-info { width: 100%; display: flex; flex-direction: column; } .post-head .post-info .post-title { margin-bottom: 0.75rem; font-family: 'TensentypeCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 400; font-size: 1.625rem; line-height: 2rem; color: #09090b; } .post-head .post-info .post-date { font-family: 'TensentypeCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 400; font-size: 0.8125rem; line-height: 1.125rem; color: #71717a; } .post-head .post-img { margin-top: 2rem; } .post-footer { margin-top: 2rem; } .post-footer a { background-image: linear-gradient(#fff, #fff), linear-gradient(#2563eb, #2563eb); background-size: 100% 1px, 0% 1px; background-position: 100% 100%, 0 100%; background-repeat: no-repeat, no-repeat; transition: background-size 200ms ease; } .post-footer a:hover { background-size: 0 1px, 100% 1px; } .post-nav { margin-top: 0.75rem; display: flex; flex-wrap: wrap; font-family: 'TensentypeCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 400; font-size: 0.8125rem; line-height: 1.125rem; color: #09090b; } .post-nav .prev-item { display: flex; text-align: left; min-width: 50%; align-items: center; } .post-nav .prev-item .arrow-left { margin-right: 0.25rem; } .post-nav .next-item { display: flex; flex-direction: row-reverse; text-align: right; min-width: 50%; align-items: center; } .post-nav .next-item .arrow-right { margin-left: 0.25rem; } .post-comment { margin-top: 2rem; } .v[data-class="v"] .vsys { display: none !important; } .vcontent p { margin-top: 0 !important; font-size: 0.8125rem !important; color: #09090b !important; } code { font-family: 'TensentypeCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 400; font-family: 'TensentypeCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 0.8125rem; line-height: 0.9375rem; color: #2563eb; font-weight: 400; } .code pre span { font-family: 'TensentypeCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 400; font-family: 'TensentypeCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 0.8125rem; line-height: 0.9375rem; color: #52525b; font-weight: 400; } .highlight { margin: 0 0 1rem 0; overflow-x: auto; border: 1px solid #e4e4e7; border-radius: 0.125rem; background-color: #f4f4f5; } .highlight .line { width: 2.5rem; } .highlight table { margin: 0; border-spacing: 0; border: none; background-color: transparent; } .highlight td.code { padding: 0 0.125rem 0 0.5rem; } .highlight pre { font-weight: 400; background-color: transparent; } td.gutter { width: 1.5rem; padding: 0 0.5rem; vertical-align: top; position: -webkit-sticky; position: sticky; left: 0; background-color: #f4f4f5; border-right: 1px solid #e4e4e7; z-index: 1; } td.gutter pre { margin: 0; color: #a1a1aa; font-size: 0.8125rem; font-weight: 400; background-color: transparent; } td.code { vertical-align: top; background-color: transparent; } td.code pre { margin: 0; font-weight: 400; background-color: transparent; } pre { margin: 0; overflow-x: auto; font-weight: 400; } .highlight code { background-color: transparent; padding: 0; } @media (max-width: 688px) { code { font-size: 0.75rem; } .highlight pre { font-size: 0.75rem; } .highlight td.gutter { width: 1rem; padding-right: 0.25rem; font-size: 0.6875rem; background-color: #f4f4f5; } } .post-content table { border: #09090b solid 1px; width: 100%; text-align: left; border-collapse: collapse; table-layout: fixed; } .post-content table td, .post-content table th { padding: 0.75rem; } .post-content table th { font-weight: 400; } .post-content table td { font-weight: 400; } .post-content table table, .post-content table tboby, .post-content table tr, .post-content table td { background-color: inherit; } .highlight>table { width: auto; min-width: fit-content; border: none; } .highlight>table td { padding: 0; border: none; } @media (max-width: 480px) { .block-table { display: block; overflow-x: auto; } } img { width: 100%; height: auto; } .video-container { width: 100%; padding-top: 56.25%; position: relative; } .video-container>iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } .gist td { border: 0; } .gist a { color: #71717a; background-image: none !important; } blockquote>footer { margin: 0 1rem; padding: 0.5rem 0; font-size: 0.6875rem; color: #71717a; } blockquote>footer cite { margin-left: 0.5rem; } blockquote>footer cite::before { content: " — "; } blockquote>footer strong { color: #71717a; font-size: 0.6875rem; } blockquote>footer a { color: #71717a; background-image: none !important; } figcaption { font-family: monospace; font-size: 0.6875rem; padding: 0.5rem 0; color: #71717a; } figcaption span { padding-right: 0.5rem; } figcaption a { color: #71717a; background-image: none !important; } blockquote.pullquote.left { float: left; } blockquote.pullquote.right { float: right; } ul li.task-list-item { position: relative; } ul li.task-list-item>input[type=checkbox] { list-style: none; background: none; appearance: none; -webkit-appearance: none; -moz-appearance: none; width: 1.5rem; display: inline-block; border: none; opacity: 1; } ul li.task-list-item>input[type=checkbox][checked]:before { background: #09090b; -webkit-mask-image: url("../icon/checkbox-checked.svg"); -webkit-mask-position: center center; mask-image: url("../icon/checkbox-checked.svg"); -webkit-mask-repeat: no-repeat; } ul li.task-list-item>input[type=checkbox]:before { background: #09090b; -webkit-mask-image: url("../icon/checkbox-default.svg"); -webkit-mask-position: center center; mask-image: url("../icon/checkbox-default.svg"); -webkit-mask-repeat: no-repeat; } ul li.task-list-item>input[type=checkbox]:after, ul li.task-list-item>input[type=checkbox]:before { display: block; position: absolute; content: "X"; color: transparent; left: 0; top: 0; width: 1.25rem; height: 1.375rem; background-size: contain; background-repeat: no-repeat; background-position-x: 0; background-position-y: center; --webkit-touch-callout: none; } .mermaid { display: flex; justify-content: center; align-items: center; margin: 1.5rem auto; padding: 1rem; background: #e4e4e7; border: 1px solid #e4e4e7; border-radius: 0.25rem; cursor: pointer; transition: all 200ms ease; max-width: 100%; overflow: auto; position: relative; } .mermaid:hover { border-color: #2563eb; box-shadow: 0 0.25rem 0.75rem rgba(0,0,0,0.1); } .mermaid::after { content: "点击放大"; position: absolute; bottom: 0.25rem; right: 0.25rem; font-size: 0.6875rem; color: #71717a; opacity: 0; transition: opacity 200ms; } .mermaid:hover::after { opacity: 1; } .mermaid svg { max-width: 100%; height: auto; } .mermaid-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); z-index: 10000; justify-content: center; align-items: center; padding: 3rem; } .mermaid-modal.active { display: flex; } .mermaid-modal .mermaid-close { position: absolute; top: 1rem; right: 1rem; width: 3rem; height: 3rem; background: #fff; border: 1px solid #e4e4e7; border-radius: 50%; cursor: pointer; display: flex; justify-content: center; align-items: center; font-size: 1.5rem; color: #09090b; transition: all 200ms; } .mermaid-modal .mermaid-close:hover { background: #2563eb; color: #fff; border-color: #2563eb; } .mermaid-modal .mermaid-content { max-width: 95vw; max-height: 90vh; overflow: auto; background: #fff; padding: 1.5rem; border-radius: 0.25rem; box-shadow: 0 0.5rem 2rem rgba(0,0,0,0.3); } .mermaid-modal .mermaid-content svg { display: block; max-width: none; max-height: none; } .icon { display: block; background-color: #09090b; width: 1.25rem; height: 1.25rem; } .arrow-up { -webkit-mask-image: url("../icon/arrow-up.svg"); mask-image: url("../icon/arrow-up.svg"); } .arrow-left { -webkit-mask-image: url("../icon/arrow-left.svg"); mask-image: url("../icon/arrow-left.svg"); } .arrow-right { -webkit-mask-image: url("../icon/arrow-right.svg"); mask-image: url("../icon/arrow-right.svg"); } .close-btn { -webkit-mask-image: url("../icon/close-btn.svg"); mask-image: url("../icon/close-btn.svg"); } .h-line-primary { background-color: #09090b; height: 1px; } .h-line-secondary { background-color: #e4e4e7; height: 1px; } hr { background-color: #e4e4e7; height: 1px; border: 0; } .tag-list { display: flex; flex-wrap: wrap; margin-bottom: 0.5rem; } .tag-title { margin: 0.75rem 0; color: #71717a; font-size: 0.8125rem; } .tag-title a { color: #71717a; } .post-tag { font-family: 'TensentypeCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 400; font-size: 0.6875rem; line-height: 0.875rem; color: #71717a; border: 1px solid #e4e4e7; margin-right: 0.25rem; margin-bottom: 0.25rem; padding: 0.25rem 0.5rem 0.25rem 0.5rem; border-radius: 1rem; transition: all 200ms ease; } .post-tag a { background-image: none !important; } .post-tag:hover { border-color: #2563eb; background-color: #2563eb; } .post-tag:hover a { color: #fff; }