hexo-theme-solitude 1.2.1 → 1.2.3

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.
@@ -1,10 +1,3 @@
1
- .author-content.author-content-item.momentsPage
2
- height 19rem
3
- background-size cover
4
- color var(--sco-white)
5
- overflow hidden
6
- margin-top 0
7
-
8
1
  #random-post
9
2
  min-height 32px
10
3
  background var(--sco-card-bg)
@@ -20,12 +20,6 @@ if hexo-config('says.home_mini')
20
20
  font-size 16px
21
21
 
22
22
  if hexo-config('says.enable')
23
- .author-content.author-content-item.essayPage
24
- height 19rem
25
- color var(--sco-white)
26
- overflow hidden
27
- margin-top 0
28
-
29
23
  #bber
30
24
  margin-top 1rem
31
25
  width 100%
@@ -11,28 +11,47 @@
11
11
  background var(--sco-card-bg)
12
12
  border var(--style-border)
13
13
  transition 0.3s
14
- border-radius 12px
14
+ border-radius 8px
15
+
16
+ &:hover
17
+ border var(--style-border-hover)
18
+ box-shadow var(--sco-shadow-theme)
15
19
 
16
20
  +maxWidth768()
17
- top 0px
18
- left 0px
19
- margin 0px
21
+ top 0
22
+ left 0
23
+ margin 0
20
24
  width 100%
21
25
  height 100%
22
26
 
23
27
  .search-close-button
28
+ position absolute
29
+ top 0.8rem
30
+ right 1rem
31
+ color var(--sco-gray)
32
+ font-size 1.4em
33
+ line-height 1
34
+ cursor pointer
35
+ transition color .2s ease-in-out 0s
36
+
24
37
  &:hover
25
38
  color var(--sco-main)
26
39
 
27
- .search-box
40
+ #algolia-input-panel
41
+ margin-bottom 8px
42
+
43
+ .search-box, .ais-SearchBox
28
44
  padding-top 8px
29
45
  max-width 100%
46
+ position relative
47
+ width 100%
48
+ min-width 100%
30
49
 
31
- input
50
+ input, .ais-SearchBox-input
32
51
  height 100%
33
52
  width 100%
34
53
  padding 0.25rem 0.7rem
35
- outline 0px
54
+ outline 0
36
55
  border var(--style-border)
37
56
  border-radius 8px
38
57
  background var(--sco-secondbg)
@@ -41,45 +60,10 @@
41
60
  &:focus
42
61
  border var(--style-border-hover)
43
62
 
44
- .search-close-button
45
- position absolute
46
- top 0.8rem
47
- right 1rem
48
- color var(--sco-gray)
49
- font-size 1.4em
50
- line-height 1
51
- cursor pointer
52
- transition color .2s ease-in-out 0s
53
-
54
- #search-mask
55
- position fixed
56
- inset 0px
57
- z-index 1000
58
- display none
59
- background rgba(0, 0, 0, 0.6)
60
- backdrop-filter blur(12px)
61
- -webkit-backdrop-filter blur(12px)
62
- transform translateZ(0)
63
- background var(--sco-maskbgdeep)
64
-
65
- .search-nav
66
- display flex
67
- align-items center
68
- justify-content space-between
69
- padding 0 0.2rem 0.7rem 0.2rem
70
-
71
- .search-dialog-title
72
- font-weight bold
73
- color var(--sco-main)
74
- font-size 1.4em
75
- line-height 1
76
-
77
- .search-box
78
- input
79
- &::placeholder
80
- color var(--sco-gray)
63
+ .ais-Pagination
64
+ .ais-Pagination-item--disabled
65
+ visibility hidden
81
66
 
82
- #algolia-search
83
67
  #search-results
84
68
  padding 8px
85
69
  max-height calc(80vh - 130px)
@@ -117,29 +101,7 @@
117
101
  text-align center
118
102
  font-weight 600
119
103
 
120
- .algolia-stats
121
- color var(--sco-gray)
122
- font-size .8rem
123
- font-weight bold
124
-
125
- .ais-SearchBox
126
- padding-top: 8px
127
- margin 0 auto
128
- width 100%
129
- min-width 100%
130
- position relative
131
-
132
- .ais-SearchBox-input
133
- border-radius 8px
134
- border var(--style-border)
135
- padding 0.25rem 0.7rem
136
- outline 0
137
- background var(--sco-secondbg)
138
- color var(--search-input-color)
139
- width 100%
140
- height 100%
141
-
142
- .ais-Pagination-list.pagination
104
+ .ais-Pagination-list
143
105
  margin 0.2rem 0 0
