jekyll-theme-2038 0.1.6 → 0.1.8
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.
- checksums.yaml +4 -4
- data/README.md +3 -1
- data/_sass/2038/colour-relative.scss +1 -1
- data/_sass/2038/miscellaneous.scss +17 -51
- data/_sass/2038/resize.scss +1 -1
- data/_sass/2038/typo.scss +4 -212
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d08559ba9cd96868c67a163c63892579e200978a83ed681cafaff05e079368f
|
4
|
+
data.tar.gz: afed6930eb9d4c01288c3bbbdd45007c581323a6c01ad559eddc6d5f5110e4a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a389c5d7e8635ffad9c9310b0382928c377a7b3e2916652bf4b318f3968a371c51f79eb76283e832e4daa1877c9a65a61efb196b6b88408806ef2c9b6aed82ef
|
7
|
+
data.tar.gz: e789345609ade434b4764062e3b2973ecbfba930dcc1e6b18d719e9b7aec7f27616625bb6121696599c90b1250b833c94c3dcfd6506049272c174fc788add8be
|
data/README.md
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
<img src="assets/wordmark.svg" align="right" />
|
2
2
|
|
3
|
-
|
3
|
+
**THIS IS A PERSONAL PROJECT CURRENTLY WITH SOME PROBLEMS. PLEASE CONTACT ME IF YOU WANT TO USE THIS PROJECT.**
|
4
|
+
|
5
|
+
[My blog with 2038](https://matling.fit)
|
4
6
|
|
5
7
|
# 2038
|
6
8
|
|
@@ -32,54 +32,38 @@ rt {
|
|
32
32
|
speak: none
|
33
33
|
}
|
34
34
|
|
35
|
+
.ml-article p {
|
36
|
+
text-indent: 1em;
|
37
|
+
}
|
38
|
+
|
35
39
|
body, button, input, select, textarea, .temp-lang, h1, h2, h3, h4, h5, h6 {
|
36
40
|
letter-spacing: 0;
|
37
|
-
|
38
|
-
&:lang(*-Hans) {
|
39
|
-
font: 300 1em/1.5 -apple-system,"Helvetica Neue","Segoe UI",Helvetica,"Nimbus Sans L",Arial,"Liberation Sans","PingFang SC","Hiragino Sans GB","Noto Sans CJK SC","Source Han Sans SC","Source Han Sans CN","Microsoft YaHei","Wenquanyi Micro Hei","WenQuanYi Zen Hei","ST Heiti",SimHei,"WenQuanYi Zen Hei Sharp",sans-serif;
|
40
|
-
letter-spacing: 0.05em;
|
41
|
-
}
|
42
41
|
&:lang(cmn-Hans),
|
43
42
|
&:lang(wuu-Hans),
|
44
|
-
&:lang(czh-Hans),
|
45
|
-
&:lang(hak-Hans),
|
46
43
|
&:lang(yue-Hans),
|
47
|
-
&:lang(nan-Hans),
|
48
|
-
&:lang(cpx-Hans),
|
49
|
-
&:lang(cdo-Hans),
|
50
|
-
&:lang(mnp-Hans),
|
51
|
-
&:lang(zco-Hans),
|
52
|
-
&:lang(gan-Hans),
|
53
|
-
&:lang(hsn-Hans),
|
54
|
-
&:lang(cjy-Hans),
|
55
44
|
&:lang(lzh-Hans) {
|
56
45
|
font: 300 1em/1.5 -apple-system,"Helvetica Neue","Segoe UI",Helvetica,"Nimbus Sans L",Arial,"Liberation Sans","PingFang SC","Hiragino Sans GB","Noto Sans CJK SC","Source Han Sans SC","Source Han Sans CN","Microsoft YaHei","Wenquanyi Micro Hei","WenQuanYi Zen Hei","ST Heiti",SimHei,"WenQuanYi Zen Hei Sharp",sans-serif;
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
letter-spacing: 0.05em;
|
46
|
+
.ml-article p {
|
47
|
+
text-indent: 2em;
|
48
|
+
}
|
49
|
+
|
62
50
|
}
|
63
51
|
&:lang(cmn-Hant),
|
64
52
|
&:lang(wuu-Hant),
|
65
|
-
&:lang(czh-Hant),
|
66
|
-
&:lang(hak-Hant),
|
67
53
|
&:lang(yue-Hant),
|
68
|
-
&:lang(nan-Hant),
|
69
|
-
&:lang(cpx-Hant),
|
70
|
-
&:lang(cdo-Hant),
|
71
|
-
&:lang(mnp-Hant),
|
72
|
-
&:lang(zco-Hant),
|
73
|
-
&:lang(gan-Hant),
|
74
|
-
&:lang(hsn-Hant),
|
75
|
-
&:lang(cjy-Hant),
|
76
54
|
&:lang(lzh-Hant) {
|
77
55
|
font: 300 1em/1.5 -apple-system,"Helvetica Neue","Segoe UI",Helvetica,"Nimbus Sans L",Arial,"Liberation Sans","PingFang TC","Hiragino Sans TC","Noto Sans CJK TC","Source Han Sans TC","Source Han Sans HK","Microsoft Jhenghei","Wenquanyi Micro Hei","WenQuanYi Zen Hei","ST Heiti",SimHei,"WenQuanYi Zen Hei Sharp",sans-serif;
|
78
|
-
|
56
|
+
.ml-article p {
|
57
|
+
text-indent: 2em;
|
58
|
+
}
|
59
|
+
|
79
60
|
}
|
80
61
|
|
81
62
|
&:lang(jp) {
|
82
63
|
font: 300 1em/1.5 -apple-system,"Helvetica Neue","Segoe UI",Helvetica,"Nimbus Sans L",Arial,"Liberation Sans","PingFang JP","Hiragino Sans JP","Noto Sans CJK JP","Source Han Sans JP","Source Han Sans JP","Microsoft YaHei","Wenquanyi Micro Hei","WenQuanYi Zen Hei","ST Heiti",SimHei,"WenQuanYi Zen Hei Sharp",sans-serif;
|
64
|
+
.ml-article p {
|
65
|
+
text-indent: 2em;
|
66
|
+
}
|
83
67
|
}
|
84
68
|
}
|
85
69
|
|
@@ -126,12 +110,8 @@ p, table {
|
|
126
110
|
margin: .75em 0;
|
127
111
|
}
|
128
112
|
|
129
|
-
.ml-article p {
|
130
|
-
text-indent:
|
131
|
-
}
|
132
|
-
|
133
|
-
.footnote p, .ml-article ul p, .ml-article ol p {
|
134
|
-
text-indent: 0;
|
113
|
+
.ml-article blockquote p, .footnote p, .ml-article ul p, .ml-article ol p {
|
114
|
+
text-indent: 0 !important;
|
135
115
|
}
|
136
116
|
|
137
117
|
summary {
|
@@ -162,24 +142,10 @@ body, .ml-drawer-inside {
|
|
162
142
|
q {
|
163
143
|
&:lang(cmn-Hans), &:lang(cmn-Hant),
|
164
144
|
&:lang(wuu-Hans), &:lang(wuu-Hant),
|
165
|
-
&:lang(czh-Hans), &:lang(czh-Hant),
|
166
|
-
&:lang(hak-Hans), &:lang(hak-Hant),
|
167
145
|
&:lang(yue-Hans), &:lang(yue-Hant),
|
168
|
-
&:lang(nan-Hans), &:lang(nan-Hant),
|
169
|
-
&:lang(cpx-Hans), &:lang(cpx-Hant),
|
170
|
-
&:lang(cdo-Hans), &:lang(cdo-Hant),
|
171
|
-
&:lang(mnp-Hans), &:lang(mnp-Hant),
|
172
|
-
&:lang(zco-Hans), &:lang(zco-Hant),
|
173
|
-
&:lang(gan-Hans), &:lang(gan-Hant),
|
174
|
-
&:lang(hsn-Hans), &:lang(hsn-Hant),
|
175
|
-
&:lang(cjy-Hans), &:lang(cjy-Hant),
|
176
146
|
&:lang(lzh-Hans), &:lang(lzh-Hant) {
|
177
147
|
quotes: '\300C' '\300D' '\300E' '\300F'
|
178
148
|
}
|
179
|
-
|
180
|
-
&:lang(*-Hans), &:lang(*-Hant) {
|
181
|
-
quotes: '\300C' '\300D' '\300E' '\300F'
|
182
|
-
}
|
183
149
|
}
|
184
150
|
|
185
151
|
|
data/_sass/2038/resize.scss
CHANGED
data/_sass/2038/typo.scss
CHANGED
@@ -1,4 +1,7 @@
|
|
1
|
-
/*
|
1
|
+
/*
|
2
|
+
I truncated this file.
|
3
|
+
Now it is used mostly in order to reset.
|
4
|
+
*/
|
2
5
|
|
3
6
|
/*
|
4
7
|
|
@@ -27,20 +30,11 @@ SOFTWARE.
|
|
27
30
|
*/
|
28
31
|
|
29
32
|
html {
|
30
|
-
// color: #333;
|
31
|
-
// background: #fff;
|
32
33
|
-webkit-text-size-adjust: 100%;
|
33
34
|
-ms-text-size-adjust: 100%;
|
34
35
|
text-rendering: optimizelegibility;
|
35
36
|
}
|
36
37
|
|
37
|
-
/* 如果你的项目仅支持 IE9+ | Chrome | Firefox 等,推荐在 <html> 中添加 .borderbox 这个 class */
|
38
|
-
html.borderbox *, html.borderbox *:before, html.borderbox *:after {
|
39
|
-
-moz-box-sizing: border-box;
|
40
|
-
-webkit-box-sizing: border-box;
|
41
|
-
box-sizing: border-box;
|
42
|
-
}
|
43
|
-
|
44
38
|
/* 内外边距通常让各个浏览器样式的表现位置不同 */
|
45
39
|
body, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td, hr, button, article, aside, details, figcaption, figure, footer, header, menu, nav, section {
|
46
40
|
margin: 0;
|
@@ -79,22 +73,6 @@ fieldset, img {
|
|
79
73
|
border: 0;
|
80
74
|
}
|
81
75
|
|
82
|
-
/* 块/段落引用 */
|
83
|
-
//blockquote {
|
84
|
-
// position: relative;
|
85
|
-
// color: #999;
|
86
|
-
// font-weight: 400;
|
87
|
-
// border-left: 1px solid #1abc9c;
|
88
|
-
// padding-left: 1em;
|
89
|
-
// margin: 1em 3em 1em 2em;
|
90
|
-
//}
|
91
|
-
|
92
|
-
//@media only screen and ( max-width: 640px ) {
|
93
|
-
// blockquote {
|
94
|
-
// margin: 1em 0;
|
95
|
-
// }
|
96
|
-
//}
|
97
|
-
|
98
76
|
/* Firefox 以外,元素没有下划线,需添加 */
|
99
77
|
acronym, abbr, time {
|
100
78
|
border-bottom: 1px dotted;
|
@@ -117,20 +95,11 @@ address, caption, /*cite,*/ code, dfn, /*em,*/ th, var {
|
|
117
95
|
font-weight: 400;
|
118
96
|
}
|
119
97
|
|
120
|
-
/* 去掉列表前的标识, li 会继承,大部分网站通常用列表来很多内容,所以应该当去 */
|
121
|
-
// ul, ol {
|
122
|
-
// list-style: none;
|
123
|
-
// }
|
124
|
-
|
125
98
|
/* 对齐是排版最重要的因素, 别让什么都居中 */
|
126
99
|
caption, th {
|
127
100
|
text-align: left;
|
128
101
|
}
|
129
102
|
|
130
|
-
// q:before, q:after {
|
131
|
-
// content: '';
|
132
|
-
// }
|
133
|
-
|
134
103
|
/* 统一上标和下标 */
|
135
104
|
sub, sup {
|
136
105
|
font-size: 75%;
|
@@ -138,10 +107,6 @@ sub, sup {
|
|
138
107
|
position: relative;
|
139
108
|
}
|
140
109
|
|
141
|
-
:root sub, :root sup {
|
142
|
-
vertical-align: baseline; /* for ie9 and other modern browsers */
|
143
|
-
}
|
144
|
-
|
145
110
|
sup {
|
146
111
|
top: -0.5em;
|
147
112
|
}
|
@@ -150,42 +115,14 @@ sub {
|
|
150
115
|
bottom: -0.25em;
|
151
116
|
}
|
152
117
|
|
153
|
-
/* 让链接在 hover 状态下显示下划线 */
|
154
|
-
// a {
|
155
|
-
// color: #1abc9c;
|
156
|
-
// }
|
157
|
-
|
158
|
-
.typo a {
|
159
|
-
border-bottom: 1px solid #1abc9c;
|
160
|
-
}
|
161
|
-
|
162
|
-
.typo a:hover {
|
163
|
-
border-bottom-color: #555;
|
164
|
-
color: #555;
|
165
|
-
text-decoration: none;
|
166
|
-
}
|
167
|
-
|
168
118
|
/* 默认不显示下划线,保持页面简洁 */
|
169
119
|
ins, a {
|
170
120
|
text-decoration: none;
|
171
121
|
}
|
172
122
|
|
173
|
-
/* 专名号:虽然 u 已经重回 html5 Draft,但在所有浏览器中都是可以使用的,
|
174
|
-
* 要做到更好,向后兼容的话,添加 class="typo-u" 来显示专名号
|
175
|
-
* 关于 <u> 标签:http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-u-element
|
176
|
-
* 被放弃的是 4,之前一直搞错 http://www.w3.org/TR/html401/appendix/changes.html#idx-deprecated
|
177
|
-
* 一篇关于 <u> 标签的很好文章:http://html5doctor.com/u-element/
|
178
|
-
*/
|
179
|
-
u, .typo-u {
|
180
|
-
text-decoration: underline;
|
181
|
-
}
|
182
|
-
|
183
123
|
/* 标记,类似于手写的荧光笔的作用 */
|
184
124
|
mark {
|
185
|
-
// background: #fffdd166;
|
186
|
-
// border-bottom: 1px solid #ffedce;
|
187
125
|
padding: 2px 0;
|
188
|
-
// margin: 0 5px;
|
189
126
|
}
|
190
127
|
|
191
128
|
/* 代码片断 */
|
@@ -193,14 +130,6 @@ pre, code, pre tt {
|
|
193
130
|
font-family: Courier, 'Courier New', monospace;
|
194
131
|
}
|
195
132
|
|
196
|
-
pre {
|
197
|
-
background: #f8f8f8;
|
198
|
-
border: 1px solid #ddd;
|
199
|
-
padding: 1em 1.5em;
|
200
|
-
display: block;
|
201
|
-
-webkit-overflow-scrolling: touch;
|
202
|
-
}
|
203
|
-
|
204
133
|
/* 一致化 horizontal rule */
|
205
134
|
hr {
|
206
135
|
border: none;
|
@@ -209,158 +138,21 @@ hr {
|
|
209
138
|
height: 10px;
|
210
139
|
}
|
211
140
|
|
212
|
-
/* 底部印刷体、版本等标记 */
|
213
|
-
small, .typo-small,
|
214
|
-
/* 图片说明 */
|
215
|
-
figcaption {
|
216
|
-
font-size: 0.9em;
|
217
|
-
// color: #888;
|
218
|
-
}
|
219
|
-
|
220
141
|
strong, b {
|
221
142
|
font-weight: bolder;
|
222
|
-
// color: #000;
|
223
|
-
}
|
224
|
-
|
225
|
-
/* 可拖动文件添加拖动手势 */
|
226
|
-
[draggable] {
|
227
|
-
cursor: move;
|
228
|
-
}
|
229
|
-
|
230
|
-
.clearfix:before, .clearfix:after {
|
231
|
-
content: "";
|
232
|
-
display: table;
|
233
|
-
}
|
234
|
-
|
235
|
-
.clearfix:after {
|
236
|
-
clear: both;
|
237
|
-
}
|
238
|
-
|
239
|
-
.clearfix {
|
240
|
-
zoom: 1;
|
241
|
-
}
|
242
|
-
|
243
|
-
/* 强制文本换行 */
|
244
|
-
.textwrap, .textwrap td, .textwrap th {
|
245
|
-
word-wrap: break-word;
|
246
|
-
word-break: break-all;
|
247
|
-
}
|
248
|
-
|
249
|
-
.textwrap-table {
|
250
|
-
table-layout: fixed;
|
251
|
-
}
|
252
|
-
|
253
|
-
/* 提供 serif 版本的字体设置: iOS 下中文自动 fallback 到 sans-serif */
|
254
|
-
.serif {
|
255
|
-
font-family: Palatino, Optima, Georgia, serif;
|
256
143
|
}
|
257
144
|
|
258
|
-
/* 保证块/段落之间的空白隔行 */
|
259
|
-
.typo p, .typo pre, .typo ul, .typo ol, .typo dl, .typo form, .typo hr, .typo table,
|
260
|
-
.typo-p, .typo-pre, .typo-ul, .typo-ol, .typo-dl, .typo-form, .typo-hr, .typo-table, blockquote {
|
261
|
-
margin-bottom: 1.2em
|
262
|
-
}
|
263
|
-
|
264
|
-
/* h1, h2, h3, h4, h5, h6 {
|
265
|
-
font-family: PingFang SC, Verdana, Helvetica Neue, Microsoft Yahei, Hiragino Sans GB, Microsoft Sans Serif, WenQuanYi Micro Hei, sans-serif;
|
266
|
-
font-weight: 300;
|
267
|
-
// color: #000;
|
268
|
-
line-height: 1.35;
|
269
|
-
} */
|
270
|
-
|
271
|
-
|
272
145
|
/* 标题应该更贴紧内容,并与其他块区分,margin 值要相应做优化 */
|
273
|
-
.typo h1, .typo h2, .typo h3, .typo h4, .typo h5, .typo h6,
|
274
|
-
.typo-h1, .typo-h2, .typo-h3, .typo-h4, .typo-h5, .typo-h6,
|
275
146
|
h1, h2, h3, h4, h5, h6 {
|
276
|
-
margin-top: 1.2em;
|
277
147
|
margin-bottom: 0.6em;
|
278
|
-
line-height: 1.35;
|
279
|
-
}
|
280
|
-
|
281
|
-
.typo h1, .typo-h1 {
|
282
|
-
font-size: 2em;
|
283
|
-
}
|
284
|
-
|
285
|
-
.typo h2, .typo-h2 {
|
286
|
-
font-size: 1.8em;
|
287
|
-
}
|
288
|
-
|
289
|
-
.typo h3, .typo-h3 {
|
290
|
-
font-size: 1.6em;
|
291
|
-
}
|
292
|
-
|
293
|
-
.typo h4, .typo-h4 {
|
294
|
-
font-size: 1.4em;
|
295
|
-
}
|
296
|
-
|
297
|
-
.typo h5, .typo h6, .typo-h5, .typo-h6 {
|
298
|
-
font-size: 1.2em;
|
299
|
-
}
|
300
|
-
|
301
|
-
/* 在文章中,应该还原 ul 和 ol 的样式 */
|
302
|
-
.typo ul, .typo-ul {
|
303
|
-
margin-left: 1.3em;
|
304
|
-
list-style: disc;
|
305
|
-
}
|
306
|
-
|
307
|
-
.typo ol, .typo-ol {
|
308
|
-
list-style: decimal;
|
309
|
-
margin-left: 1.9em;
|
310
|
-
}
|
311
|
-
|
312
|
-
.typo li ul, .typo li ol, .typo-ul ul, .typo-ul ol, .typo-ol ul, .typo-ol ol {
|
313
|
-
margin-bottom: 0.8em;
|
314
|
-
margin-left: 2em;
|
315
|
-
}
|
316
|
-
|
317
|
-
.typo li ul, .typo-ul ul, .typo-ol ul {
|
318
|
-
list-style: circle;
|
319
148
|
}
|
320
149
|
|
321
150
|
/* 同 ul/ol,在文章中应用 table 基本格式 */
|
322
151
|
table th, table td, table caption {
|
323
|
-
// border: 1px solid #ddd;
|
324
152
|
padding: 0.5em 1em;
|
325
|
-
// color: #666;
|
326
153
|
}
|
327
154
|
|
328
155
|
table caption {
|
329
156
|
border-bottom: none;
|
330
157
|
}
|
331
158
|
|
332
|
-
/* 去除 webkit 中 input 和 textarea 的默认样式 */
|
333
|
-
.typo-input, .typo-textarea {
|
334
|
-
-webkit-appearance: none;
|
335
|
-
border-radius: 0;
|
336
|
-
}
|
337
|
-
|
338
|
-
.typo-em, .typo em, legend, caption {
|
339
|
-
// color: #000;
|
340
|
-
font-weight: inherit;
|
341
|
-
}
|
342
|
-
|
343
|
-
/* 着重号,只能在少量(少于100个字符)且全是全角字符的情况下使用 */
|
344
|
-
/*@mixin dot-bottom {
|
345
|
-
position: relative;
|
346
|
-
font-style: normal;
|
347
|
-
|
348
|
-
&:after {
|
349
|
-
position: absolute;
|
350
|
-
top: 0.55em;
|
351
|
-
left: 0;
|
352
|
-
width: 100%;
|
353
|
-
overflow: hidden;
|
354
|
-
white-space: nowrap;
|
355
|
-
content: "\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D\318D";
|
356
|
-
pointer-events: none;
|
357
|
-
speak: none;
|
358
|
-
}
|
359
|
-
}
|
360
|
-
*/
|
361
|
-
|
362
|
-
/* Responsive images */
|
363
|
-
.typo img {
|
364
|
-
max-width: 100%;
|
365
|
-
}
|
366
|
-
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-2038
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- 物灵
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-09-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|