v0.6.0: mark Climperor Web shell and SEO milestone.

Brand title uses self-hosted Noto Serif SC; document minor vs patch SITE_VERSION bumps.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
voson
2026-07-30 07:25:04 +08:00
co-authored by Cursor
parent 544ea42d40
commit 7c9e54e5eb
9 changed files with 45 additions and 10 deletions
+3
View File
@@ -21,3 +21,6 @@
/style.css
Cache-Control: public, max-age=300, must-revalidate
/fonts/*
Cache-Control: public, max-age=31536000, immutable
+1 -1
View File
@@ -1,5 +1,5 @@
/* Local defaults; production export overwrites via export_relations_site.py. */
var SITE_VERSION = "0.5.115";
var SITE_VERSION = "0.6.0";
var SITE_ORIGIN = "";
var ABILITY_VIDEO_BASE = "";
var STATIC_ASSET_BASE = "";
Binary file not shown.
+5 -5
View File
@@ -43,8 +43,8 @@
}
</script>
<link rel="icon" href="/ui-icon/dota2_logo.png" type="image/png" />
<link rel="stylesheet" href="/style.css?v=0.5.115" />
<script src="/mobile-gate.js?v=0.5.115"></script>
<link rel="stylesheet" href="/style.css?v=0.6.0" />
<script src="/mobile-gate.js?v=0.6.0"></script>
</head>
<body>
<h1 class="sr-only">DOTA2 上分帝</h1>
@@ -232,8 +232,8 @@
<section class="detail" id="detail" aria-live="polite"></section>
<script src="/config.js?v=0.5.115"></script>
<script src="/router.js?v=0.5.115"></script>
<script src="/app.js?v=0.5.115"></script>
<script src="/config.js?v=0.6.0"></script>
<script src="/router.js?v=0.6.0"></script>
<script src="/app.js?v=0.6.0"></script>
</body>
</html>
+13
View File
@@ -19,6 +19,8 @@
/* Typography */
--font: "Segoe UI", "Microsoft YaHei UI", "PingFang SC", sans-serif;
/* Brand mark only (「上分帝」); self-hosted Noto Serif SC subset */
--font-brand: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
--fs-display: 32px;
--fs-page: 22px;
--fs-title-lg: 18px;
@@ -65,6 +67,15 @@
--focus-ring: 2px solid var(--sel);
}
@font-face {
font-family: "Noto Serif SC";
font-style: normal;
font-weight: 700;
font-display: swap;
src: url("/fonts/noto-serif-sc-brand-700.woff2") format("woff2");
unicode-range: U+4E0A, U+5206, U+5E1D; /* 上分帝 */
}
* { box-sizing: border-box; }
html, body {
margin: 0;
@@ -196,6 +207,7 @@ body {
display: block;
}
.brand-title {
font-family: var(--font-brand);
font-size: var(--fs-title-lg);
font-weight: var(--fw-bold);
letter-spacing: 0.16em;
@@ -4079,6 +4091,7 @@ html.mobile-client #mobile-gate {
display: block;
}
.mobile-gate-brand-title {
font-family: var(--font-brand);
font-size: var(--fs-title-lg);
font-weight: var(--fw-bold);
letter-spacing: 0.16em;