@fxri/toolkit 1.14.3 → 1.14.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/dist/cli.cjs +19 -19
- package/dist/cli.js +19 -19
- package/package.json +1 -1
- package/templates/docs-theme/custom.css +8 -4
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* fxri-docs-theme:
|
|
1
|
+
/* fxri-docs-theme: 1.1 */
|
|
2
2
|
/* fxri-docs-theme:brand-start */
|
|
3
3
|
/* 本站品牌与装饰:唯一允许各站不同的区段,--write 会原样保留 */
|
|
4
4
|
:root {
|
|
@@ -25,11 +25,15 @@
|
|
|
25
25
|
/* fxri-docs-theme:brand-end */
|
|
26
26
|
/* 以下为公共视觉规则:由 toolkit 统一分发,逐字一致,勿手改 */
|
|
27
27
|
|
|
28
|
-
/*
|
|
29
|
-
|
|
30
|
-
background: linear-gradient(var(--site-hero-angle), var(--site-glow), transparent
|
|
28
|
+
/* 全页柔光:铺满视口并随页面滚动保持,避免只覆盖首屏 hero */
|
|
29
|
+
body {
|
|
30
|
+
background-image: linear-gradient(var(--site-hero-angle), var(--site-glow), transparent 60%);
|
|
31
|
+
background-repeat: no-repeat;
|
|
32
|
+
background-attachment: fixed;
|
|
33
|
+
background-size: 100% 100vh;
|
|
31
34
|
}
|
|
32
35
|
|
|
36
|
+
/* 首页 hero:只约束正文行宽,底色由 body 统一提供 */
|
|
33
37
|
.VPHero .text {
|
|
34
38
|
max-width: 720px;
|
|
35
39
|
}
|