hexo-theme-stellar 1.26.2 → 1.26.4

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.
Files changed (74) hide show
  1. package/_config.yml +20 -15
  2. package/layout/_partial/cover/index.ejs +3 -3
  3. package/layout/_partial/head.ejs +1 -5
  4. package/layout/_partial/main/article/article_footer.ejs +1 -1
  5. package/layout/_partial/main/footer.ejs +2 -2
  6. package/layout/_partial/main/navbar/article_banner.ejs +54 -0
  7. package/layout/_partial/main/navbar/article_top_area.ejs +2 -2
  8. package/layout/_partial/main/navbar/author_banner.ejs +1 -1
  9. package/layout/_partial/main/navbar/dateinfo.ejs +9 -10
  10. package/layout/_partial/main/navbar/nav_tabs_blog.ejs +1 -1
  11. package/layout/_partial/main/navbar/nav_tabs_wiki.ejs +1 -1
  12. package/layout/_partial/main/post_list/post_card.ejs +1 -1
  13. package/layout/_partial/scripts/index.ejs +1 -5
  14. package/layout/_partial/sidebar/index.ejs +1 -1
  15. package/layout/_partial/sidebar/logo.ejs +3 -0
  16. package/layout/_partial/sidebar/menu.ejs +1 -7
  17. package/layout/archive.ejs +1 -1
  18. package/layout/layout.ejs +8 -0
  19. package/layout/page.ejs +1 -11
  20. package/package.json +1 -1
  21. package/scripts/generators/author.js +2 -1
  22. package/scripts/helpers/icon.js +2 -2
  23. package/scripts/tags/lib/link.js +2 -2
  24. package/scripts/tags/lib/note.js +1 -1
  25. package/source/css/_common/base.styl +4 -2
  26. package/source/css/_common/button.styl +31 -29
  27. package/source/css/_common/cap.styl +1 -1
  28. package/source/css/_common/device.styl +1 -1
  29. package/source/css/_common/html.styl +1 -0
  30. package/source/css/_common/input.styl +1 -1
  31. package/source/css/_common/title.styl +9 -8
  32. package/source/css/_common/toast.styl +1 -0
  33. package/source/css/_custom.styl +8 -4
  34. package/source/css/_defines/const.styl +2 -1
  35. package/source/css/_defines/theme.styl +6 -4
  36. package/source/css/_layout/layout.styl +3 -2
  37. package/source/css/_layout/list.styl +14 -9
  38. package/source/css/_layout/main.styl +19 -3
  39. package/source/css/_layout/md.styl +49 -85
  40. package/source/css/_layout/pages/archives.styl +3 -3
  41. package/source/css/_layout/partial/article-banner.styl +57 -0
  42. package/source/css/_layout/partial/article-footer.styl +15 -3
  43. package/source/css/_layout/partial/bread-nav.styl +22 -18
  44. package/source/css/_layout/partial/cover.styl +2 -11
  45. package/source/css/_layout/partial/footer.styl +2 -2
  46. package/source/css/_layout/partial/navbar.styl +16 -8
  47. package/source/css/_layout/partial/related.styl +5 -3
  48. package/source/css/_layout/sidebar/footer.styl +1 -0
  49. package/source/css/_layout/sidebar/logo.styl +3 -2
  50. package/source/css/_layout/sidebar/search.styl +4 -3
  51. package/source/css/_layout/sidebar/sidebar.styl +13 -10
  52. package/source/css/_layout/tag-plugins/banner.styl +23 -19
  53. package/source/css/_layout/tag-plugins/common.styl +4 -4
  54. package/source/css/_layout/tag-plugins/copy.styl +2 -1
  55. package/source/css/_layout/tag-plugins/folders.styl +4 -3
  56. package/source/css/_layout/tag-plugins/folding.styl +4 -2
  57. package/source/css/_layout/tag-plugins/hashtag.styl +2 -1
  58. package/source/css/_layout/tag-plugins/image.styl +1 -1
  59. package/source/css/_layout/tag-plugins/link.styl +1 -1
  60. package/source/css/_layout/tag-plugins/mark.styl +1 -1
  61. package/source/css/_layout/tag-plugins/note.styl +5 -3
  62. package/source/css/_layout/tag-plugins/poetry.styl +5 -5
  63. package/source/css/_layout/tag-plugins/quot.styl +3 -3
  64. package/source/css/_layout/tag-plugins/tabs.styl +4 -3
  65. package/source/css/_layout/tag-plugins/timeline.styl +24 -9
  66. package/source/css/_layout/widgets/ghuser.styl +1 -1
  67. package/source/css/_layout/widgets/markdown.styl +2 -2
  68. package/source/css/_layout/widgets/tagcloud.styl +3 -1
  69. package/source/css/_layout/widgets/timeline.styl +1 -1
  70. package/source/css/_layout/widgets/toc_common.styl +1 -5
  71. package/source/css/_layout/widgets/toc_wiki.styl +3 -3
  72. package/source/css/_layout/widgets/widgets.styl +2 -2
  73. package/source/css/_plugins/swiper.styl +1 -1
  74. package/source/css/_plugins/tianli_gpt.styl +2 -2
