diff --git a/internal/conf/static.go b/internal/conf/static.go index 70139a6..c8d0b18 100644 --- a/internal/conf/static.go +++ b/internal/conf/static.go @@ -10,7 +10,7 @@ var ( BuildCommit = "dev" // StaticVersion 静态资源缓存版本号:base.css 与主题 css 共用,改样式只改这一处。 - StaticVersion = "20261019n" + StaticVersion = "20261019o" ) // 文本审核通道取值([security] text_censor_source)。定义在 conf 侧, diff --git a/static/css/themes/shiroko.css b/static/css/themes/shiroko.css index 4c91a59..118421f 100644 --- a/static/css/themes/shiroko.css +++ b/static/css/themes/shiroko.css @@ -25,7 +25,7 @@ html[data-theme-style="shiroko"] { /* 整页底色用极浅的竖向渐变(纯 CSS):比图片稳,不会有 cover 缩放差异 */ --tb-page-image: linear-gradient(180deg, #f8fbfe 0%, #edf3f9 58%, #e2ecf6 100%); - --tb-page-pattern: url("/static/images/themes/shiroko/pattern.svg"); + --tb-page-pattern: url("/static/images/themes/shiroko/pattern.svg?v=20261019o"); --tb-page-pattern-size: 340px 340px; /* 装饰层:左下角一组两人(盘腿坐 + 挥手),都贴住左边缘与页面下沿。 @@ -60,7 +60,7 @@ html[data-theme="dark"][data-theme-style="shiroko"] { --tb-shadow-hover: 0 1px 2px rgba(0, 0, 0, 0.40), 0 18px 40px -20px rgba(0, 0, 0, 0.68); --tb-page-image: linear-gradient(180deg, #161d26 0%, #141a22 60%, #11161d 100%); - --tb-page-pattern: url("/static/images/themes/shiroko/pattern-dark.svg"); + --tb-page-pattern: url("/static/images/themes/shiroko/pattern-dark.svg?v=20261019o"); --tb-page-pattern-size: 340px 340px; /* 深色下人物整体关掉:浅色立绘在深底上会变成一块块亮斑,抢正文 */ diff --git a/static/images/themes/shiroko/pattern-dark.svg b/static/images/themes/shiroko/pattern-dark.svg index 5aec0aa..031cc47 100644 --- a/static/images/themes/shiroko/pattern-dark.svg +++ b/static/images/themes/shiroko/pattern-dark.svg @@ -1,11 +1,15 @@ - - - - + + + + - - - + + + + + + + diff --git a/static/images/themes/shiroko/pattern.svg b/static/images/themes/shiroko/pattern.svg index 4a3f412..dea4fec 100644 --- a/static/images/themes/shiroko/pattern.svg +++ b/static/images/themes/shiroko/pattern.svg @@ -1,14 +1,16 @@ - - - - - + + + + + - - - - - + + + + + + +