@xingwangzhe/stalux 1.30.0 → 1.30.2
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/package.json +1 -1
- package/src/components/stalux/common/author.astro +7 -2
- package/src/components/stalux/common/textType.astro +6 -1
- package/src/components/stalux/footer/FooterBadges.astro +4 -4
- package/src/components/stalux/footer/FooterBeian.astro +2 -2
- package/src/components/stalux/footer/FooterCopyright.astro +1 -1
- package/src/components/stalux/footer/FooterStats.astro +2 -2
- package/src/components/stalux/footer/FooterThemeInfo.astro +1 -1
- package/src/components/stalux/layout/footer.astro +2 -2
- package/src/components/stalux/layout/listPage.astro +2 -2
- package/src/components/stalux/layout/navs.astro +10 -7
- package/src/components/stalux/posts/postCard.astro +11 -7
- package/src/internal/font-slices.ts +14 -1
- package/src/pages/404.astro +4 -1
- package/src/pages/archives.astro +2 -2
- package/src/pages/categories/index.astro +2 -2
- package/src/pages/index.astro +5 -3
- package/src/pages/tags/index.astro +2 -2
- package/src/pages/words.astro +2 -2
- package/src/styles/archives.css +1 -2
- package/src/styles/article.css +1 -2
- package/src/styles/{theme/base.css → base.css} +4 -7
- package/src/styles/categories.css +1 -2
- package/src/styles/{theme/prose.css → content.css} +0 -7
- package/src/styles/generated-archives.css +1 -1
- package/src/styles/generated-article.css +1 -1
- package/src/styles/generated-categories.css +1 -1
- package/src/styles/generated-links.css +1 -1
- package/src/styles/generated-prose.css +1 -1
- package/src/styles/generated-tags.css +1 -1
- package/src/styles/generated-words.css +1 -1
- package/src/styles/generated.css +1 -1
- package/src/styles/links.css +1 -2
- package/src/styles/{shared/view-transitions.css → motion.css} +96 -0
- package/src/styles/prose.css +1 -3
- package/src/styles/tags.css +1 -2
- package/src/styles/theme.css +1 -12
- package/src/styles/words.css +1 -2
- package/src/styles/shared/animations.css +0 -87
- package/src/styles/shared/stagger.css +0 -20
- package/src/styles/theme/archives.css +0 -138
- package/src/styles/theme/article.css +0 -562
- package/src/styles/theme/categories.css +0 -54
- package/src/styles/theme/common.css +0 -79
- package/src/styles/theme/footer.css +0 -26
- package/src/styles/theme/inline.css +0 -153
- package/src/styles/theme/layout.css +0 -143
- package/src/styles/theme/link-cards.css +0 -114
- package/src/styles/theme/links.css +0 -69
- package/src/styles/theme/pages.css +0 -35
- package/src/styles/theme/posts.css +0 -79
- package/src/styles/theme/tags.css +0 -130
- package/src/styles/theme/words.css +0 -84
- /package/src/styles/{components/posts/waline.css → integrations.css} +0 -0
- /package/src/styles/{base/math.css → math.css} +0 -0
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
@layer components {
|
|
2
|
-
/* tagsCloud */
|
|
3
|
-
|
|
4
|
-
@supports not (content-visibility: auto) {
|
|
5
|
-
.stalux-cloud-tag-group {
|
|
6
|
-
contain-intrinsic-block-size: auto;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
@media (min-width: 769px) {
|
|
11
|
-
.stalux-cloud-cards {
|
|
12
|
-
@apply hidden;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
.stalux-cloud-canvas {
|
|
16
|
-
@apply hidden w-full relative;
|
|
17
|
-
--cloud-base-diameter: 660px;
|
|
18
|
-
height: min(calc(var(--cloud-base-diameter) * var(--cloud-density)), 120cqw);
|
|
19
|
-
min-height: 520px;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
@media (min-width: 769px) {
|
|
23
|
-
.stalux-cloud-canvas {
|
|
24
|
-
@apply block;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.stalux-cloud-tag-card::before {
|
|
29
|
-
@apply absolute;
|
|
30
|
-
content: "";
|
|
31
|
-
inset: 0;
|
|
32
|
-
background: linear-gradient(
|
|
33
|
-
120deg,
|
|
34
|
-
rgba(255, 255, 255, 0),
|
|
35
|
-
var(--white-10p),
|
|
36
|
-
rgba(255, 255, 255, 0)
|
|
37
|
-
);
|
|
38
|
-
transform: translateX(-100%);
|
|
39
|
-
transition: transform var(--transition-slowest);
|
|
40
|
-
z-index: 1;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.stalux-cloud-tag-card:hover {
|
|
44
|
-
transform: translateY(-2px);
|
|
45
|
-
border-color: var(--accent-50p);
|
|
46
|
-
box-shadow: var(--card-box-shadow-hover);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.stalux-cloud-tag-card:hover::before {
|
|
50
|
-
transform: translateX(100%);
|
|
51
|
-
}
|
|
52
|
-
.stalux-cloud-tag-card[data-count="1"] {
|
|
53
|
-
font-size: 0.9rem;
|
|
54
|
-
padding: 0.3rem 0.8rem;
|
|
55
|
-
}
|
|
56
|
-
.stalux-cloud-tag-card[data-count="2"] {
|
|
57
|
-
font-size: 1rem;
|
|
58
|
-
padding: 0.4rem 0.9rem;
|
|
59
|
-
}
|
|
60
|
-
.stalux-cloud-tag-card[data-count="3"] {
|
|
61
|
-
font-size: 1.1rem;
|
|
62
|
-
padding: 0.5rem 1rem;
|
|
63
|
-
}
|
|
64
|
-
.stalux-cloud-tag-card[data-count^="4"],
|
|
65
|
-
.stalux-cloud-tag-card[data-count^="5"] {
|
|
66
|
-
font-size: 1.2rem;
|
|
67
|
-
padding: 0.6rem 1.1rem;
|
|
68
|
-
}
|
|
69
|
-
.stalux-cloud-tag-card[data-count^="6"],
|
|
70
|
-
.stalux-cloud-tag-card[data-count^="7"],
|
|
71
|
-
.stalux-cloud-tag-card[data-count^="8"],
|
|
72
|
-
.stalux-cloud-tag-card[data-count^="9"] {
|
|
73
|
-
font-size: 1.3rem;
|
|
74
|
-
padding: 0.7rem 1.2rem;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
@media (min-width: 1024px) {
|
|
78
|
-
.stalux-cloud-canvas {
|
|
79
|
-
--cloud-base-diameter: 840px;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
@media (min-width: 1440px) {
|
|
83
|
-
.stalux-cloud-canvas {
|
|
84
|
-
--cloud-base-diameter: 960px;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
/* tagHeader */
|
|
89
|
-
.stalux-tag-header {
|
|
90
|
-
@apply relative;
|
|
91
|
-
margin: 3em;
|
|
92
|
-
margin-bottom: 2.5rem;
|
|
93
|
-
padding-bottom: 1rem;
|
|
94
|
-
border-bottom: 1px solid var(--white-10p);
|
|
95
|
-
|
|
96
|
-
& .stalux-tag-page-title {
|
|
97
|
-
@apply stalux-flex-row;
|
|
98
|
-
font-size: 1.8rem;
|
|
99
|
-
margin-bottom: 0.5rem;
|
|
100
|
-
color: var(--white-full);
|
|
101
|
-
|
|
102
|
-
& .stalux-tag-category-icon {
|
|
103
|
-
margin-right: 0.8rem;
|
|
104
|
-
color: var(--accent-80p);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
& .stalux-tag-category-name {
|
|
108
|
-
color: var(--accent-90p);
|
|
109
|
-
font-weight: 500;
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
& .stalux-tag-page-description {
|
|
114
|
-
font-size: 1rem;
|
|
115
|
-
color: var(--white-70p);
|
|
116
|
-
margin-bottom: 0.5rem;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
& .stalux-tag-back-link {
|
|
120
|
-
@apply no-underline inline-block;
|
|
121
|
-
font-size: 0.9rem;
|
|
122
|
-
color: var(--white-60p);
|
|
123
|
-
transition: color var(--transition-fast) ease;
|
|
124
|
-
|
|
125
|
-
&:hover {
|
|
126
|
-
color: var(--accent-90p);
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
}
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
@layer components {
|
|
2
|
-
/* wordList */
|
|
3
|
-
|
|
4
|
-
@media (max-width: 768px) {
|
|
5
|
-
.stalux-word-list-list {
|
|
6
|
-
gap: 1rem;
|
|
7
|
-
margin: 1.5rem auto;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.stalux-word-list-item {
|
|
11
|
-
@apply max-w-full;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
/* wordCard */
|
|
16
|
-
|
|
17
|
-
.stalux-word-body .expressive-code {
|
|
18
|
-
@apply max-w-full overflow-x-auto;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.stalux-word-card:hover {
|
|
22
|
-
transform: translateY(-4px);
|
|
23
|
-
box-shadow: var(--card-box-shadow-hover);
|
|
24
|
-
}
|
|
25
|
-
.stalux-word-card:target,
|
|
26
|
-
.stalux-word-card[data-glow] {
|
|
27
|
-
animation: stalux-word-word-glow 2s ease-out;
|
|
28
|
-
box-shadow:
|
|
29
|
-
0 0 20px var(--accent-40p),
|
|
30
|
-
0 0 60px var(--accent-20p),
|
|
31
|
-
var(--shadow-lg);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
@keyframes stalux-word-word-glow {
|
|
35
|
-
0% {
|
|
36
|
-
box-shadow:
|
|
37
|
-
0 0 30px var(--accent-50p),
|
|
38
|
-
0 0 80px var(--accent-30p),
|
|
39
|
-
var(--shadow-lg);
|
|
40
|
-
transform: scale(1.02);
|
|
41
|
-
}
|
|
42
|
-
100% {
|
|
43
|
-
box-shadow:
|
|
44
|
-
0 0 20px var(--accent-40p),
|
|
45
|
-
0 0 60px var(--accent-20p),
|
|
46
|
-
var(--shadow-lg);
|
|
47
|
-
transform: scale(1);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.stalux-word-body h1,
|
|
52
|
-
.stalux-word-body h2,
|
|
53
|
-
.stalux-word-body h3,
|
|
54
|
-
.stalux-word-body h4,
|
|
55
|
-
.stalux-word-body h5,
|
|
56
|
-
.stalux-word-body h6 {
|
|
57
|
-
font-size: 1.1em;
|
|
58
|
-
margin: 0.5rem 0;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.stalux-word-body p {
|
|
62
|
-
margin: 0.5rem 0;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.stalux-word-body blockquote {
|
|
66
|
-
margin: 0.5rem 0;
|
|
67
|
-
padding: 0.6rem 1rem;
|
|
68
|
-
border-left: 3px solid var(--accent-60p);
|
|
69
|
-
background: var(--white-05p);
|
|
70
|
-
}
|
|
71
|
-
.stalux-word-body pre {
|
|
72
|
-
white-space: pre-wrap;
|
|
73
|
-
word-break: break-word;
|
|
74
|
-
overflow-x: visible;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.stalux-word-body code {
|
|
78
|
-
word-break: break-word;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.stalux-word-source-link:hover {
|
|
82
|
-
color: var(--accent-90p);
|
|
83
|
-
}
|
|
84
|
-
}
|
|
File without changes
|
|
File without changes
|