@@ -12,7 +12,7 @@
12
12
  transition: 0.38s ease-out
13
13
  z-index: 0
14
14
  border-radius: $border-bar
15
- color: var(--text-p0)
15
+ color: var(--text)
16
16
  background: var(--alpha50)
17
17
  &:has(input:focus)
18
18
  background: var(--alpha100)
@@ -23,7 +23,7 @@
23
23
  font-family: $ff-body
24
24
  font-size: $fs-13
25
25
  padding: 12px 0
26
- color: var(--text-p0)
26
+ color: var(--text)
27
27
  .search-button
28
28
  border-radius: $border-bar
29
29
  line-height: 40px
@@ -80,6 +80,7 @@
80
80
  .search-result-title
81
81
  color: var(--text-p1)
82
82
  font-weight: 700
83
+ font-size: $fs-15
83
84
 
84
85
  .search-result-content
85
86
  overflow: hidden
@@ -87,7 +88,7 @@
87
88
  margin: 4px 0 0
88
89
  max-height: 13em
89
90
  text-align: justify
90
- font-size: $fs-12
91
+ font-size: $fs-13
91
92
  display: -webkit-box
92
93
  -webkit-box-orient: vertical
93
94
  overflow: hidden
@@ -1,5 +1,5 @@
1
1
  .l_left
2
- margin: 8px
2
+ margin-right: 8px
3
3
  height: 'calc(%s - 16px)' % 100vh
4
4
  border-radius: $border-card
5
5
  overflow: hidden
@@ -12,18 +12,21 @@
12
12
 
13
13
  .l_left
14
14
  background-size: cover
15
- if hexo-config('style.sidebar.background')
16
- background-image: convert(hexo-config('style.sidebar.background'))
15
+ if hexo-config('style.sidebar') && hexo-config('style.sidebar.background-image')
16
+ background-image: convert(hexo-config('style.sidebar.background-image'))
17
+ else if hexo-config('style.sidebar') && hexo-config('style.sidebar.background')
18
+ background: convert(hexo-config('style.sidebar.background'))
17
19
  .sidebar-container
18
20
  height: 100%
19
21
  display: flex
20
22
  flex-direction: column
21
23
  word-break: break-all
22
24
  text-align: justify
