jekyll-theme-2038 0.1.0
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 +7 -0
- data/LICENSE +21 -0
- data/LICENSE.txt +21 -0
- data/README.md +53 -0
- data/README.old.md +52 -0
- data/_config.yml +40 -0
- data/_data/theme-2038-i18n.yml +28 -0
- data/_includes/custom-head.html +2 -0
- data/_includes/drawer.html +26 -0
- data/_includes/footer.html +36 -0
- data/_includes/head.html +15 -0
- data/_includes/link-item.html +8 -0
- data/_includes/page-link.html +19 -0
- data/_includes/pick-language.html +6 -0
- data/_includes/plain-list.html +17 -0
- data/_includes/social.html +21 -0
- data/_includes/time-line.html +38 -0
- data/_includes/toc.html +182 -0
- data/_layouts/default.html +14 -0
- data/_layouts/page.html +12 -0
- data/_layouts/post.html +64 -0
- data/_sass/2038/colour-relative.scss +221 -0
- data/_sass/2038/colour/auto.scss +6 -0
- data/_sass/2038/colour/dark.scss +14 -0
- data/_sass/2038/colour/light.scss +10 -0
- data/_sass/2038/drawer.scss +121 -0
- data/_sass/2038/footer.scss +80 -0
- data/_sass/2038/init.scss +5 -0
- data/_sass/2038/miscellaneous.scss +194 -0
- data/_sass/2038/resize.scss +125 -0
- data/_sass/2038/syntax-dark.scss +87 -0
- data/_sass/2038/syntax-light.scss +87 -0
- data/_sass/2038/typo.scss +364 -0
- data/assets/billingual-annotation.svg +1 -0
- data/assets/dot-dark.svg +3 -0
- data/assets/dot-light.svg +3 -0
- data/assets/main.scss +9 -0
- data/assets/minima-social-icons.svg +50 -0
- data/assets/screenshot-light.jpg +0 -0
- data/assets/screenshot.jpg +0 -0
- data/assets/underline-dark.svg +3 -0
- data/assets/underline-light.svg +3 -0
- data/assets/wordmark.svg +28 -0
- metadata +99 -0
@@ -0,0 +1,80 @@
|
|
1
|
+
.ml-footer {
|
2
|
+
.ml-wordmark {
|
3
|
+
float: left;
|
4
|
+
}
|
5
|
+
|
6
|
+
position: relative;
|
7
|
+
bottom: 0;
|
8
|
+
width: 100%;
|
9
|
+
min-height: 6rem;
|
10
|
+
}
|
11
|
+
|
12
|
+
$icon-size: 1.8em;
|
13
|
+
|
14
|
+
.ml-social-list {
|
15
|
+
padding: 0
|
16
|
+
}
|
17
|
+
|
18
|
+
.ml-social-list li {
|
19
|
+
list-style: none;
|
20
|
+
margin: 6px;
|
21
|
+
display: inline-block;
|
22
|
+
float: right
|
23
|
+
}
|
24
|
+
|
25
|
+
.ml-footer-main {
|
26
|
+
padding: 2em;
|
27
|
+
}
|
28
|
+
|
29
|
+
.ml-ul-dot-line {
|
30
|
+
.ml-footer & {
|
31
|
+
text-align: center;
|
32
|
+
}
|
33
|
+
line-height: 2rem;
|
34
|
+
padding: 0;
|
35
|
+
|
36
|
+
li {
|
37
|
+
list-style: none;
|
38
|
+
display: inline-block;
|
39
|
+
}
|
40
|
+
|
41
|
+
li::before {
|
42
|
+
margin: 0 6px;
|
43
|
+
content: '\318D';
|
44
|
+
}
|
45
|
+
|
46
|
+
li:first-child::before {
|
47
|
+
display: none
|
48
|
+
}
|
49
|
+
}
|
50
|
+
|
51
|
+
.svg-icon {
|
52
|
+
width: $icon-size;
|
53
|
+
height: $icon-size;
|
54
|
+
display: inline-block;
|
55
|
+
fill: currentColor;
|
56
|
+
padding: 5px 3px 2px 5px;
|
57
|
+
vertical-align: text-bottom;
|
58
|
+
}
|
59
|
+
|
60
|
+
.ml-footer-divider {
|
61
|
+
display: none
|
62
|
+
}
|
63
|
+
|
64
|
+
@media screen and (min-width: 1280px) {
|
65
|
+
.ml-footer {
|
66
|
+
z-index: 10;
|
67
|
+
}
|
68
|
+
}
|
69
|
+
|
70
|
+
@media screen and (max-width: 749px) {
|
71
|
+
.ml-footer-divider {
|
72
|
+
display: block;
|
73
|
+
clear: both
|
74
|
+
}
|
75
|
+
}
|
76
|
+
|
77
|
+
.ml-clear {
|
78
|
+
clear: both
|
79
|
+
}
|
80
|
+
|
@@ -0,0 +1,194 @@
|
|
1
|
+
body {
|
2
|
+
scroll-behavior: smooth;
|
3
|
+
}
|
4
|
+
|
5
|
+
@-moz-document url-prefix() {
|
6
|
+
body {
|
7
|
+
text-align: justify;
|
8
|
+
text-justify: inter-word;
|
9
|
+
}
|
10
|
+
}
|
11
|
+
|
12
|
+
.ml-article ul, .ml-article ol {
|
13
|
+
padding-inline-start: 3em;
|
14
|
+
}
|
15
|
+
|
16
|
+
|
17
|
+
.ml-pinyin {
|
18
|
+
line-height: 2.2em;
|
19
|
+
}
|
20
|
+
|
21
|
+
.ml-ipa {
|
22
|
+
font-family: CharisSILW, serif, serif;
|
23
|
+
}
|
24
|
+
|
25
|
+
.ruby-wrapper {
|
26
|
+
margin: 0 .2em;
|
27
|
+
}
|
28
|
+
|
29
|
+
rt {
|
30
|
+
font-size: 82.5%;
|
31
|
+
line-height: 1.5;
|
32
|
+
speak: none
|
33
|
+
}
|
34
|
+
|
35
|
+
body, button, input, select, textarea, .temp-lang {
|
36
|
+
&:lang(*-Hans) {
|
37
|
+
font: 300 1em/1.8 PingFang SC, Lantinghei SC, Microsoft Yahei, Hiragino Sans GB, Microsoft Sans Serif, WenQuanYi Micro Hei, sans-serif;
|
38
|
+
}
|
39
|
+
|
40
|
+
&:lang(cmn-Hans),
|
41
|
+
&:lang(wuu-Hans),
|
42
|
+
&:lang(czh-Hans),
|
43
|
+
&:lang(hak-Hans),
|
44
|
+
&:lang(yue-Hans),
|
45
|
+
&:lang(nan-Hans),
|
46
|
+
&:lang(cpx-Hans),
|
47
|
+
&:lang(cdo-Hans),
|
48
|
+
&:lang(mnp-Hans),
|
49
|
+
&:lang(zco-Hans),
|
50
|
+
&:lang(gan-Hans),
|
51
|
+
&:lang(hsn-Hans),
|
52
|
+
&:lang(cjy-Hans),
|
53
|
+
&:lang(lzh-Hans) {
|
54
|
+
font: 300 1em/1.8 PingFang SC, Lantinghei SC, Microsoft Yahei, Hiragino Sans GB, Microsoft Sans Serif, WenQuanYi Micro Hei, sans-serif;
|
55
|
+
}
|
56
|
+
|
57
|
+
&:lang(jp) {
|
58
|
+
font: 300 1em/1.8;
|
59
|
+
}
|
60
|
+
}
|
61
|
+
|
62
|
+
.ml-article {
|
63
|
+
min-height: 30%;
|
64
|
+
position: relative;
|
65
|
+
top: 0;
|
66
|
+
left: 0;
|
67
|
+
}
|
68
|
+
|
69
|
+
.ml-title {
|
70
|
+
margin-bottom: 8px;
|
71
|
+
}
|
72
|
+
|
73
|
+
@media print {
|
74
|
+
body {
|
75
|
+
font: 400 12pt / 1.7 'Noto Serif CJK SC', serif,
|
76
|
+
"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
77
|
+
background: white;
|
78
|
+
color: black;
|
79
|
+
}
|
80
|
+
.ml-header, .ml-footer, .ml-drawer {
|
81
|
+
display: none;
|
82
|
+
}
|
83
|
+
}
|
84
|
+
|
85
|
+
pre.highlight {
|
86
|
+
margin: 0;
|
87
|
+
padding: 1em;
|
88
|
+
}
|
89
|
+
|
90
|
+
blockquote {
|
91
|
+
margin: 0;
|
92
|
+
margin-left: 1em;
|
93
|
+
padding-left: .75em;
|
94
|
+
}
|
95
|
+
|
96
|
+
pre, code, samp, kbd {
|
97
|
+
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
|
98
|
+
}
|
99
|
+
|
100
|
+
kbd {
|
101
|
+
padding: 1px 3px
|
102
|
+
}
|
103
|
+
|
104
|
+
p, table {
|
105
|
+
margin: .9em 0;
|
106
|
+
}
|
107
|
+
|
108
|
+
summary {
|
109
|
+
cursor: pointer
|
110
|
+
}
|
111
|
+
|
112
|
+
.highlight, .highlight .w {
|
113
|
+
background: none
|
114
|
+
}
|
115
|
+
|
116
|
+
u {
|
117
|
+
text-decoration: none
|
118
|
+
}
|
119
|
+
|
120
|
+
body, .ml-drawer-inside {
|
121
|
+
&::-webkit-scrollbar {
|
122
|
+
width: 5px;
|
123
|
+
}
|
124
|
+
&::-webkit-scrollbar-thumb {
|
125
|
+
border-radius: 10px;
|
126
|
+
}
|
127
|
+
}
|
128
|
+
|
129
|
+
.ml-front a {
|
130
|
+
margin-left: .5em;
|
131
|
+
}
|
132
|
+
|
133
|
+
q {
|
134
|
+
&:lang(cmn-Hans), &:lang(cmn-Hant),
|
135
|
+
&:lang(wuu-Hans), &:lang(wuu-Hant),
|
136
|
+
&:lang(czh-Hans), &:lang(czh-Hant),
|
137
|
+
&:lang(hak-Hans), &:lang(hak-Hant),
|
138
|
+
&:lang(yue-Hans), &:lang(yue-Hant),
|
139
|
+
&:lang(nan-Hans), &:lang(nan-Hant),
|
140
|
+
&:lang(cpx-Hans), &:lang(cpx-Hant),
|
141
|
+
&:lang(cdo-Hans), &:lang(cdo-Hant),
|
142
|
+
&:lang(mnp-Hans), &:lang(mnp-Hant),
|
143
|
+
&:lang(zco-Hans), &:lang(zco-Hant),
|
144
|
+
&:lang(gan-Hans), &:lang(gan-Hant),
|
145
|
+
&:lang(hsn-Hans), &:lang(hsn-Hant),
|
146
|
+
&:lang(cjy-Hans), &:lang(cjy-Hant),
|
147
|
+
&:lang(lzh-Hans), &:lang(lzh-Hant) {
|
148
|
+
quotes: '\300C' '\300D' '\300E' '\300F'
|
149
|
+
}
|
150
|
+
|
151
|
+
&:lang(*-Hans), &:lang(*-Hant) {
|
152
|
+
quotes: '\300C' '\300D' '\300E' '\300F'
|
153
|
+
}
|
154
|
+
}
|
155
|
+
|
156
|
+
|
157
|
+
math * {
|
158
|
+
text-align: center
|
159
|
+
}
|
160
|
+
|
161
|
+
.ml-card-list ul {
|
162
|
+
padding: 0;
|
163
|
+
}
|
164
|
+
|
165
|
+
|
166
|
+
a.ml-card-anchor, a.ml-block-anchor {
|
167
|
+
border: none;
|
168
|
+
display: block;
|
169
|
+
}
|
170
|
+
|
171
|
+
.ml-block-anchor {
|
172
|
+
padding: 4px
|
173
|
+
}
|
174
|
+
|
175
|
+
.ml-page-list {
|
176
|
+
text-align: center;
|
177
|
+
|
178
|
+
li {
|
179
|
+
display: inline-block;
|
180
|
+
list-style: none;
|
181
|
+
}
|
182
|
+
|
183
|
+
a, .ml-placeholder {
|
184
|
+
display: block;
|
185
|
+
width: 2.5em;
|
186
|
+
line-height: 2em;
|
187
|
+
border-bottom: none;
|
188
|
+
}
|
189
|
+
}
|
190
|
+
|
191
|
+
ul.ml-page-list {
|
192
|
+
padding: 0;
|
193
|
+
}
|
194
|
+
|
@@ -0,0 +1,125 @@
|
|
1
|
+
$header-height: 9em !default;
|
2
|
+
$middle-width: 960px !default;
|
3
|
+
$link-change-time: .3s !default;
|
4
|
+
|
5
|
+
.ml-main {
|
6
|
+
margin: 0 auto;
|
7
|
+
padding: $header-height 0 4em;
|
8
|
+
max-width: $middle-width
|
9
|
+
}
|
10
|
+
|
11
|
+
.ml-drawer {
|
12
|
+
padding-right: ($middle-width / 2) + 10px
|
13
|
+
}
|
14
|
+
|
15
|
+
.ml-card-list dt::before {
|
16
|
+
content: '';
|
17
|
+
display: inline-block;
|
18
|
+
width: 15px;
|
19
|
+
height: 15px;
|
20
|
+
margin-right: 2em;
|
21
|
+
}
|
22
|
+
|
23
|
+
.ml-block-list li {
|
24
|
+
list-style: none;
|
25
|
+
}
|
26
|
+
|
27
|
+
.ml-card-list li {
|
28
|
+
list-style: none;
|
29
|
+
margin: 8px 4px;
|
30
|
+
display: inline-block;
|
31
|
+
}
|
32
|
+
|
33
|
+
.ml-card-list dd {
|
34
|
+
padding-bottom: 1em;
|
35
|
+
}
|
36
|
+
|
37
|
+
.ml-card-list dt {
|
38
|
+
position: relative;
|
39
|
+
left: -30px;
|
40
|
+
}
|
41
|
+
|
42
|
+
.ml-card-list {
|
43
|
+
margin-left: 6px;
|
44
|
+
padding-left: 20px;
|
45
|
+
line-height: 1.2rem;
|
46
|
+
}
|
47
|
+
|
48
|
+
.ml-card-list h2 {
|
49
|
+
margin: 5px 0;
|
50
|
+
}
|
51
|
+
|
52
|
+
.ml-card-anchor {
|
53
|
+
width: (($middle-width - 150px) / 2);
|
54
|
+
height: 10rem;
|
55
|
+
display: inline-block;
|
56
|
+
position: relative;
|
57
|
+
border: none;
|
58
|
+
overflow: hidden;
|
59
|
+
}
|
60
|
+
|
61
|
+
.ml-card-anchor .ml-card-text {
|
62
|
+
position: absolute;
|
63
|
+
bottom: 0;
|
64
|
+
padding: 10px;
|
65
|
+
padding-top: 14px;
|
66
|
+
@media screen and (prefers-reduced-motion: no-preference) {
|
67
|
+
padding-top: 4px;
|
68
|
+
transition: all $link-change-time;
|
69
|
+
}
|
70
|
+
}
|
71
|
+
|
72
|
+
.ml-card-anchor img {
|
73
|
+
opacity: 0.2;
|
74
|
+
position: absolute;
|
75
|
+
left: 0;
|
76
|
+
top: 0;
|
77
|
+
@media screen and (prefers-reduced-motion: no-preference) {
|
78
|
+
transition: all $link-change-time;
|
79
|
+
}
|
80
|
+
}
|
81
|
+
|
82
|
+
.ml-card-anchor:hover img {
|
83
|
+
opacity: 0.1;
|
84
|
+
}
|
85
|
+
|
86
|
+
.ml-card-anchor:hover .ml-card-text {
|
87
|
+
bottom: 10px;
|
88
|
+
}
|
89
|
+
|
90
|
+
@media (min-width: 1600px) {
|
91
|
+
.ml-main {
|
92
|
+
max-width: 60%;
|
93
|
+
}
|
94
|
+
.ml-drawer {
|
95
|
+
padding-right: -32%
|
96
|
+
}
|
97
|
+
.ml-card-anchor {
|
98
|
+
width: 30rem;
|
99
|
+
}
|
100
|
+
}
|
101
|
+
|
102
|
+
|
103
|
+
@media (max-width: 959px) {
|
104
|
+
.ml-main {
|
105
|
+
margin: 0 1em;
|
106
|
+
padding: $header-height 0 4em;
|
107
|
+
}
|
108
|
+
.ml-card-anchor {
|
109
|
+
width: 40vw;
|
110
|
+
}
|
111
|
+
}
|
112
|
+
|
113
|
+
@media (max-width: 767px) {
|
114
|
+
.ml-card-anchor {
|
115
|
+
width: 80vw;
|
116
|
+
height: 9rem;
|
117
|
+
}
|
118
|
+
}
|
119
|
+
|
120
|
+
@media (max-width: 539px) {
|
121
|
+
.ml-card-anchor {
|
122
|
+
height: 12rem;
|
123
|
+
}
|
124
|
+
}
|
125
|
+
|
@@ -0,0 +1,87 @@
|
|
1
|
+
.highlight table td { padding: 5px; }
|
2
|
+
.highlight table pre { margin: 0; }
|
3
|
+
.highlight, .highlight .w {
|
4
|
+
color: #fbf1c7;
|
5
|
+
background-color: #282828;
|
6
|
+
}
|
7
|
+
.highlight .err {
|
8
|
+
color: #fb4934;
|
9
|
+
background-color: #282828;
|
10
|
+
font-weight: bold;
|
11
|
+
}
|
12
|
+
.highlight .c, .highlight .ch, .highlight .cd, .highlight .cm, .highlight .cpf, .highlight .c1, .highlight .cs {
|
13
|
+
color: #928374;
|
14
|
+
font-style: italic;
|
15
|
+
}
|
16
|
+
.highlight .cp {
|
17
|
+
color: #8ec07c;
|
18
|
+
}
|
19
|
+
.highlight .nt {
|
20
|
+
color: #fb4934;
|
21
|
+
}
|
22
|
+
.highlight .o, .highlight .ow {
|
23
|
+
color: #fbf1c7;
|
24
|
+
}
|
25
|
+
.highlight .p, .highlight .pi {
|
26
|
+
color: #fbf1c7;
|
27
|
+
}
|
28
|
+
.highlight .gi {
|
29
|
+
color: #b8bb26;
|
30
|
+
background-color: #282828;
|
31
|
+
}
|
32
|
+
.highlight .gd {
|
33
|
+
color: #fb4934;
|
34
|
+
background-color: #282828;
|
35
|
+
}
|
36
|
+
.highlight .gh {
|
37
|
+
color: #b8bb26;
|
38
|
+
font-weight: bold;
|
39
|
+
}
|
40
|
+
.highlight .k, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kv {
|
41
|
+
color: #fb4934;
|
42
|
+
}
|
43
|
+
.highlight .kc {
|
44
|
+
color: #d3869b;
|
45
|
+
}
|
46
|
+
.highlight .kt {
|
47
|
+
color: #fabd2f;
|
48
|
+
}
|
49
|
+
.highlight .kd {
|
50
|
+
color: #fe8019;
|
51
|
+
}
|
52
|
+
.highlight .s, .highlight .sb, .highlight .sc, .highlight .dl, .highlight .sd, .highlight .s2, .highlight .sh, .highlight .sx, .highlight .s1 {
|
53
|
+
color: #b8bb26;
|
54
|
+
font-style: italic;
|
55
|
+
}
|
56
|
+
.highlight .si {
|
57
|
+
color: #b8bb26;
|
58
|
+
font-style: italic;
|
59
|
+
}
|
60
|
+
.highlight .sr {
|
61
|
+
color: #b8bb26;
|
62
|
+
font-style: italic;
|
63
|
+
}
|
64
|
+
.highlight .sa {
|
65
|
+
color: #fb4934;
|
66
|
+
}
|
67
|
+
.highlight .se {
|
68
|
+
color: #fe8019;
|
69
|
+
}
|
70
|
+
.highlight .nn {
|
71
|
+
color: #8ec07c;
|
72
|
+
}
|
73
|
+
.highlight .nc {
|
74
|
+
color: #8ec07c;
|
75
|
+
}
|
76
|
+
.highlight .no {
|
77
|
+
color: #d3869b;
|
78
|
+
}
|
79
|
+
.highlight .na {
|
80
|
+
color: #b8bb26;
|
81
|
+
}
|
82
|
+
.highlight .m, .highlight .mb, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .il, .highlight .mo, .highlight .mx {
|
83
|
+
color: #d3869b;
|
84
|
+
}
|
85
|
+
.highlight .ss {
|
86
|
+
color: #83a598;
|
87
|
+
}
|