hexo-theme-shokax 0.0.4-alpha2 → 0.0.4-alpha3
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/layout/_partials/sidebar/overview.pug +1 -1
- package/package.json +1 -1
- package/source/css/_common/components/highlight/highlight.styl +2 -2
- package/source/css/_common/components/pages/home.styl +2 -2
- package/source/css/_common/components/post/breadcrumb.styl +1 -1
- package/source/css/_common/components/post/post.styl +0 -5
- package/source/css/_common/components/tags/links.styl +1 -1
- package/source/css/_common/components/third-party/valine.styl +1 -6
- package/source/css/_common/outline/header/menu.styl +1 -1
- package/source/css/_common/outline/sidebar/menu.styl +1 -1
- package/source/css/_common/scaffolding/base.styl +9 -30
- package/source/css/_common/scaffolding/buttons.styl +1 -1
- package/source/css/app.styl +4 -4
@@ -32,7 +32,7 @@ nav(class="state")
|
|
32
32
|
div(class="social")
|
33
33
|
each link, name in theme.social
|
34
34
|
- var sidebarURL = link.split('||')[0].trim()
|
35
|
-
- var sidebarIcon = '<i class="fa fa-
|
35
|
+
- var sidebarIcon = '<i class="fa fa-brands fa-' + link.split('||')[1].trim() + '"></i>'
|
36
36
|
!= _url(sidebarURL, sidebarIcon, {title: sidebarURL, class: 'item ' + name})
|
37
37
|
|
38
38
|
!= shokax_inject('sidebar')
|
package/package.json
CHANGED
@@ -243,7 +243,7 @@ code,
|
|
243
243
|
background: var(--grey-2);
|
244
244
|
}
|
245
245
|
|
246
|
-
.
|
246
|
+
.fa {
|
247
247
|
margin-top: 1rem;
|
248
248
|
@extend .up-down;
|
249
249
|
}
|
@@ -256,7 +256,7 @@ code,
|
|
256
256
|
display: none;
|
257
257
|
}
|
258
258
|
|
259
|
-
.
|
259
|
+
.fa {
|
260
260
|
@extend .down-up;
|
261
261
|
}
|
262
262
|
}
|
@@ -186,16 +186,11 @@
|
|
186
186
|
margin: .5rem;
|
187
187
|
overflow: hidden;
|
188
188
|
vertical-align: middle;
|
189
|
-
|
190
|
-
&.actived .ic {
|
191
|
-
color: var(--primary-color);
|
192
|
-
}
|
193
|
-
|
194
189
|
&.actived .fa {
|
195
190
|
color: var(--primary-color);
|
196
191
|
}
|
197
192
|
|
198
|
-
.
|
193
|
+
.fa {
|
199
194
|
color: var(--grey-6);
|
200
195
|
transition: all .25s ease;
|
201
196
|
|
@@ -129,15 +129,15 @@ dd {
|
|
129
129
|
input, textarea {
|
130
130
|
color: var(--text-color);
|
131
131
|
}
|
132
|
-
|
133
|
-
font-family: 'ic';
|
134
|
-
src: url('//at.alicdn.com/t/font_' + $iconfont + '.eot');
|
135
|
-
src: url('//at.alicdn.com/t/font_' + $iconfont + '.eot?#iefix') format('embedded-opentype'),
|
136
|
-
url('//at.alicdn.com/t/font_' + $iconfont + '.woff2') format('woff2'),
|
137
|
-
url('//at.alicdn.com/t/font_' + $iconfont + '.woff') format('woff'),
|
138
|
-
url('//at.alicdn.com/t/font_' + $iconfont + '.ttf') format('truetype'),
|
139
|
-
url('//at.alicdn.com/t/font_' + $iconfont + '.svg#ic') format('svg');
|
140
|
-
}
|
132
|
+
//@font-face {
|
133
|
+
// font-family: 'ic';
|
134
|
+
// src: url('//at.alicdn.com/t/font_' + $iconfont + '.eot');
|
135
|
+
// src: url('//at.alicdn.com/t/font_' + $iconfont + '.eot?#iefix') format('embedded-opentype'),
|
136
|
+
// url('//at.alicdn.com/t/font_' + $iconfont + '.woff2') format('woff2'),
|
137
|
+
// url('//at.alicdn.com/t/font_' + $iconfont + '.woff') format('woff'),
|
138
|
+
// url('//at.alicdn.com/t/font_' + $iconfont + '.ttf') format('truetype'),
|
139
|
+
// url('//at.alicdn.com/t/font_' + $iconfont + '.svg#ic') format('svg');
|
140
|
+
//}
|
141
141
|
|
142
142
|
@font-face {
|
143
143
|
font-family: 'jetbrains-mono';
|
@@ -146,19 +146,6 @@ input, textarea {
|
|
146
146
|
}
|
147
147
|
|
148
148
|
// TODO
|
149
|
-
.ic {
|
150
|
-
font-family: "ic" !important;
|
151
|
-
-webkit-font-smoothing: antialiased;
|
152
|
-
-moz-osx-font-smoothing: grayscale;
|
153
|
-
text-align: center;
|
154
|
-
width: 1.25em;
|
155
|
-
display: inline-block;
|
156
|
-
font-style: normal;
|
157
|
-
font-variant: normal;
|
158
|
-
text-rendering: auto;
|
159
|
-
line-height: 1;
|
160
|
-
}
|
161
|
-
|
162
149
|
.fa {
|
163
150
|
-webkit-font-smoothing: antialiased;
|
164
151
|
-moz-osx-font-smoothing: grayscale;
|
@@ -172,20 +159,12 @@ input, textarea {
|
|
172
159
|
}
|
173
160
|
|
174
161
|
// TODO
|
175
|
-
.ic em {
|
176
|
-
font-size: 0;
|
177
|
-
}
|
178
162
|
|
179
163
|
.fa em {
|
180
164
|
font-size: 0;
|
181
165
|
}
|
182
166
|
|
183
167
|
// TODO
|
184
|
-
.ic-lg {
|
185
|
-
font-size: 1.33333em;
|
186
|
-
line-height: .75em;
|
187
|
-
vertical-align: -.0667em;
|
188
|
-
}
|
189
168
|
|
190
169
|
.fa-lg {
|
191
170
|
font-size: 1.33333em;
|
package/source/css/app.styl
CHANGED
@@ -13,10 +13,10 @@ if $colors = hexo-config('style.colors')
|
|
13
13
|
else
|
14
14
|
@import "_colors";
|
15
15
|
|
16
|
-
if $_iconfont = hexo-config('style.iconfont')
|
17
|
-
@import $_iconfont;
|
18
|
-
else
|
19
|
-
@import "_iconfont";
|
16
|
+
//if $_iconfont = hexo-config('style.iconfont')
|
17
|
+
// @import $_iconfont;
|
18
|
+
//else
|
19
|
+
// @import "_iconfont";
|
20
20
|
|
21
21
|
// Scaffolding
|
22
22
|
@import "_common/scaffolding";
|