23
- .sidebar-blur
24
- --blur-px: 100px
25
- --blur-bg: var(--sidebar-bg)
26
- @supports ((-webkit-backdrop-filter:blur(var(--blur-px))) or (backdrop-filter:blur(var(--blur-px))))
27
- background: var(--blur-bg)
28
- backdrop-filter: saturate(240%) blur(var(--blur-px))
29
- -webkit-backdrop-filter: saturate(240%) blur(var(--blur-px))
25
+ if hexo-config('style.sidebar') && hexo-config('style.sidebar.blur-px')
26
+ --blur-px: convert(hexo-config('style.sidebar.blur-px'))
27
+ @supports ((-webkit-backdrop-filter:blur(var(--blur-px))) or (backdrop-filter:blur(var(--blur-px))))
28
+ background: var(--blur-bg)
29
+ backdrop-filter: saturate(240%) blur(var(--blur-px))
30
+ -webkit-backdrop-filter: saturate(240%) blur(var(--blur-px))
31
+ if hexo-config('style.sidebar') && hexo-config('style.sidebar.blur-bg')
32
+ --blur-bg: convert(hexo-config('style.sidebar.blur-bg'))
@@ -1,4 +1,4 @@
1
- .tag-plugin.banner
1
+ .banner
2
2
  border-radius: $border-card
3
3
  position: relative
4
4
  overflow: hidden
@@ -82,25 +82,26 @@
82
82
  padding: 1rem
83
83
  width: 100%
84
84
  box-sizing: border-box
85
- .title
86
- font-size: 1.5rem
87
- font-weight: 600
88
- .avatar+.text-area
89
- margin-left: 0.75rem
90
- .text-area .text
91
- line-height: 1.2
92
- margin-top: 0.25rem
93
- margin-bottom: 0.25rem
94
- .avatar+.text-area .title
95
- font-size: 1.2rem
96
- .subtitle
97
- font-size: $fs-14
85
+ .title
86
+ font-size: 1.5rem
87
+ font-weight: 600
88
+ .avatar+.text-area
89
+ margin-left: 0.75rem
90
+ .text-area .text
91
+ line-height: 1.2
92
+ margin-top: 0.25rem
93
+ margin-bottom: 0.25rem
94
+ .avatar+.text-area .title
95
+ font-size: 1.2rem
96
+ .subtitle
97
+ font-size: $fs-14
98
98
  .content:only-child
99
99
  color: var(--text-p1)
100
100
  .bg+.content
101
101
  color: white
102
102
  .avatar
103
103
  border: 2px solid white
104
+ margin: 0
104
105
  .bottom
105
106
  background-image: linear-gradient(rgba(0,0,0,0),rgba(0,0,0,0.2))
106
107
  text-shadow: 0 0 1px rgba(0,0,0,0.12)
@@ -114,10 +115,13 @@
114
115
  .tag-plugin.banner .navbar a.active
115
116
  blur-effect()
116
117
 
117
-
118
- .tag-plugin.banner.author
119
- @media screen and (min-width: $device-mobile-max)
118
+ @media screen and (min-width: $device-mobile-max)
119
+ .banner.author.top
120
120
  margin-left: var(--gap-l)
121
121
  margin-right: var(--gap-l)
122
- @media screen and (max-width: $device-mobile-max)
123
- border-radius: 0
122
+
123
+ @media screen and (max-width: $device-mobile-max)
124
+ .banner.top
125
+ border-radius: 0
126
+ .md-text.content:first-child .tag-plugin.banner:first-child
127
+ margin-top: 1rem
@@ -1,11 +1,11 @@
1
1
  set_text_white()
2
- --text-p0: white
2
+ --text: white
3
3
  --text-p1: white
4
4
  --text-p2: hsl(0 0 88%)
5
5
  --text-p3: #ddd
6
6
  --text-code: white
7
7
  set_text_black()
8
- --text-p0: black
8
+ --text: black
9
9
  --text-p1: #111
10
10
  --text-p2: hsl(0 0 12%)
11
11
  --text-p3: #555
@@ -16,7 +16,7 @@ set_dynamic_color($theme)
16
16
  --theme-border: hsl(hue($theme), 50, 80)
17
17
  --theme-block: hsl(hue($theme), 90, 92)
18
18
  --theme-codeblock: hsl(hue($theme), 50, 95)
