hexo-theme-stellar 1.26.4 → 1.26.6
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/_config.yml +11 -6
- package/_data/icons.yml +13 -5
- package/layout/_partial/main/navbar/article_banner.ejs +9 -2
- package/layout/_partial/main/navbar/dateinfo.ejs +3 -0
- package/layout/_partial/main/navbar/nav_tabs_blog.ejs +2 -2
- package/layout/_partial/main/navbar/nav_tabs_wiki.ejs +2 -2
- package/layout/_partial/main/post_list/post_card.ejs +3 -2
- package/layout/_partial/widgets/related.ejs +1 -1
- package/layout/categories.ejs +1 -1
- package/layout/layout.ejs +4 -0
- package/package.json +1 -1
- package/scripts/events/lib/utils.js +16 -0
- package/scripts/helpers/icon.js +1 -12
- package/scripts/tags/index.js +2 -0
- package/scripts/tags/lib/button.js +39 -0
- package/scripts/tags/lib/icon.js +27 -0
- package/scripts/tags/lib/navbar.js +1 -1
- package/scripts/tags/lib/okr.js +1 -1
- package/scripts/tags/lib/quot.js +15 -12
- package/source/css/_common/base.styl +2 -3
- package/source/css/_common/blockquote.styl +1 -1
- package/source/css/_common/device.styl +15 -4
- package/source/css/_common/highlight.styl +3 -3
- package/source/css/_common/title.styl +8 -7
- package/source/css/_custom.styl +18 -15
- package/source/css/_layout/list.styl +20 -14
- package/source/css/_layout/md.styl +6 -14
- package/source/css/_layout/pages/archives.styl +9 -1
- package/source/css/_layout/partial/article-banner.styl +4 -3
- package/source/css/_layout/partial/article-footer.styl +4 -4
- package/source/css/_layout/partial/navbar.styl +7 -5
- package/source/css/_layout/partial/related.styl +4 -4
- package/source/css/_layout/sidebar/search.styl +14 -12
- package/source/css/_layout/sidebar/sidebar.styl +2 -2
- package/source/css/_layout/tag-plugins/banner.styl +20 -8
- package/source/css/_layout/tag-plugins/button.styl +36 -0
- package/source/css/_layout/tag-plugins/common.styl +4 -0
- package/source/css/_layout/tag-plugins/folders.styl +2 -2
- package/source/css/_layout/tag-plugins/folding.styl +3 -3
- package/source/css/_layout/tag-plugins/hashtag.styl +1 -1
- package/source/css/_layout/tag-plugins/icon.styl +12 -0
- package/source/css/_layout/tag-plugins/image.styl +1 -1
- package/source/css/_layout/tag-plugins/link.styl +1 -1
- package/source/css/_layout/tag-plugins/navbar.styl +9 -22
- package/source/css/_layout/tag-plugins/note.styl +3 -3
- package/source/css/_layout/tag-plugins/okr.styl +11 -2
- package/source/css/_layout/tag-plugins/poetry.styl +2 -2
- package/source/css/_layout/tag-plugins/quot.styl +21 -21
- package/source/css/_layout/tag-plugins/tabs.styl +1 -1
- package/source/css/_layout/tag-plugins/timeline.styl +4 -5
- package/source/css/_layout/widgets/ghrepo.styl +1 -1
- package/source/css/_layout/widgets/ghuser.styl +1 -1
- package/source/css/_layout/widgets/timeline.styl +11 -8
- package/source/css/_layout/widgets/widgets.styl +1 -1
- package/source/css/_plugins/aplayer.styl +1 -1
- package/source/css/_plugins/comments/artalk.styl +1 -1
- package/source/css/_plugins/comments/twikoo.styl +3 -3
- package/source/css/_plugins/copycode.styl +1 -1
- package/source/css/_plugins/tianli_gpt.styl +2 -2
|
@@ -3,36 +3,34 @@
|
|
|
3
3
|
align-items: center
|
|
4
4
|
display: flex
|
|
5
5
|
flex-direction: column
|
|
6
|
-
|
|
6
|
+
--gap-p: 2rem
|
|
7
|
+
margin: var(--gap-p) 1rem
|
|
7
8
|
.content
|
|
8
9
|
display: flex
|
|
9
10
|
align-items: center
|
|
10
11
|
border-bottom: none
|
|
11
12
|
font-weight: 700
|
|
12
|
-
padding:
|
|
13
|
+
padding: 0 24px
|
|
13
14
|
a.headerlink
|
|
14
15
|
display: none
|
|
15
16
|
@media screen and (max-width: $device-mobile)
|
|
16
|
-
padding:
|
|
17
|
+
padding: 0 20px
|
|
17
18
|
line-height: 1.2
|
|
18
19
|
|
|
19
20
|
.md-text .tag-plugin.quot .content
|
|
20
|
-
max-width 500px
|
|
21
21
|
position: relative
|
|
22
22
|
// override
|
|
23
23
|
.md-text.content .tag-plugin.quot
|
|
24
|
-
h1
|
|
25
|
-
font-size: $
|
|
24
|
+
h1,h2
|
|
25
|
+
font-size: $fsh2
|
|
26
26
|
font-weight: 900
|
|
27
|
-
padding:
|
|
27
|
+
padding: 4px 32px 0
|
|
28
28
|
@media screen and (max-width: $device-mobile)
|
|
29
|
-
padding:
|
|
30
|
-
|
|
31
|
-
font-size: $
|
|
32
|
-
margin-top: 1em
|
|
33
|
-
margin-bottom: 0
|
|
29
|
+
padding: 4px 24px 0
|
|
30
|
+
h3,h4,h5,h6
|
|
31
|
+
font-size: $fsh3
|
|
34
32
|
p
|
|
35
|
-
|
|
33
|
+
--fsp: $fsh4
|
|
36
34
|
color: var(--text)
|
|
37
35
|
|
|
38
36
|
// type=text
|
|
@@ -44,13 +42,13 @@
|
|
|
44
42
|
width: 8px
|
|
45
43
|
height: 14px
|
|
46
44
|
&:before
|
|
47
|
-
top: 8px
|
|
45
|
+
top: -8px
|
|
48
46
|
left: 0
|
|
49
47
|
border-top: 6px solid $color-accent
|
|
50
48
|
border-left: 6px solid $color-accent
|
|
51
49
|
&:after
|
|
52
50
|
right: 0
|
|
53
|
-
bottom: 8px
|
|
51
|
+
bottom: -8px
|
|
54
52
|
border-right: 6px solid $color-accent
|
|
55
53
|
border-bottom: 6px solid $color-accent
|
|
56
54
|
h1.content[type=text]
|
|
@@ -61,13 +59,15 @@
|
|
|
61
59
|
|
|
62
60
|
// type=icon
|
|
63
61
|
.md-text .tag-plugin.quot .content[type=icon]
|
|
64
|
-
|
|
62
|
+
img,svg
|
|
65
63
|
height: 1.5em
|
|
66
64
|
display: inline-block
|
|
67
65
|
color: $color-accent
|
|
68
66
|
border-radius: 0
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
67
|
+
flex-shrink: 0
|
|
68
|
+
span.text
|
|
69
|
+
margin: 0 .5rem
|
|
70
|
+
padding-top: 1px
|
|
71
|
+
span.empty
|
|
72
|
+
padding: 0 8px
|
|
73
|
+
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
.md-text .tag-plugin.timeline
|
|
2
2
|
position: relative
|
|
3
|
-
margin-top: 0
|
|
4
3
|
padding-left: 16px
|
|
5
4
|
&:before
|
|
6
5
|
content: ''
|
|
@@ -102,7 +101,7 @@
|
|
|
102
101
|
margin-top: 4px
|
|
103
102
|
box-shadow: $boxshadow-block
|
|
104
103
|
p
|
|
105
|
-
--fsp:
|
|
104
|
+
--fsp: $fsp1
|
|
106
105
|
img
|
|
107
106
|
display: block
|
|
108
107
|
&:empty
|
|
@@ -123,7 +122,7 @@
|
|
|
123
122
|
color: var(--text-p1)
|
|
124
123
|
line-height: 1.25
|
|
125
124
|
padding: 0.75rem 1rem
|
|
126
|
-
--fsp:
|
|
125
|
+
--fsp: $fsp1
|
|
127
126
|
font-size: var(--fsp)
|
|
128
127
|
|
|
129
128
|
|
|
@@ -142,7 +141,7 @@
|
|
|
142
141
|
trans1 all
|
|
143
142
|
&:hover
|
|
144
143
|
border-bottom: 2px solid $color-hover
|
|
145
|
-
p:first-child:not([class]) a:not([class])
|
|
144
|
+
>p:first-child:not([class]) a:not([class])
|
|
146
145
|
padding: 0
|
|
147
146
|
margin: 0
|
|
148
147
|
color: inherit
|
|
@@ -205,7 +204,7 @@
|
|
|
205
204
|
padding: 0 0.5rem
|
|
206
205
|
margin: 0.75rem 0
|
|
207
206
|
p
|
|
208
|
-
--fsp:
|
|
207
|
+
--fsp: $fsp2
|
|
209
208
|
margin: 0.25rem
|
|
210
209
|
|
|
211
210
|
.tag-plugin.timeline .body
|
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
.widget-wrapper.timeline
|
|
2
2
|
.widget-body
|
|
3
3
|
margin-top: 0.5rem
|
|
4
|
+
.body
|
|
5
|
+
a
|
|
6
|
+
trans1 all
|
|
7
|
+
border-bottom: 1px solid var(--text)
|
|
8
|
+
color: var(--text-p1)
|
|
9
|
+
--fsp: $fsp2
|
|
10
|
+
&:hover
|
|
11
|
+
color: $color-hover
|
|
12
|
+
border-bottom: 1px solid $color-hover
|
|
4
13
|
.tag-plugin.timeline .timenode
|
|
5
14
|
.header
|
|
6
15
|
margin: 0.5rem 16px
|
|
@@ -20,14 +29,8 @@
|
|
|
20
29
|
border-radius: $border-card
|
|
21
30
|
background: var(--alpha50)
|
|
22
31
|
box-shadow: none
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
trans1 all
|
|
26
|
-
border-bottom: 1px solid var(--text)
|
|
27
|
-
color: var(--text-p1)
|
|
28
|
-
&:hover
|
|
29
|
-
color: $color-hover
|
|
30
|
-
border-bottom: 1px solid $color-hover
|
|
32
|
+
p,li
|
|
33
|
+
--fsp: $fsp3
|
|
31
34
|
code
|
|
32
35
|
background: none
|
|
33
36
|
padding: 0
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
width: auto
|
|
59
59
|
border: none
|
|
60
60
|
padding: 6px 2rem
|
|
61
|
-
border-radius: $border-
|
|
61
|
+
border-radius: $border-card
|
|
62
62
|
background: var(--block)
|
|
63
63
|
color: var(--text-p1)
|
|
64
64
|
line-height: 2
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
margin-bottom: 1rem
|
|
75
75
|
border: 1px dashed var(--block-border);
|
|
76
76
|
padding: 1rem;
|
|
77
|
-
border-radius: $border-
|
|
77
|
+
border-radius: $border-card;
|
|
78
78
|
background: var(--card);
|
|
79
79
|
|
|
80
80
|
&:hover
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
|
|
87
87
|
.tk-submit
|
|
88
88
|
padding: 1rem 1rem 0 1rem;
|
|
89
|
-
border-radius: $border-
|
|
89
|
+
border-radius: $border-card;
|
|
90
90
|
background: var(--card);
|
|
91
91
|
|
|
92
92
|
.tk-tag
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
.post-TianliGPT
|
|
20
20
|
background: var(--block)
|
|
21
|
-
border-radius: $border-
|
|
21
|
+
border-radius: $border-card
|
|
22
22
|
padding: 12px
|
|
23
23
|
line-height: 1.3
|
|
24
24
|
border: var(--style-border-always)
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
margin-top: 12px
|
|
45
45
|
padding: 8px 12px
|
|
46
46
|
background: var(--card)
|
|
47
|
-
border-radius: $border-
|
|
47
|
+
border-radius: $border-card
|
|
48
48
|
border: var(--style-border-always)
|
|
49
49
|
font-size: 15px
|
|
50
50
|
line-height: 1.4
|