From dd09a4718ffbfd36b94f841ccd45d816f3b7edcc Mon Sep 17 00:00:00 2001 From: i-shm Date: Sun, 31 May 2026 10:00:09 +0000 Subject: deploy: c3f8cb2c8a687273f73fc74e8c483fc5868ba374 --- css/font-slices.css | 37 +------------------ css/style.css | 103 ++++++++++++++++++---------------------------------- 2 files changed, 37 insertions(+), 103 deletions(-) (limited to 'css') diff --git a/css/font-slices.css b/css/font-slices.css index b7a33b98..59ad245c 100644 --- a/css/font-slices.css +++ b/css/font-slices.css @@ -1,40 +1,7 @@ @font-face { - font-family: 'GoogleSansCode'; + font-family: 'TensentypeCode'; font-style: normal; font-weight: 400; font-display: swap; - src: url("/fonts/latin-base.woff2") format('woff2'); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F; -} -@font-face { - font-family: 'GoogleSansCode'; - font-style: normal; - font-weight: 400; - font-display: swap; - src: url("/fonts/latin-ext.woff2") format('woff2'); - unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; -} -@font-face { - font-family: 'GoogleSansCode'; - font-style: normal; - font-weight: 400; - font-display: swap; - src: url("/fonts/cjk-common.woff2") format('woff2'); - unicode-range: U+4E00-62FF; -} -@font-face { - font-family: 'GoogleSansCode'; - font-style: normal; - font-weight: 400; - font-display: swap; - src: url("/fonts/cjk-ext.woff2") format('woff2'); - unicode-range: U+6300-9FFF, U+3400-4DBF; -} -@font-face { - font-family: 'GoogleSansCode'; - font-style: normal; - font-weight: 400; - font-display: swap; - src: url("/fonts/symbols.woff2") format('woff2'); - unicode-range: U+3000-303F, U+FF00-FFEF; + src: url("/fonts/TensentypeCode.woff2") format('woff2'); } diff --git a/css/style.css b/css/style.css index 14c70acb..3ba2572b 100644 --- a/css/style.css +++ b/css/style.css @@ -251,44 +251,11 @@ template { font-weight: normal; } @font-face { - font-family: 'GoogleSansCode'; + font-family: 'TensentypeCode'; font-style: normal; font-weight: 400; font-display: swap; - src: url("/fonts/latin-base.woff2") format('woff2'); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F; -} -@font-face { - font-family: 'GoogleSansCode'; - font-style: normal; - font-weight: 400; - font-display: swap; - src: url("/fonts/latin-ext.woff2") format('woff2'); - unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; -} -@font-face { - font-family: 'GoogleSansCode'; - font-style: normal; - font-weight: 400; - font-display: swap; - src: url("/fonts/cjk-common.woff2") format('woff2'); - unicode-range: U+4E00-62FF; -} -@font-face { - font-family: 'GoogleSansCode'; - font-style: normal; - font-weight: 400; - font-display: swap; - src: url("/fonts/cjk-ext.woff2") format('woff2'); - unicode-range: U+6300-9FFF, U+3400-4DBF; -} -@font-face { - font-family: 'GoogleSansCode'; - font-style: normal; - font-weight: 400; - font-display: swap; - src: url("/fonts/symbols.woff2") format('woff2'); - unicode-range: U+3000-303F, U+FF00-FFEF; + src: url("/fonts/TensentypeCode.woff2") format('woff2'); } body { margin: 0; @@ -328,7 +295,7 @@ input { border: none; } body { - font-family: 'GoogleSansCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; + 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; @@ -361,7 +328,7 @@ input[type="search"]::-webkit-search-results-decoration { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid #e4e4e7; - font-family: 'GoogleSansCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; + 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; @@ -494,7 +461,7 @@ input[type="search"]::-webkit-search-results-decoration { .footer { margin-top: auto; border-top: 1px solid #e4e4e7; - font-family: 'GoogleSansCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; + 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; @@ -527,7 +494,7 @@ input[type="search"]::-webkit-search-results-decoration { .year-title { margin-top: 2rem; margin-bottom: 0.75rem; - font-family: 'GoogleSansCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; + font-family: 'TensentypeCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 400; font-size: 1.625rem; line-height: 2rem; @@ -541,7 +508,7 @@ input[type="search"]::-webkit-search-results-decoration { } .post-list-item .post-title { flex-grow: 1; - font-family: 'GoogleSansCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; + 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; @@ -551,7 +518,7 @@ input[type="search"]::-webkit-search-results-decoration { margin-left: 1.5rem; min-width: 8rem; text-align: right; - font-family: 'GoogleSansCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; + 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; @@ -591,14 +558,14 @@ input[type="search"]::-webkit-search-results-decoration { } .post-gallery-item .post-info .post-title { margin-bottom: 0.75rem; - font-family: 'GoogleSansCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; + 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: 'GoogleSansCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; + 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; @@ -634,7 +601,7 @@ input[type="search"]::-webkit-search-results-decoration { } .pagination { margin-top: 0.75rem; - font-family: 'GoogleSansCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; + 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; @@ -694,14 +661,14 @@ input[type="search"]::-webkit-search-results-decoration { color: #71717a; } .profile .profile-content .profile-title { - font-family: 'GoogleSansCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; + 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: 'GoogleSansCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; + 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; @@ -766,7 +733,7 @@ input[type="search"]::-webkit-search-results-decoration { border: 1px solid #e4e4e7; border-radius: 0.25rem; background: #fff; - font-family: 'GoogleSansCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; + font-family: 'TensentypeCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 400; } .search-input:focus { @@ -805,7 +772,7 @@ input[type="search"]::-webkit-search-results-decoration { text-decoration: underline; } .search-result-item .search-result { - font-family: 'GoogleSansCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; + 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; @@ -831,63 +798,63 @@ h6 { margin-bottom: 0.75rem; } h1 { - font-family: 'GoogleSansCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; + 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: 'GoogleSansCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; + 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: 'GoogleSansCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; + 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: 'GoogleSansCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; + 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: 'GoogleSansCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; + 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: 'GoogleSansCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; + 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: 'GoogleSansCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; + 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: 'GoogleSansCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; + 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: 'GoogleSansCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; + font-family: 'TensentypeCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 400; font-size: 0.9375rem; font-style: italic; @@ -895,7 +862,7 @@ em { color: #09090b; } del { - font-family: 'GoogleSansCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; + 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; @@ -933,7 +900,7 @@ blockquote blockquote { margin-bottom: 0; } .post-content li { - font-family: 'GoogleSansCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; + 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; @@ -969,7 +936,7 @@ blockquote blockquote { } dl dt { padding: 0.5rem 0; - font-family: 'GoogleSansCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; + 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; @@ -991,14 +958,14 @@ dl dd { } .post-head .post-info .post-title { margin-bottom: 0.75rem; - font-family: 'GoogleSansCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; + 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: 'GoogleSansCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; + 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; @@ -1024,7 +991,7 @@ dl dd { margin-top: 0.75rem; display: flex; flex-wrap: wrap; - font-family: 'GoogleSansCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; + 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; @@ -1061,18 +1028,18 @@ dl dd { color: #09090b !important; } code { - font-family: 'GoogleSansCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; + font-family: 'TensentypeCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 400; - font-family: 'GoogleSansCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; + 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: 'GoogleSansCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; + font-family: 'TensentypeCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 400; - font-family: 'GoogleSansCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; + font-family: 'TensentypeCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 0.8125rem; line-height: 0.9375rem; color: #52525b; @@ -1432,7 +1399,7 @@ hr { color: #71717a; } .post-tag { - font-family: 'GoogleSansCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; + 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; -- cgit v1.2.3