19
- --text-p0: hsl(hue($theme), 55, 16)
19
+ --text: hsl(hue($theme), 55, 16)
20
20
  --text-p1: hsl(hue($theme), 55, 20)
21
21
  --text-p2: hsl(hue($theme), 90, 24)
22
22
 
@@ -68,7 +68,7 @@ set_darkmode_tags()
68
68
  --theme-border: hsl(hue($theme), 50, 24)
69
69
  --theme-block: hsl(hue($theme), 16, 16)
70
70
  --theme-codeblock: hsl(hue($theme), 12, 18)
71
- --text-p0: hsl(hue($theme), 100, 85)
71
+ --text: hsl(hue($theme), 100, 85)
72
72
  --text-p1: hsl(hue($theme), 50, 75)
73
73
  --text-p2: hsl(hue($theme), 80, 72)
74
74
  .tag-plugin.tag
@@ -7,6 +7,7 @@
7
7
  border: 1px solid var(--block-border)
8
8
  overflow: hidden
9
9
  width: 100%
10
+ min-width: 200px
10
11
  span
11
12
  line-height: 3
12
13
  padding: 0 1rem
@@ -14,7 +15,7 @@
14
15
  border-right: 1px solid var(--block-border)
15
16
  color: var(--text-p3)
16
17
  font-family: $ff-code
17
- font-size: $fs-12
18
+ font-size: $fs-13
18
19
  font-weight: 700
19
20
  flex-shrink: 0
20
21
  input.copy-area
@@ -1,6 +1,7 @@
1
1
  .tag-plugin.folders
2
2
  margin: var(--gap-p) 0
3
- font-size: $fs-14
3
+ --fsp: var(--fsp2)
4
+ font-size: var(--fsp)
4
5
  border-top: 1px solid var(--block-border)
5
6
  overflow: hidden
6
7
  .folder
@@ -24,7 +25,7 @@
24
25
  display: inline
25
26
  border-bottom: none !important
26
27
  &:hover
27
- color: var(--text-p0)
28
+ color: var(--text)
28
29
  &:after
29
30
  position: absolute
30
31
  content: '+'
@@ -42,7 +43,7 @@
42
43
  content: '-'
43
44
 
44
45
  >div.body
45
- font-size: $fs-15
46
+ --fsp: var(--fsp1)
46
47
  >:first-child
47
48
  margin-top: 1rem
48
49
  >:last-child
@@ -11,7 +11,8 @@ details.folding
11
11
  margin: -1rem
12
12
  color: var(--text-p2)
13
13
  font-weight: 500
14
- font-size: $fs-14
14
+ --fsp: var(--fsp2)
15
+ font-size: var(--fsp)
15
16
  position: relative
16
17
  line-height: 1.2
17
18
  outline: none
@@ -22,7 +23,7 @@ details.folding
22
23
  display: inline
23
24
  border-bottom: none !important
24
25
  &:hover
25
- color: var(--text-p0)
26
+ color: var(--text)
26
27
  &:after
27
28
  position: absolute
28
29
  content: '+'
@@ -44,6 +45,7 @@ details.folding[open]
44
45
  padding: 0 1rem 1rem
45
46
  margin: 0 -1rem -1rem
46
47
  color: var(--text-p1)
48
+ --fsp: var(--fsp1)
47
49
  >:first-child
48
50
  margin-top: 1rem
49
51
  >:last-child
@@ -6,7 +6,8 @@
6
6
  margin: 2px 0
7
7
  display: inline-flex
8
8
  align-items: center
9
- font-size: $fs-13
9
+ --fsp: var(--fsp2)
10
+ font-size: var(--fsp)
10
11
  font-weight: 500
11
12
  trans2 background color
12
13
  span
@@ -31,7 +31,7 @@
31
31
  padding: 0.5rem 0
32
32
  .image-caption
33
33
  display: inline-block
