@xingwangzhe/stalux 1.29.8 → 1.30.0
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/README.md +5 -1
- package/package.json +10 -6
- package/src/components/stalux/archives/archivesList.astro +19 -15
- package/src/components/stalux/archives/toArchive.astro +2 -2
- package/src/components/stalux/categories/categoriesCard.astro +8 -7
- package/src/components/stalux/categories/categoriesList.astro +3 -2
- package/src/components/stalux/common/author.astro +3 -3
- package/src/components/stalux/common/date.astro +3 -4
- package/src/components/stalux/common/textType.astro +2 -2
- package/src/components/stalux/footer/FooterBadges.astro +9 -97
- package/src/components/stalux/footer/FooterBeian.astro +2 -44
- package/src/components/stalux/footer/FooterCopyright.astro +1 -16
- package/src/components/stalux/footer/FooterStats.astro +4 -25
- package/src/components/stalux/footer/FooterThemeInfo.astro +1 -28
- package/src/components/stalux/layout/footer.astro +3 -3
- package/src/components/stalux/layout/listPage.astro +3 -3
- package/src/components/stalux/layout/navs.astro +13 -13
- package/src/components/stalux/links/linkCard.astro +7 -6
- package/src/components/stalux/links/linkList.astro +4 -3
- package/src/components/stalux/links/socialMedia.astro +2 -2
- package/src/components/stalux/posts/PostTaxonomy.astro +13 -8
- package/src/components/stalux/posts/postAuthor.astro +6 -5
- package/src/components/stalux/posts/postCC.astro +10 -9
- package/src/components/stalux/posts/postCard.astro +15 -15
- package/src/components/stalux/posts/postContent.astro +22 -14
- package/src/components/stalux/posts/postLeft.astro +5 -4
- package/src/components/stalux/posts/postList.astro +2 -3
- package/src/components/stalux/posts/postNavigation.astro +24 -23
- package/src/components/stalux/posts/postRight.astro +7 -6
- package/src/components/stalux/posts/postToc.astro +7 -19
- package/src/components/stalux/posts/randomPost.astro +8 -7
- package/src/components/stalux/tags/tagHeader.astro +10 -6
- package/src/components/stalux/tags/tagsCloud.astro +10 -9
- package/src/components/stalux/words/wordCard.astro +11 -10
- package/src/components/stalux/words/wordList.astro +4 -3
- package/src/index.ts +5 -4
- package/src/internal/runtime-cache-key.ts +13 -1
- package/src/layouts/PostLayout.astro +3 -4
- package/src/layouts/Stalux.astro +0 -17
- package/src/pages/404.astro +6 -77
- package/src/pages/archives.astro +3 -3
- package/src/pages/categories/index.astro +3 -3
- package/src/pages/index.astro +4 -18
- package/src/pages/tags/index.astro +3 -3
- package/src/pages/words.astro +3 -3
- package/src/scripts/waline-client.ts +1 -1
- package/src/styles/archives.css +2 -0
- package/src/styles/article.css +2 -0
- package/src/styles/categories.css +2 -0
- package/src/styles/components/posts/waline.css +19 -23
- package/src/styles/generated-archives.css +3 -0
- package/src/styles/generated-article.css +3 -0
- package/src/styles/generated-categories.css +3 -0
- package/src/styles/generated-links.css +3 -0
- package/src/styles/generated-prose.css +2 -0
- package/src/styles/generated-tags.css +3 -0
- package/src/styles/generated-waline.css +2 -0
- package/src/styles/generated-words.css +3 -0
- package/src/styles/generated.css +3 -0
- package/src/styles/links.css +2 -0
- package/src/styles/prose.css +3 -0
- package/src/styles/tags.css +2 -0
- package/src/styles/theme/archives.css +138 -0
- package/src/styles/theme/article.css +562 -0
- package/src/styles/theme/base.css +290 -0
- package/src/styles/theme/categories.css +54 -0
- package/src/styles/theme/common.css +79 -0
- package/src/styles/theme/footer.css +26 -0
- package/src/styles/theme/inline.css +153 -0
- package/src/styles/theme/layout.css +143 -0
- package/src/styles/theme/link-cards.css +114 -0
- package/src/styles/theme/links.css +69 -0
- package/src/styles/theme/pages.css +35 -0
- package/src/styles/theme/posts.css +79 -0
- package/src/styles/theme/prose.css +478 -0
- package/src/styles/theme/tags.css +130 -0
- package/src/styles/theme/words.css +84 -0
- package/src/styles/theme.css +12 -0
- package/src/styles/words.css +2 -0
- package/src/styles/base/init.css +0 -287
- package/src/styles/components/archives/archivesList.module.css +0 -203
- package/src/styles/components/archives/toArchive.module.css +0 -3
- package/src/styles/components/categories/categoriesCard.module.css +0 -88
- package/src/styles/components/categories/categoriesList.module.css +0 -23
- package/src/styles/components/common/author.module.css +0 -72
- package/src/styles/components/common/date.module.css +0 -15
- package/src/styles/components/common/textType.module.css +0 -10
- package/src/styles/components/footer/footer.module.css +0 -44
- package/src/styles/components/layout/navs.module.css +0 -261
- package/src/styles/components/links/linkCard.module.css +0 -116
- package/src/styles/components/links/linkList.module.css +0 -54
- package/src/styles/components/links/socialLinks.module.css +0 -80
- package/src/styles/components/markdown.css +0 -523
- package/src/styles/components/posts/postAuthor.module.css +0 -31
- package/src/styles/components/posts/postCC.module.css +0 -138
- package/src/styles/components/posts/postCard.module.css +0 -167
- package/src/styles/components/posts/postContent.module.css +0 -238
- package/src/styles/components/posts/postLayout.module.css +0 -138
- package/src/styles/components/posts/postList.module.css +0 -25
- package/src/styles/components/posts/postNavigation.module.css +0 -186
- package/src/styles/components/posts/postSidebar.module.css +0 -59
- package/src/styles/components/posts/postTaxonomy.module.css +0 -87
- package/src/styles/components/posts/postToc.module.css +0 -74
- package/src/styles/components/posts/randomPost.module.css +0 -131
- package/src/styles/components/tags/tagHeader.module.css +0 -44
- package/src/styles/components/tags/tagsCloud.module.css +0 -155
- package/src/styles/components/words/wordCard.module.css +0 -136
- package/src/styles/components/words/wordList.module.css +0 -26
- package/src/styles/pages/archives.module.css +0 -22
- package/src/styles/pages/categories.module.css +0 -17
- package/src/styles/pages/home.module.css +0 -61
- package/src/styles/pages/listPage.module.css +0 -16
- package/src/styles/pages/tags.module.css +0 -16
- package/src/styles/pages/words.module.css +0 -16
|
@@ -1,186 +0,0 @@
|
|
|
1
|
-
/* 文章导航样式 */
|
|
2
|
-
|
|
3
|
-
.postNavigation {
|
|
4
|
-
width: 100%;
|
|
5
|
-
margin: var(--space-lg) 0;
|
|
6
|
-
border-top: var(--border-thin) solid var(--white-20p);
|
|
7
|
-
border-bottom: var(--border-thin) solid var(--white-20p);
|
|
8
|
-
padding-top: var(--space-lg);
|
|
9
|
-
padding-bottom: var(--space-lg);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.postNavigationInner {
|
|
13
|
-
display: flex;
|
|
14
|
-
justify-content: space-between;
|
|
15
|
-
gap: var(--space-md);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.postNavLink {
|
|
19
|
-
display: flex;
|
|
20
|
-
align-items: center;
|
|
21
|
-
gap: var(--space-sm);
|
|
22
|
-
padding: var(--space-md);
|
|
23
|
-
background: var(--black-10p);
|
|
24
|
-
border-radius: var(--radius-md);
|
|
25
|
-
color: var(--white-90p);
|
|
26
|
-
text-decoration: none;
|
|
27
|
-
transition:
|
|
28
|
-
background-color var(--transition-normal),
|
|
29
|
-
transform var(--transition-normal),
|
|
30
|
-
box-shadow var(--transition-normal),
|
|
31
|
-
color var(--transition-normal);
|
|
32
|
-
box-shadow: var(--shadow-sidebar);
|
|
33
|
-
flex: 1 1 0;
|
|
34
|
-
min-width: 0;
|
|
35
|
-
position: relative;
|
|
36
|
-
box-sizing: border-box;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.postNavLink::before {
|
|
40
|
-
content: "";
|
|
41
|
-
position: absolute;
|
|
42
|
-
top: 0;
|
|
43
|
-
left: 0;
|
|
44
|
-
width: 100%;
|
|
45
|
-
height: 100%;
|
|
46
|
-
background: linear-gradient(120deg, transparent, var(--accent-20p), transparent);
|
|
47
|
-
transition: transform var(--transition-slow);
|
|
48
|
-
transform: scaleX(0);
|
|
49
|
-
transform-origin: left;
|
|
50
|
-
pointer-events: none;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.postNavLink:hover {
|
|
54
|
-
transform: translateY(-3px);
|
|
55
|
-
box-shadow: var(--shadow-raised-hover);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.postNavLink:hover::before {
|
|
59
|
-
transform: scaleX(1);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.postNavLink.disabled {
|
|
63
|
-
opacity: 0.5;
|
|
64
|
-
pointer-events: none;
|
|
65
|
-
cursor: not-allowed;
|
|
66
|
-
background: var(--black-15p);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.postNavLink.prevPost {
|
|
70
|
-
text-align: left;
|
|
71
|
-
margin-left: var(--space-xs);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.postNavLink.nextPost {
|
|
75
|
-
text-align: right;
|
|
76
|
-
justify-content: flex-end;
|
|
77
|
-
margin-right: var(--space-xs);
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.postNavContent {
|
|
81
|
-
display: flex;
|
|
82
|
-
flex-direction: column;
|
|
83
|
-
min-width: 0;
|
|
84
|
-
overflow: hidden;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.postNavArrow {
|
|
88
|
-
flex-shrink: 0;
|
|
89
|
-
color: var(--white-70p);
|
|
90
|
-
transition: color var(--transition-normal);
|
|
91
|
-
display: flex;
|
|
92
|
-
align-items: center;
|
|
93
|
-
justify-content: center;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.postNavLabel {
|
|
97
|
-
font-size: var(--font-size-small);
|
|
98
|
-
color: var(--accent-90p);
|
|
99
|
-
margin-bottom: var(--space-xs);
|
|
100
|
-
font-weight: 500;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.postNavTitle {
|
|
104
|
-
font-size: var(--font-size-base);
|
|
105
|
-
white-space: nowrap;
|
|
106
|
-
overflow: hidden;
|
|
107
|
-
text-overflow: ellipsis;
|
|
108
|
-
max-width: 100%;
|
|
109
|
-
color: var(--white-90p);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
/* 响应式样式 */
|
|
113
|
-
@media (max-width: 768px) {
|
|
114
|
-
.postNavigation {
|
|
115
|
-
margin: var(--space-md) 0;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.postNavigationInner {
|
|
119
|
-
gap: var(--space-sm);
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
.postNavLink {
|
|
123
|
-
padding: var(--space-sm) var(--space-md);
|
|
124
|
-
flex-direction: column;
|
|
125
|
-
align-items: flex-start;
|
|
126
|
-
min-height: 120px;
|
|
127
|
-
justify-content: center;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.postNavLink.nextPost {
|
|
131
|
-
align-items: flex-end;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.postNavArrow {
|
|
135
|
-
transform: scale(0.85);
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
.postNavLabel {
|
|
139
|
-
font-size: 0.75rem;
|
|
140
|
-
margin-bottom: var(--space-xs);
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
.postNavTitle {
|
|
144
|
-
font-size: var(--font-size-small);
|
|
145
|
-
white-space: normal;
|
|
146
|
-
max-width: 100%;
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
/* 移动端适配 */
|
|
151
|
-
@media (max-width: 480px) {
|
|
152
|
-
.postNavigation {
|
|
153
|
-
margin: var(--space-md) 0;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
.postNavigationInner {
|
|
157
|
-
flex-direction: column;
|
|
158
|
-
gap: var(--space-sm);
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
.postNavLink {
|
|
162
|
-
width: 100%;
|
|
163
|
-
padding: var(--space-sm) var(--space-md);
|
|
164
|
-
flex-direction: row;
|
|
165
|
-
align-items: center;
|
|
166
|
-
min-height: 100px;
|
|
167
|
-
justify-content: flex-start;
|
|
168
|
-
gap: var(--space-md);
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
.postNavLink.prevPost,
|
|
172
|
-
.postNavLink.nextPost {
|
|
173
|
-
margin-left: 0;
|
|
174
|
-
margin-right: 0;
|
|
175
|
-
text-align: left;
|
|
176
|
-
align-items: center;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
.postNavLink.nextPost {
|
|
180
|
-
justify-content: flex-start;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.postNavTitle {
|
|
184
|
-
white-space: normal;
|
|
185
|
-
}
|
|
186
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
/* 通用侧边栏 — 合并自 postLeft.module.css + postRight.module.css */
|
|
2
|
-
|
|
3
|
-
.sidebar {
|
|
4
|
-
position: sticky;
|
|
5
|
-
top: 20px;
|
|
6
|
-
width: 100%;
|
|
7
|
-
height: fit-content;
|
|
8
|
-
max-height: calc(100vh - 40px);
|
|
9
|
-
overflow-y: auto;
|
|
10
|
-
display: flex;
|
|
11
|
-
flex-direction: column;
|
|
12
|
-
gap: var(--space-lg);
|
|
13
|
-
padding: var(--space-lg) 0;
|
|
14
|
-
|
|
15
|
-
/* 隐藏滚动条但保留滚动功能 */
|
|
16
|
-
scrollbar-width: none;
|
|
17
|
-
-ms-overflow-style: none;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.sidebar::-webkit-scrollbar {
|
|
21
|
-
display: none;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
/* 右侧边栏需要底部留白让 scrollIntoView 不裁切 */
|
|
25
|
-
.sidebarRight {
|
|
26
|
-
composes: sidebar;
|
|
27
|
-
scroll-padding-bottom: 8rem;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.sidebarContainer {
|
|
31
|
-
display: flex;
|
|
32
|
-
flex-direction: column;
|
|
33
|
-
background: var(--surface-glass);
|
|
34
|
-
border-radius: 14px;
|
|
35
|
-
padding: var(--space-md);
|
|
36
|
-
box-shadow: var(--surface-glass-shadow);
|
|
37
|
-
transition:
|
|
38
|
-
box-shadow 220ms ease,
|
|
39
|
-
background-color 220ms ease;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
@media (max-width: 1400px) {
|
|
43
|
-
.sidebarRight {
|
|
44
|
-
width: 240px;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
@media (max-width: 1200px) {
|
|
49
|
-
.sidebar {
|
|
50
|
-
display: none;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
@media (max-width: 768px) {
|
|
55
|
-
.sidebar,
|
|
56
|
-
.sidebarRight {
|
|
57
|
-
display: none;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
/* 文章分类/标签共用样式 — 合并自 postCategories.module.css + postTags.module.css */
|
|
2
|
-
|
|
3
|
-
.container {
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
gap: var(--space-xs);
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.title {
|
|
10
|
-
margin: 0;
|
|
11
|
-
font-size: var(--font-size-base);
|
|
12
|
-
font-weight: 600;
|
|
13
|
-
color: var(--white-90p);
|
|
14
|
-
padding-bottom: var(--space-sm);
|
|
15
|
-
border-bottom: var(--border-thin) solid var(--white-20p);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.list {
|
|
19
|
-
display: flex;
|
|
20
|
-
gap: var(--space-sm);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
/* 分类变体:垂直列 + 左边框 */
|
|
24
|
-
.listColumn {
|
|
25
|
-
composes: list;
|
|
26
|
-
flex-direction: column;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.itemColumn {
|
|
30
|
-
display: inline-flex;
|
|
31
|
-
padding: var(--space-sm) var(--space-xs);
|
|
32
|
-
background: var(--white-05p);
|
|
33
|
-
color: var(--white-80p);
|
|
34
|
-
border-left: var(--border-thick) solid var(--accent-60p);
|
|
35
|
-
text-decoration: none;
|
|
36
|
-
transition:
|
|
37
|
-
color var(--transition-medium),
|
|
38
|
-
transform var(--transition-medium);
|
|
39
|
-
border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
|
|
40
|
-
font-size: var(--font-size-small);
|
|
41
|
-
transform: translateX(0);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.itemColumn:hover {
|
|
45
|
-
transform: translateX(4px);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.itemColumn:active {
|
|
49
|
-
transform: translateX(2px);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
/* 标签变体:水平换行 + 药丸形状 */
|
|
53
|
-
.listWrap {
|
|
54
|
-
composes: list;
|
|
55
|
-
flex-wrap: wrap;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.itemPill {
|
|
59
|
-
display: inline-block;
|
|
60
|
-
padding: 0.4rem 0.8rem;
|
|
61
|
-
background: var(--white-10p);
|
|
62
|
-
border: none;
|
|
63
|
-
border-radius: var(--radius-full);
|
|
64
|
-
font-size: var(--font-size-smaller);
|
|
65
|
-
text-decoration: none;
|
|
66
|
-
transition:
|
|
67
|
-
color var(--transition-medium),
|
|
68
|
-
transform var(--transition-medium);
|
|
69
|
-
white-space: nowrap;
|
|
70
|
-
transform: translateY(0);
|
|
71
|
-
color: var(--white-85p);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.itemPill:hover {
|
|
75
|
-
transform: translateY(-2px);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.itemPill:active {
|
|
79
|
-
transform: translateY(-1px);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.empty {
|
|
83
|
-
color: var(--white-50p);
|
|
84
|
-
font-size: var(--font-size-small);
|
|
85
|
-
text-align: center;
|
|
86
|
-
padding: var(--space-md) 0;
|
|
87
|
-
}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
.title {
|
|
2
|
-
margin: 0 0 var(--space-xs);
|
|
3
|
-
font-size: var(--font-size-base);
|
|
4
|
-
font-weight: 600;
|
|
5
|
-
color: var(--white-90p);
|
|
6
|
-
padding-bottom: var(--space-sm);
|
|
7
|
-
border-bottom: var(--border-thin) solid var(--white-20p);
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.list {
|
|
11
|
-
list-style: none;
|
|
12
|
-
margin: 0;
|
|
13
|
-
padding: 0;
|
|
14
|
-
display: flex;
|
|
15
|
-
flex-direction: column;
|
|
16
|
-
gap: var(--space-sm);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.item {
|
|
20
|
-
display: block;
|
|
21
|
-
padding: var(--space-sm) var(--space-xs);
|
|
22
|
-
color: var(--white-70p);
|
|
23
|
-
text-decoration: none;
|
|
24
|
-
font-size: var(--font-size-small);
|
|
25
|
-
border-left: var(--border-thick) solid transparent;
|
|
26
|
-
border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
|
|
27
|
-
transition:
|
|
28
|
-
color var(--transition-medium),
|
|
29
|
-
background-color var(--transition-medium),
|
|
30
|
-
border-left-color var(--transition-medium),
|
|
31
|
-
transform var(--transition-medium);
|
|
32
|
-
line-height: 1.4;
|
|
33
|
-
word-break: break-word;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.item:hover {
|
|
37
|
-
transform: translateX(calc(-1 * var(--space-sm)));
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.item:active,
|
|
41
|
-
.item.active {
|
|
42
|
-
color: var(--accent-90p);
|
|
43
|
-
background-color: var(--accent-20p);
|
|
44
|
-
border-left-color: var(--accent-80p);
|
|
45
|
-
font-weight: 500;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
/* 层级缩进 */
|
|
49
|
-
.depth-1 {
|
|
50
|
-
padding-left: var(--space-xs);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.depth-2 {
|
|
54
|
-
padding-left: var(--space-lg);
|
|
55
|
-
font-size: var(--font-size-smaller);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.depth-3 {
|
|
59
|
-
padding-left: 2.25rem;
|
|
60
|
-
font-size: var(--font-size-tiny);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.depth-4,
|
|
64
|
-
.depth-5,
|
|
65
|
-
.depth-6 {
|
|
66
|
-
padding-left: var(--space-2xl);
|
|
67
|
-
font-size: 0.75rem;
|
|
68
|
-
color: var(--white-60p);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.empty {
|
|
72
|
-
color: var(--white-60p);
|
|
73
|
-
font-size: var(--font-size-small);
|
|
74
|
-
}
|
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
.container {
|
|
2
|
-
transition:
|
|
3
|
-
background-color 0.3s ease,
|
|
4
|
-
border-color 0.3s ease;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.header {
|
|
8
|
-
display: flex;
|
|
9
|
-
justify-content: space-between;
|
|
10
|
-
align-items: center;
|
|
11
|
-
margin-bottom: 1em;
|
|
12
|
-
padding-bottom: 0.75em;
|
|
13
|
-
border-bottom: 2px solid rgba(0, 0, 0, 0.05);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.title {
|
|
17
|
-
margin: 0;
|
|
18
|
-
font-size: 1.1em;
|
|
19
|
-
font-weight: 600;
|
|
20
|
-
color: var(--foreground-60p, #333);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.refreshButton {
|
|
24
|
-
display: flex;
|
|
25
|
-
align-items: center;
|
|
26
|
-
justify-content: center;
|
|
27
|
-
width: 2em;
|
|
28
|
-
height: 2em;
|
|
29
|
-
padding: 0;
|
|
30
|
-
border: none;
|
|
31
|
-
border-radius: 0.375em;
|
|
32
|
-
background: transparent;
|
|
33
|
-
color: var(--foreground-60p, #333);
|
|
34
|
-
cursor: pointer;
|
|
35
|
-
transition: color 0.2s ease;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.refreshButton:hover {
|
|
39
|
-
color: var(--accent-60p, #0066cc);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.refreshButton:active {
|
|
43
|
-
opacity: 0.7;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.refreshButton svg {
|
|
47
|
-
width: 1em;
|
|
48
|
-
height: 1em;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.refreshButton.rotating svg {
|
|
52
|
-
animation: spin 0.6s linear;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
@keyframes spin {
|
|
56
|
-
from {
|
|
57
|
-
transform: rotate(0deg);
|
|
58
|
-
}
|
|
59
|
-
to {
|
|
60
|
-
transform: rotate(360deg);
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.list {
|
|
65
|
-
list-style: none;
|
|
66
|
-
margin: 0;
|
|
67
|
-
padding: 0;
|
|
68
|
-
display: flex;
|
|
69
|
-
flex-direction: column;
|
|
70
|
-
gap: 0.75em;
|
|
71
|
-
transition: opacity 0.3s ease;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.loading,
|
|
75
|
-
.error,
|
|
76
|
-
.noMore {
|
|
77
|
-
padding: 1em;
|
|
78
|
-
text-align: center;
|
|
79
|
-
color: var(--foreground-60p, #666);
|
|
80
|
-
font-size: 0.95em;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.error {
|
|
84
|
-
color: var(--accent-60p, #e74c3c);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.list > li > a {
|
|
88
|
-
display: block;
|
|
89
|
-
padding: 0.75em 1em;
|
|
90
|
-
border-radius: 0.375em;
|
|
91
|
-
background: transparent;
|
|
92
|
-
color: var(--foreground-60p, #333);
|
|
93
|
-
text-decoration: none;
|
|
94
|
-
transition:
|
|
95
|
-
color 0.2s ease,
|
|
96
|
-
transform 0.2s ease;
|
|
97
|
-
word-break: break-word;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.list > li > a:hover {
|
|
101
|
-
transform: translateX(0.25em);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.list > li > a:active {
|
|
105
|
-
transform: translateX(0.125em);
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
/* 深色模式适配 */
|
|
109
|
-
@media (prefers-color-scheme: dark) {
|
|
110
|
-
.header {
|
|
111
|
-
border-bottom-color: rgba(255, 255, 255, 0.1);
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.title {
|
|
115
|
-
color: var(--foreground-60p, #e0e0e0);
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.refreshButton {
|
|
119
|
-
color: var(--foreground-60p, #e0e0e0);
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
.loading,
|
|
123
|
-
.error,
|
|
124
|
-
.noMore {
|
|
125
|
-
color: var(--foreground-60p, #b0b0b0);
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
.list > li > a {
|
|
129
|
-
color: var(--foreground-60p, #e0e0e0);
|
|
130
|
-
}
|
|
131
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/* Keep header selectors local with native nesting. */
|
|
2
|
-
.pageHeader {
|
|
3
|
-
margin: 3em;
|
|
4
|
-
margin-bottom: 2.5rem;
|
|
5
|
-
position: relative;
|
|
6
|
-
padding-bottom: 1rem;
|
|
7
|
-
border-bottom: 1px solid var(--white-10p);
|
|
8
|
-
|
|
9
|
-
& .pageTitle {
|
|
10
|
-
font-size: 1.8rem;
|
|
11
|
-
margin-bottom: 0.5rem;
|
|
12
|
-
display: flex;
|
|
13
|
-
align-items: center;
|
|
14
|
-
color: var(--white-full);
|
|
15
|
-
|
|
16
|
-
& .categoryIcon {
|
|
17
|
-
margin-right: 0.8rem;
|
|
18
|
-
color: var(--accent-80p);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
& .categoryName {
|
|
22
|
-
color: var(--accent-90p);
|
|
23
|
-
font-weight: 500;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
& .pageDescription {
|
|
28
|
-
font-size: 1rem;
|
|
29
|
-
color: var(--white-70p);
|
|
30
|
-
margin-bottom: 0.5rem;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
& .backLink {
|
|
34
|
-
font-size: 0.9rem;
|
|
35
|
-
color: var(--white-60p);
|
|
36
|
-
text-decoration: none;
|
|
37
|
-
display: inline-block;
|
|
38
|
-
transition: color var(--transition-fast) ease;
|
|
39
|
-
|
|
40
|
-
&:hover {
|
|
41
|
-
color: var(--accent-90p);
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|