domain-jekyll 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -1
- data/_includes/Content.html +1 -0
- data/_includes/Header.html +18 -11
- data/_includes/PreviousNext.html +14 -0
- data/_includes/TwitterEmbed.html +5 -0
- data/_includes/YoutubeEmbed.html +4 -0
- data/_layouts/Default.html +3 -1
- data/_layouts/Home.html +27 -2
- data/_layouts/Post.html +1 -1
- data/_layouts/Tutorial.html +53 -0
- data/_layouts/Tutorials.html +20 -0
- data/_sass/domain/_author.scss +2 -2
- data/_sass/domain/_backtotop.scss +4 -4
- data/_sass/domain/_codecopy.scss +35 -35
- data/_sass/domain/_content.scss +0 -1
- data/_sass/domain/_contextmenu.scss +84 -84
- data/_sass/domain/_embed.scss +20 -0
- data/_sass/domain/_highlight.scss +25 -27
- data/_sass/domain/_media.scss +13 -9
- data/_sass/domain/_normalize.scss +217 -260
- data/_sass/domain/_pagination.scss +17 -15
- data/_sass/domain/_previousnext.scss +108 -0
- data/_sass/domain/_search.scss +0 -2
- data/_sass/domain/_sidenote.scss +1 -1
- data/_sass/domain/_tables.scss +18 -0
- data/_sass/domain/_tag.scss +4 -2
- data/_sass/domain/_toc.scss +24 -24
- data/_sass/domain/_tooltip.scss +114 -115
- data/_sass/domain/_util.scss +262 -267
- data/_sass/domain/skin/_dark.scss +22 -28
- data/_sass/domain/skin/_light.scss +2 -9
- data/_sass/domain.scss +3 -0
- data/assets/.DS_Store +0 -0
- data/assets/js/ContextMenu.js +8 -8
- metadata +10 -3
- data/_includes/Postlist.html +0 -26
data/_sass/domain/_media.scss
CHANGED
@@ -14,8 +14,10 @@
|
|
14
14
|
|
15
15
|
.post-content {
|
16
16
|
width: 100%;
|
17
|
+
|
17
18
|
.post-title {
|
18
19
|
margin: 0 0 5px;
|
20
|
+
|
19
21
|
a {
|
20
22
|
font-size: 21px;
|
21
23
|
}
|
@@ -23,7 +25,6 @@
|
|
23
25
|
}
|
24
26
|
}
|
25
27
|
}
|
26
|
-
|
27
28
|
/* Small Devices, Tablets */
|
28
29
|
@media only screen and (max-width : 768px) {
|
29
30
|
.sidebar {
|
@@ -39,20 +40,20 @@
|
|
39
40
|
footer {
|
40
41
|
margin-bottom: 10px;
|
41
42
|
}
|
42
|
-
|
43
43
|
}
|
44
|
+
|
44
45
|
.about {
|
45
46
|
text-align: center;
|
46
47
|
max-width: 480px;
|
47
48
|
margin: 10px auto auto;
|
49
|
+
|
48
50
|
img {
|
49
51
|
margin-bottom: 10px;
|
50
52
|
}
|
51
|
-
}
|
53
|
+
}
|
52
54
|
|
53
55
|
.content-box {
|
54
56
|
padding: 20px 10px;
|
55
|
-
display: flex;
|
56
57
|
flex-direction: row;
|
57
58
|
flex-wrap: wrap;
|
58
59
|
align-items: stretch;
|
@@ -65,20 +66,21 @@
|
|
65
66
|
align-items: stretch;
|
66
67
|
}
|
67
68
|
|
68
|
-
.contact-title,
|
69
|
-
|
70
|
-
|
71
|
-
|
69
|
+
.contact-title,
|
70
|
+
.copyright {
|
71
|
+
display: none;
|
72
|
+
}
|
72
73
|
}
|
73
|
-
|
74
74
|
/* Extra Small Devices, Phones */
|
75
75
|
@media only screen and (max-width : 480px) {
|
76
76
|
.content-box {
|
77
77
|
padding: 10px;
|
78
78
|
}
|
79
|
+
|
79
80
|
.content-header {
|
80
81
|
padding: 10px;
|
81
82
|
}
|
83
|
+
|
82
84
|
.post {
|
83
85
|
max-width: 100%;
|
84
86
|
margin: 2%;
|
@@ -90,8 +92,10 @@
|
|
90
92
|
|
91
93
|
.post-content {
|
92
94
|
width: 100%;
|
95
|
+
|
93
96
|
.post-title {
|
94
97
|
margin: 0 0 5px;
|
98
|
+
|
95
99
|
a {
|
96
100
|
font-size: 21px;
|
97
101
|
}
|
@@ -1,351 +1,308 @@
|
|
1
1
|
/* ==========================================================================
|
2
2
|
Normalize
|
3
3
|
========================================================================== */
|
4
|
-
|
5
|
-
|
6
|
-
/* Document
|
4
|
+
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
|
5
|
+
/* Document
|
7
6
|
========================================================================== */
|
8
|
-
|
9
|
-
/**
|
7
|
+
/**
|
10
8
|
* 1. Correct the line height in all browsers.
|
11
9
|
* 2. Prevent adjustments of font size after orientation changes in iOS.
|
12
10
|
*/
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
11
|
+
html {
|
12
|
+
line-height: 1.15;
|
13
|
+
/* 1 */
|
14
|
+
-webkit-text-size-adjust: 100%;
|
15
|
+
/* 2 */
|
16
|
+
}
|
17
|
+
/* Sections
|
20
18
|
========================================================================== */
|
21
|
-
|
22
|
-
/**
|
19
|
+
/**
|
23
20
|
* Remove the margin in all browsers.
|
24
21
|
*/
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
/**
|
22
|
+
body {
|
23
|
+
margin: 0;
|
24
|
+
}
|
25
|
+
/**
|
31
26
|
* Render the `main` element consistently in IE.
|
32
27
|
*/
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
/**
|
28
|
+
main {
|
29
|
+
display: block;
|
30
|
+
}
|
31
|
+
/**
|
39
32
|
* Correct the font size and margin on `h1` elements within `section` and
|
40
33
|
* `article` contexts in Chrome, Firefox, and Safari.
|
41
34
|
*/
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
/* Grouping content
|
35
|
+
h1 {
|
36
|
+
font-size: 2em;
|
37
|
+
margin: 0.67em 0;
|
38
|
+
}
|
39
|
+
/* Grouping content
|
49
40
|
========================================================================== */
|
50
|
-
|
51
|
-
/**
|
41
|
+
/**
|
52
42
|
* 1. Add the correct box sizing in Firefox.
|
53
43
|
* 2. Show the overflow in Edge and IE.
|
54
44
|
*/
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
45
|
+
hr {
|
46
|
+
box-sizing: content-box;
|
47
|
+
/* 1 */
|
48
|
+
overflow: visible;
|
49
|
+
/* 2 */
|
50
|
+
}
|
51
|
+
/**
|
62
52
|
* 1. Correct the inheritance and scaling of font size in all browsers.
|
63
53
|
* 2. Correct the odd `em` font sizing in all browsers.
|
64
54
|
*/
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
55
|
+
pre {
|
56
|
+
font-family: monospace, monospace;
|
57
|
+
/* 1 */
|
58
|
+
font-size: 1em;
|
59
|
+
/* 2 */
|
60
|
+
}
|
61
|
+
/* Text-level semantics
|
72
62
|
========================================================================== */
|
73
|
-
|
74
|
-
/**
|
63
|
+
/**
|
75
64
|
* Remove the gray background on active links in IE 10.
|
76
65
|
*/
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
/**
|
66
|
+
a {
|
67
|
+
background-color: transparent;
|
68
|
+
}
|
69
|
+
/**
|
83
70
|
* 1. Remove the bottom border in Chrome 57-
|
84
71
|
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
|
85
72
|
*/
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
73
|
+
abbr[title] {
|
74
|
+
border-bottom: none;
|
75
|
+
/* 1 */
|
76
|
+
text-decoration: underline;
|
77
|
+
/* 2 */
|
78
|
+
text-decoration: underline dotted;
|
79
|
+
/* 2 */
|
80
|
+
}
|
81
|
+
/**
|
94
82
|
* Add the correct font weight in Chrome, Edge, and Safari.
|
95
83
|
*/
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
/**
|
84
|
+
b,
|
85
|
+
strong {
|
86
|
+
font-weight: bolder;
|
87
|
+
}
|
88
|
+
/**
|
103
89
|
* 1. Correct the inheritance and scaling of font size in all browsers.
|
104
90
|
* 2. Correct the odd `em` font sizing in all browsers.
|
105
91
|
*/
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
92
|
+
code,
|
93
|
+
kbd,
|
94
|
+
samp {
|
95
|
+
font-family: monospace, monospace;
|
96
|
+
/* 1 */
|
97
|
+
font-size: 1em;
|
98
|
+
/* 2 */
|
99
|
+
}
|
100
|
+
/**
|
115
101
|
* Add the correct font size in all browsers.
|
116
102
|
*/
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
/**
|
103
|
+
small {
|
104
|
+
font-size: 80%;
|
105
|
+
}
|
106
|
+
/**
|
123
107
|
* Prevent `sub` and `sup` elements from affecting the line height in
|
124
108
|
* all browsers.
|
125
109
|
*/
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
/* Embedded content
|
110
|
+
sub,
|
111
|
+
sup {
|
112
|
+
font-size: 75%;
|
113
|
+
line-height: 0;
|
114
|
+
position: relative;
|
115
|
+
vertical-align: baseline;
|
116
|
+
}
|
117
|
+
|
118
|
+
sub {
|
119
|
+
bottom: -0.25em;
|
120
|
+
}
|
121
|
+
|
122
|
+
sup {
|
123
|
+
top: -0.5em;
|
124
|
+
}
|
125
|
+
/* Embedded content
|
144
126
|
========================================================================== */
|
145
|
-
|
146
|
-
/**
|
127
|
+
/**
|
147
128
|
* Remove the border on images inside links in IE 10.
|
148
129
|
*/
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
/* Forms
|
130
|
+
img {
|
131
|
+
border-style: none;
|
132
|
+
}
|
133
|
+
/* Forms
|
155
134
|
========================================================================== */
|
156
|
-
|
157
|
-
/**
|
135
|
+
/**
|
158
136
|
* 1. Change the font styles in all browsers.
|
159
137
|
* 2. Remove the margin in Firefox and Safari.
|
160
138
|
*/
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
139
|
+
button,
|
140
|
+
input,
|
141
|
+
optgroup,
|
142
|
+
select,
|
143
|
+
textarea {
|
144
|
+
font-family: inherit;
|
145
|
+
/* 1 */
|
146
|
+
font-size: 100%;
|
147
|
+
/* 1 */
|
148
|
+
line-height: 1.15;
|
149
|
+
/* 1 */
|
150
|
+
margin: 0;
|
151
|
+
/* 2 */
|
152
|
+
}
|
153
|
+
/**
|
174
154
|
* Show the overflow in IE.
|
175
155
|
* 1. Show the overflow in Edge.
|
176
156
|
*/
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
/**
|
157
|
+
button,
|
158
|
+
input {
|
159
|
+
/* 1 */
|
160
|
+
overflow: visible;
|
161
|
+
}
|
162
|
+
/**
|
184
163
|
* Remove the inheritance of text transform in Edge, Firefox, and IE.
|
185
164
|
* 1. Remove the inheritance of text transform in Firefox.
|
186
165
|
*/
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
/**
|
166
|
+
button,
|
167
|
+
select {
|
168
|
+
/* 1 */
|
169
|
+
text-transform: none;
|
170
|
+
}
|
171
|
+
/**
|
194
172
|
* Correct the inability to style clickable types in iOS and Safari.
|
195
173
|
*/
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
/**
|
174
|
+
[type="button"],
|
175
|
+
[type="reset"],
|
176
|
+
[type="submit"],
|
177
|
+
button {
|
178
|
+
-webkit-appearance: button;
|
179
|
+
}
|
180
|
+
/**
|
205
181
|
* Remove the inner border and padding in Firefox.
|
206
182
|
*/
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
/**
|
183
|
+
[type="button"]::-moz-focus-inner,
|
184
|
+
[type="reset"]::-moz-focus-inner,
|
185
|
+
[type="submit"]::-moz-focus-inner,
|
186
|
+
button::-moz-focus-inner {
|
187
|
+
border-style: none;
|
188
|
+
padding: 0;
|
189
|
+
}
|
190
|
+
/**
|
217
191
|
* Restore the focus styles unset by the previous rule.
|
218
192
|
*/
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
/**
|
193
|
+
[type="button"]:-moz-focusring,
|
194
|
+
[type="reset"]:-moz-focusring,
|
195
|
+
[type="submit"]:-moz-focusring,
|
196
|
+
button:-moz-focusring {
|
197
|
+
outline: 1px dotted ButtonText;
|
198
|
+
}
|
199
|
+
/**
|
228
200
|
* Correct the padding in Firefox.
|
229
201
|
*/
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
/**
|
202
|
+
fieldset {
|
203
|
+
padding: 0.35em 0.75em 0.625em;
|
204
|
+
}
|
205
|
+
/**
|
236
206
|
* 1. Correct the text wrapping in Edge and IE.
|
237
207
|
* 2. Correct the color inheritance from `fieldset` elements in IE.
|
238
208
|
* 3. Remove the padding so developers are not caught out when they zero out
|
239
209
|
* `fieldset` elements in all browsers.
|
240
210
|
*/
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
211
|
+
legend {
|
212
|
+
box-sizing: border-box;
|
213
|
+
/* 1 */
|
214
|
+
color: inherit;
|
215
|
+
/* 2 */
|
216
|
+
display: table;
|
217
|
+
/* 1 */
|
218
|
+
max-width: 100%;
|
219
|
+
/* 1 */
|
220
|
+
padding: 0;
|
221
|
+
/* 3 */
|
222
|
+
white-space: normal;
|
223
|
+
/* 1 */
|
224
|
+
}
|
225
|
+
/**
|
252
226
|
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
|
253
227
|
*/
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
/**
|
228
|
+
progress {
|
229
|
+
vertical-align: baseline;
|
230
|
+
}
|
231
|
+
/**
|
260
232
|
* Remove the default vertical scrollbar in IE 10+.
|
261
233
|
*/
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
/**
|
234
|
+
textarea {
|
235
|
+
overflow: auto;
|
236
|
+
}
|
237
|
+
/**
|
268
238
|
* 1. Add the correct box sizing in IE 10.
|
269
239
|
* 2. Remove the padding in IE 10.
|
270
240
|
*/
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
241
|
+
[type="checkbox"],
|
242
|
+
[type="radio"] {
|
243
|
+
box-sizing: border-box;
|
244
|
+
/* 1 */
|
245
|
+
padding: 0;
|
246
|
+
/* 2 */
|
247
|
+
}
|
248
|
+
/**
|
279
249
|
* Correct the cursor style of increment and decrement buttons in Chrome.
|
280
250
|
*/
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
/**
|
251
|
+
[type="number"]::-webkit-inner-spin-button,
|
252
|
+
[type="number"]::-webkit-outer-spin-button {
|
253
|
+
height: auto;
|
254
|
+
}
|
255
|
+
/**
|
288
256
|
* 1. Correct the odd appearance in Chrome and Safari.
|
289
257
|
* 2. Correct the outline style in Safari.
|
290
258
|
*/
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
259
|
+
[type="search"] {
|
260
|
+
-webkit-appearance: textfield;
|
261
|
+
/* 1 */
|
262
|
+
outline-offset: -2px;
|
263
|
+
/* 2 */
|
264
|
+
}
|
265
|
+
/**
|
298
266
|
* Remove the inner padding in Chrome and Safari on macOS.
|
299
267
|
*/
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
/**
|
268
|
+
[type="search"]::-webkit-search-decoration {
|
269
|
+
-webkit-appearance: none;
|
270
|
+
}
|
271
|
+
/**
|
306
272
|
* 1. Correct the inability to style clickable types in iOS and Safari.
|
307
273
|
* 2. Change font properties to `inherit` in Safari.
|
308
274
|
*/
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
275
|
+
::-webkit-file-upload-button {
|
276
|
+
-webkit-appearance: button;
|
277
|
+
/* 1 */
|
278
|
+
font: inherit;
|
279
|
+
/* 2 */
|
280
|
+
}
|
281
|
+
/* Interactive
|
316
282
|
========================================================================== */
|
317
|
-
|
318
|
-
/*
|
283
|
+
/*
|
319
284
|
* Add the correct display in Edge, IE 10+, and Firefox.
|
320
285
|
*/
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
/*
|
286
|
+
details {
|
287
|
+
display: block;
|
288
|
+
}
|
289
|
+
/*
|
327
290
|
* Add the correct display in all browsers.
|
328
291
|
*/
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
/* Misc
|
292
|
+
summary {
|
293
|
+
display: list-item;
|
294
|
+
}
|
295
|
+
/* Misc
|
335
296
|
========================================================================== */
|
336
|
-
|
337
|
-
/**
|
297
|
+
/**
|
338
298
|
* Add the correct display in IE 10+.
|
339
299
|
*/
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
/**
|
300
|
+
template {
|
301
|
+
display: none;
|
302
|
+
}
|
303
|
+
/**
|
346
304
|
* Add the correct display in IE 10.
|
347
305
|
*/
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
}
|
306
|
+
[hidden] {
|
307
|
+
display: none;
|
308
|
+
}
|
@@ -1,18 +1,20 @@
|
|
1
1
|
/* ==========================================================================
|
2
2
|
Pagination
|
3
3
|
========================================================================== */
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
4
|
+
/* pagination */
|
5
|
+
.pagination-link {
|
6
|
+
padding: 15px;
|
7
|
+
text-decoration: none;
|
8
|
+
}
|
9
|
+
|
10
|
+
.pagination-link a:hover {
|
11
|
+
text-decoration: none;
|
12
|
+
}
|
13
|
+
|
14
|
+
.pagination {
|
15
|
+
display: -ms-flexbox;
|
16
|
+
display: flex;
|
17
|
+
padding-left: 0;
|
18
|
+
list-style: none;
|
19
|
+
border-radius: 0.25rem;
|
20
|
+
}
|