34
- font-size: $fs-12
34
+ font-size: $fs-13
35
35
  color: var(--text-p2)
36
36
  line-height: 1.5
37
37
  text-align: justify
@@ -9,7 +9,7 @@
9
9
  justify-content: space-between
10
10
  align-items: center
11
11
  cursor: pointer
12
- width: 340px
12
+ width: 300px
13
13
  max-width: 100%
14
14
  box-shadow: $boxshadow-card
15
15
  border-radius: $border-bar
@@ -2,4 +2,4 @@
2
2
  padding: 1px 2px
3
3
  border-radius: 2px
4
4
  background: var(--theme-block)
5
- color: var(--text-p0)
5
+ color: var(--text)
@@ -8,14 +8,16 @@
8
8
  border: 1px solid var(--theme-border)
9
9
  color: var(--text-p1)
10
10
  >.title
11
- font-size: $fs-15
11
+ --fsp: var(--fsp1)
12
+ font-size: var(--fsp)
12
13
  line-height: 1.5
13
14
  margin-top: var(--gap-p-compact)
14
15
  font-weight: 500
15
- color: var(--text-p0)
16
+ color: var(--text)
16
17
  >.body
17
18
  &,p
18
- font-size: $fs-14
19
+ --fsp: var(--fsp2)
20
+ font-size: var(--fsp)
19
21
  line-height: 1.5
20
22
  margin-top: var(--gap-p-compact)
21
23
  margin-bottom: var(--gap-p-compact)
@@ -5,11 +5,11 @@
5
5
  .content
6
6
  >.title
7
7
  font-weight: 500
8
- font-size: 1rem
9
8
  margin-top: var(--gap-p)
10
9
  >.meta
11
10
  color: var(--text-p2)
12
- font-size: $fs-12
11
+ --fsp: var(--fsp3)
12
+ font-size: var(--fsp)
13
13
  font-weight: 500
14
14
  span+span
15
15
  margin-left: 4px
@@ -17,13 +17,13 @@
17
17
  margin: var(--gap-p) 0
18
18
  border-top: 1px dashed var(--block-border)
19
19
  border-bottom: 1px dashed var(--block-border)
20
- p
21
- font-size: $fs-14
20
+ line-height: 2
22
21
  >.footer
23
22
  font-style: italic
24
23
  color: var(--text-p4)
25
24
  margin: var(--gap-p) 0
26
- font-size: $fs-12
25
+ --fsp: var(--fsp3)
26
+ font-size: var(--fsp)
27
27
 
28
28
  // 描边修饰
29
29
  .md-text .tag-plugin.poetry .content
@@ -10,8 +10,8 @@
10
10
  border-bottom: none
11
11
  font-weight: 700
12
12
  padding: 16px 24px
13
- a.headerlink:before
14
- content: ''
13
+ a.headerlink
14
+ display: none
15
15
  @media screen and (max-width: $device-mobile)
16
16
  padding: 12px 20px
17
17
  line-height: 1.2
@@ -33,7 +33,7 @@
33
33
  margin-bottom: 0
34
34
  p
35
35
  font-size: $fs-h4
36
- color: var(--text-p0)
36
+ color: var(--text)
37
37
 
38
38
  // type=text
39
39
  .md-text .tag-plugin.quot
@@ -42,7 +42,8 @@
42
42
  display: block
43
43
  cursor: pointer
44
44
  padding: .25rem .75rem
45
- font-size: $fs-13
45
+ --fsp: var(--fsp3)
46
+ font-size: var(--fsp)
46
47
  line-height: inherit
47
48
  font-weight: 500
48
49
  color: var(--text-p3)
@@ -82,7 +83,7 @@
82
83
  .tab-content:has(.grid-box)
83
84
  width: 100%
84
85
 
85
- .l_body[text-indent] .md-text .tag-plugin.tabs .tab-content p:not([class])
86
- text-indent: 'calc(%s * 2)' % var(--fs-p)
86
+ .l_body[text-indent] .md-text .tag-plugin.tabs .tab-content .tab-pane>p:not([class])
87
+ text-indent: 'calc(%s * 2)' % var(--fsp)
87
88
  a