144
106
  padding 0
145
107
  text-align center
@@ -159,48 +121,34 @@
159
121
  text-align center
160
122
  line-height 1.2rem
161
123
 
162
- search-icon
163
- animation sco-spin 1.2s linear infinite
164
- opacity .6
165
- font-size 2rem
124
+ .search-dialog__title
125
+ padding 0 0 0.7rem
126
+ color var(--sco-main)
127
+ font-size 1.4em
128
+ line-height 1
129
+
130
+ #algolia-tips
131
+ padding-top 12px
132
+ color var(--sco-secondtext)
133
+ right 0
134
+ margin auto
135
+
136
+ #algolia-stats
137
+ margin-bottom 10px
138
+ color var(--sco-gray)
139
+ font-size .8rem
140
+ font-weight bold
141
+
142
+ #algolia-search-results
143
+ padding-top 8px
166
144
 
167
145
  #search-mask
146
+ position fixed
147
+ inset 0
148
+ z-index 1000
149
+ display none
150
+ background rgba(0, 0, 0, 0.6)
168
151
  backdrop-filter blur(12px)
169
152
  -webkit-backdrop-filter blur(12px)
170
153
  transform translateZ(0)
171
- background var(--sco-maskbgdeep)
172
-
173
- #algolia-input-panel
174
- margin-bottom 8px
175
-
176
- .search-dialog
177
- border-radius 12px !important
178
- box-shadow var(--sco-shadow-lightblack)
179
- background var(--sco-card-bg)
180
- border var(--style-border)
181
- transition .3s
182
-
183
- &:hover
184
- border var(--style-border-hover)
185
- box-shadow var(--sco-shadow-theme)
186
-
187
- .search-dialog__title
188
- padding 0 0 0.7rem
189
- color var(--sco-main)
190
- font-size 1.4em
191
- line-height 1
192
-
193
- #algolia-tips
194
- padding-top 12px
195
- color var(--sco-secondtext)
196
- right 0
197
- margin auto
198
-
199
- i
200
- font-size 22px
201
-
202
- .algolia-tips-text
203
- margin-left .4rem
204
-
205
- #algolia-search-results
206
- padding-top 8px
154
+ background var(--sco-maskbgdeep)
@@ -1,112 +1,131 @@
1
- .search-dialog
2
- position fixed
3
- top 5rem
4
- left 50%
5
- z-index 1001
6
- display none
7
- margin-left -15rem
8
- padding 1rem
9
- width 30rem
10
- box-shadow var(--sco-shadow-lightblack)
11
- background var(--sco-card-bg)
12
- border var(--style-border)
13
- transition 0.3s
14
- border-radius 12px
15
-
16
- +maxWidth768()
17
- top 0px
18
- left 0px
19
- margin 0px
20
- width 100%
21
- height 100%
22
-
23
- .search-close-button
24
- color var(--sco-main)
25
- font-size 1.2em
26
- line-height 1
27
- cursor pointer
28
- transition color 0.2s ease-in-out 0s
29
-
30
- &:hover
31
- color rgb(48, 122, 246)
32
-
33
- .search-box
34
- padding-top 8px
35
- max-width 100%
36
-
37
- input
38
- height 100%
39
- width 100%
40
- padding 0.25rem 0.7rem
41
- outline 0px
42
- border var(--style-border)
43
- border-radius 8px
44
- background var(--sco-secondbg)
45
- color var(--sco-fontcolor)
46
-
47
- &:focus
48
- border var(--style-border-hover)
49
-
50
- #search-mask
51
- position fixed
52
- inset 0px
53
- z-index 1000
54
- display none
55
- background rgba(0, 0, 0, 0.6)
56
- backdrop-filter blur(12px)
57
- -webkit-backdrop-filter blur(12px)
58
- transform translateZ(0)
59
- background var(--sco-maskbgdeep)
60
-
61
- .search-wrap
62
- display none
63
-
64
- #loading-database,
65
- #loading-status
66
- text-align center
67
- padding-top 10px
68
-
69
- .search-nav
70
- display flex
71
- align-items center
72
- justify-content space-between
73
- padding 0 0.2rem 0.7rem 0.2rem
74
-
75
- .search-dialog-title
76
- font-weight bold
77
- color var(--sco-main)
78
- font-size 1.4em
79
- line-height 1
80
-
81
- #search-results
82
- max-height calc(80vh - 130px)
83
- overflow-y auto
84
-
85
- +maxWidth768()
86
- max-height 80vh !important
87
-
88
- .search__hit-item
89
- font-weight bold
90
- margin 10px 0
91
-
92
- .search-result
93
- margin 0
94
- font-weight 500
95
-
96
- .search-keyword
97
- color var(--sco-theme)
98
- font-style normal
99
-
100
- #search__hits-empty
101
- text-align center
102
- font-weight 600
103
-
104
- .search__hits-count
105
- color var(--sco-gray)
106
- font-size .8rem
107
- font-weight bold
108
-
109
- .search-box
110
- input
111
- &::placeholder
112
- color var(--sco-gray)
1
+ .search-dialog
2
+ position fixed
3
+ top 5rem
4
+ left 50%
5
+ z-index 1001
6
+ display none
7
+ margin-left -15rem
8
+ padding 1rem
9
+ width 30rem
10
+ box-shadow var(--sco-shadow-lightblack)
11
+ background var(--sco-card-bg)
12
+ border var(--style-border)
13
+ transition 0.3s
14
+ border-radius 8px
15
+
16
+ &:hover
17
+ border var(--style-border-hover)
18
+ box-shadow var(--sco-shadow-theme)
19
+
20
+ +maxWidth768()
21
+ top 0
22
+ left 0
23
+ margin 0
24
+ width 100%
25
+ height 100%
26
+
27
+ .search-dialog-title
28
+ font-weight 700
29
+ color var(--sco-main)
30
+ padding 0 0 0.7rem
31
+ font-size 1.4em
32
+ line-height 1
33
+
34
+ .search-close-button
35
+ position absolute
36
+ top 0.8rem
37
+ right 1rem
38
+ color var(--sco-gray)
39
+ font-size 1.4em
40
+ line-height 1
41
+ cursor pointer
42
+ transition color .2s ease-in-out 0s
43
+
44
+ &:hover
45
+ color var(--sco-main)
46
+
47
+ #search-results
48
+ max-height calc(80vh - 130px)
49
+ overflow-y auto
50
+ margin-top 8px
51
+
52
+ .search-result-list
53
+ .search-result-title
54
+ padding-left 0
55
+ font-weight 700
56
+ position relative
57
+ transition color .2s ease-in-out 0s
58
+
59
+ &:hover
60
+ color var(--sco-main)
61
+
62
+ +maxWidth768()
63
+ max-height 80vh !important
64
+
65
+ #search-pagination
66
+ .pagination-list
67
+ margin 0.2rem 0 0
68
+ padding 0
69
+ text-align center
70
+
71
+ .pagination-item
72
+ color var(--sco-fontcolor)
73
+ display inline-block
74
+ min-width 1.2rem
75
+ height 1.2rem
76
+ text-align center
77
+ line-height 1.2rem
78
+ cursor pointer
79
+
80
+ &:hover
81
+ color var(--sco-main)
82
+
83
+ &.select
84
+ border-radius 4px
85
+ background var(--sco-main)
86
+ color var(--sco-white)
87
+ cursor default
88
+
89
+ &:hover
90
+ color var(--sco-white)
91
+
92
+ #search-tips
93
+ padding-top 12px
94
+ color var(--sco-secondtext)
95
+ right 0
96
+ margin auto
97
+
98
+ .search-result-count
99
+ color var(--sco-gray)
100
+
101
+ b
102
+ color var(--sco-main)
103
+
104
+ .search-box
105
+ position relative
106
+ margin 0 auto
107
+ max-width 100%
108
+ width 100%
109
+ padding-top 8px
110
+ margin-bottom 8px
111
+
112
+ input
113
+ height 100%
114
+ width 100%
115
+ border-radius 8px
116
+ border var(--style-border)
117
+ padding 0.25rem 0.7rem;
118
+ outline 0
119
+ background var(--sco-secondbg)
120
+ color var(--search-input-color)
121
+
122
+ #search-mask
123
+ position fixed
124
+ inset 0
125
+ z-index 1000
126
+ display none
127
+ background rgba(0, 0, 0, 0.6)
128
+ backdrop-filter blur(12px)
129
+ -webkit-backdrop-filter blur(12px)
130
+ transform translateZ(0)
131
+ background var(--sco-maskbgdeep)
@@ -93,4 +93,3 @@ const newestCommentInit = () => {
93
93
  getComment()
94
94
  }
95
95
  }
96
-