88
89
  text-indent: 0
@@ -49,11 +49,11 @@
49
49
  align-items: center
50
50
  position: relative
51
51
  margin: 0.25rem 0
52
- font-size: $fs-12
52
+ font-size: $fs-13
53
53
  .user-info
54
54
  display: flex
55
55
  align-items: center
56
- font-size: $fs-12
56
+ font-size: $fs-13
57
57
  font-weight: 500
58
58
  color: var(--text-p1)
59
59
  margin-right: 4px
@@ -77,7 +77,7 @@
77
77
  line-height: 1
78
78
  p
79
79
  margin: 0 !important
80
- font-size: $fs-12 !important
80
+ font-size: $fs-13 !important
81
81
  a
82
82
  color: inherit
83
83
  font-weight: inherit
@@ -102,7 +102,7 @@
102
102
  margin-top: 4px
103
103
  box-shadow: $boxshadow-block
104
104
  p
105
- font-size: $fs-14
105
+ --fsp: var(--fsp1)
106
106
  img
107
107
  display: block
108
108
  &:empty
@@ -123,11 +123,12 @@
123
123
  color: var(--text-p1)
124
124
  line-height: 1.25
125
125
  padding: 0.75rem 1rem
126
+ --fsp: var(--fsp1)
127
+ font-size: var(--fsp)
126
128
 
127
129
 
128
130
  .tag-plugin.timeline[api] .body
129
131
  p.title
130
- font-size: 1rem
131
132
  font-weight: 700
132
133
  margin: 0.5rem 0 0.75rem
133
134
  line-height: 1.25
@@ -136,8 +137,22 @@
136
137
  font-weight: 500
137
138
  a
138
139
  color: inherit
140
+ text-decoration: none
141
+ border-bottom: 2px solid $color-theme
142
+ trans1 all
139
143
  &:hover
140
- color: $color-hover
144
+ border-bottom: 2px solid $color-hover
145
+ p:first-child:not([class]) a:not([class])
146
+ padding: 0
147
+ margin: 0
148
+ color: inherit
149
+ text-decoration: none
150
+ border-bottom: 2px solid $color-theme
151
+ trans1 all
152
+ &:hover
153
+ border-bottom: 2px solid $color-hover
154
+
155
+
141
156
  a
142
157
  &:has(img):after
143
158
  display: none
@@ -146,7 +161,7 @@
146
161
  img
147
162
  margin: 0.5rem auto
148
163
  pre code
149
- font-size: $fs-12
164
+ font-size: $fs-13
150
165
 
151
166
  .tag-plugin.timeline[api] .body .footer
152
167
  margin: 0 0 -0.5rem
@@ -165,7 +180,7 @@
165
180
  .flex
166
181
  display: flex
167
182
  flex-wrap: wrap
168
- font-size: $fs-12
183
+ font-size: $fs-13
169
184
  align-items: stretch
170
185
 
171
186
  .tag-plugin.timeline[api] .body .footer
@@ -190,7 +205,7 @@
190
205
  padding: 0 0.5rem
191
206
  margin: 0.75rem 0
192
207
  p
193
- font-size: $fs-13
208
+ --fsp: var(--fsp2)
194
209
  margin: 0.25rem
195
210
 
196
211
  .tag-plugin.timeline .body
@@ -23,7 +23,7 @@
23
23
  p.username
24
24
  font-weight: 900
25
25
  font-size: $fs-h2
26
- color: var(--text-p0)
26
+ color: var(--text)
27
27
  margin: 0
28
28
  p.bio
29
29
  font-size: $fs-13
@@ -6,8 +6,8 @@
6
6
 
7
7
  a:not([class])
8
8
  trans1 all
9
- border-bottom: 1px solid var(--text-p0)
10
- color: var(--text-p0)
9
+ border-bottom: 1px solid var(--text)
10
+ color: var(--text)
11
11
  &:hover
12
12
  color: $color-hover
13
13
  border-bottom: 1px solid $color-hover
@@ -1,5 +1,7 @@
1
1
  .widget-wrapper.tagcloud .widget-body
2
- margin-top: 0.25rem
2
+ border-radius: $border-card
3
+ padding: 12px 16px
4
+ background: var(--alpha50)
3
5
  a
4
6
  word-break: break-word
5
7
  color: var(--text-p2)
@@ -23,7 +23,7 @@
23
23
 
24
24
  a
25
25
  trans1 all
26
- border-bottom: 1px solid var(--text-p0)
26
+ border-bottom: 1px solid var(--text)
27
27
  color: var(--text-p1)
28
28
  &:hover
29
29
  color: $color-hover
@@ -1,8 +1,4 @@
1
1
 
2
- .widget-wrapper.toc.single .widget-header
3
- font-weight: 500
4
- font-size: $fs-12
5
-
6
2
  .toc-item
7
3
  margin-top: 2px
8
4
  .toc-child
@@ -60,7 +56,7 @@
60
56
  bottom: 'calc(50% - %s)' % 6px
61
57
  width: 2px
62
58
  border-radius: 2px
63
- background: var(--text-p0)
59
+ background: var(--text)
64
60
  visibility: hidden
65
61
  &.active
66
62
  background: var(--alpha50)
@@ -10,7 +10,7 @@
10
10
 
11
11
  // 其它分页链接
12
12
  .widget-wrapper.toc.multi .doc-tree
13
- border-radius: $border-card
13
+ border-radius: $border-bar
14
14
  overflow: hidden
15
15
  a.doc-tree-link
16
16
  color: var(--text-p1)
@@ -52,8 +52,8 @@
52
52
  padding: 4px 10px
53
53
  border: 1px solid var(--alpha50)
54
54
  background: var(--alpha20)
55
- border-bottom-left-radius: $border-card
56
- border-bottom-right-radius: $border-card
55
+ border-bottom-left-radius: $border-bar
56
+ border-bottom-right-radius: $border-bar
57
57
  a.toc-link:before
58
58
  left: -7px
59
59
  width: 4px
@@ -17,10 +17,10 @@
17
17
  padding-right: var(--gap-l)
18
18
  display: flex
19
19
  justify-content: space-between
20
- align-items: center
20
+ align-items: baseline
21
21
  line-height: 28px
22
22
  font-weight: 500
23
- font-size: $fs-12
23
+ font-size: $fs-13
24
24
  color: var(--text-p1)
25
25
  .item
26
26
  display: block
@@ -40,7 +40,7 @@ div.swiper-slide
40
40
  border-radius: 40px
41
41
  background: alpha(white, 0.25)
42
42
  trans1 background
43
- --swiper-theme-color: var(--text-p0) !important
43
+ --swiper-theme-color: var(--text) !important
44
44
  &:after
45
45
  font-size: 1.2rem !important
46
46
  font-weight: 700 !important
@@ -6,7 +6,7 @@
6
6
  --heo-theme-none: #4259ef01
7
7
  --heo-background: var(--site-bg)
8
8
  --heo-hovertext: var(--text-code)
9
- --heo-secondtext: var(--text-p0)
9
+ --heo-secondtext: var(--text)
10
10
  --heo-scrollbar: var(--block-border)
11
11
  --heo-secondbg: var(--block)
12
12
  --heo-card-bg: var(--block)
@@ -70,7 +70,7 @@
70
70
 
71
71
  .tianliGPT-suggestions .tianliGPT-suggestions-item:hover
72
72
  background: $color-theme
73
- color: var(--text-p0)
73
+ color: var(--text)
74
74
 
75
75
  .blinking-cursor
76
76
  background-color: var(--text-p2)