jekyll-theme-handwritten 4.0.1

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.
Files changed (56) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +79 -0
  4. data/_config.yml +54 -0
  5. data/_data/images.json +3 -0
  6. data/_includes/disqus_comments.html +20 -0
  7. data/_includes/footer.html +29 -0
  8. data/_includes/google-analytics.html +12 -0
  9. data/_includes/head.html +38 -0
  10. data/_includes/header.html +33 -0
  11. data/_includes/icon-github.html +1 -0
  12. data/_includes/icon-github.svg +1 -0
  13. data/_includes/icon-twitter.html +1 -0
  14. data/_includes/icon-twitter.svg +1 -0
  15. data/_includes/navrail.html +17 -0
  16. data/_includes/social.html +14 -0
  17. data/_includes/theme_selector.html +35 -0
  18. data/_layouts/default.html +23 -0
  19. data/_layouts/home.html +80 -0
  20. data/_layouts/page.html +14 -0
  21. data/_layouts/post.html +35 -0
  22. data/_sass/minima/_base.scss +839 -0
  23. data/_sass/minima/_layout.scss +291 -0
  24. data/_sass/minima/_mysass.scss +248 -0
  25. data/_sass/minima/_syntax-highlighting.scss +68 -0
  26. data/_sass/minima.scss +52 -0
  27. data/assets/main.scss +5 -0
  28. data/assets/minima-social-icons.svg +33 -0
  29. data/assets/theme-assets/js/theme.js +27 -0
  30. data/assets/theme-assets/material-theme/colors.module.css +294 -0
  31. data/assets/theme-assets/material-theme/theme.css +5 -0
  32. data/assets/theme-assets/material-theme/theme.dark.css +51 -0
  33. data/assets/theme-assets/material-theme/theme.light.css +51 -0
  34. data/assets/theme-assets/material-theme/tokens.css +303 -0
  35. data/assets/theme-assets/material-theme/typography.module.css +150 -0
  36. data/assets/theme-assets/theme-fonts/Virgil.woff2 +0 -0
  37. data/assets/theme-assets/theme-fonts/comic shanns.otf +0 -0
  38. data/assets/theme-assets/theme-icons/aboutme-small.svg +103 -0
  39. data/assets/theme-assets/theme-icons/aboutme.svg +10 -0
  40. data/assets/theme-assets/theme-icons/bookmark.svg +10 -0
  41. data/assets/theme-assets/theme-icons/categories-rough.svg +10 -0
  42. data/assets/theme-assets/theme-icons/categories.svg +1 -0
  43. data/assets/theme-assets/theme-icons/categories2.svg +10 -0
  44. data/assets/theme-assets/theme-icons/divider.svg +10 -0
  45. data/assets/theme-assets/theme-icons/home-rough.svg +10 -0
  46. data/assets/theme-assets/theme-icons/home.svg +6 -0
  47. data/assets/theme-assets/theme-icons/home2.svg +10 -0
  48. data/assets/theme-assets/theme-icons/info.svg +1 -0
  49. data/assets/theme-assets/theme-icons/pin.svg +19 -0
  50. data/assets/theme-assets/theme-images/border-thick.svg +16 -0
  51. data/assets/theme-assets/theme-images/comp.png +0 -0
  52. data/assets/theme-assets/theme-images/comp.svg +10 -0
  53. data/assets/theme-assets/theme-images/logo.png +0 -0
  54. data/assets/theme-assets/theme-images/logo.svg +10 -0
  55. data/assets/theme-assets/theme-images/menu.svg +10 -0
  56. metadata +97 -0
@@ -0,0 +1,839 @@
1
+ /**
2
+ * Reset some basic elements
3
+ */
4
+ body,
5
+ h1,
6
+ h2,
7
+ h3,
8
+ h4,
9
+ h5,
10
+ h6,
11
+ p,
12
+ blockquote,
13
+ pre,
14
+ hr,
15
+ dl,
16
+ dd,
17
+ ol,
18
+ ul,
19
+ figure {
20
+ margin: 0;
21
+ padding: 0;
22
+ }
23
+ .dark-yellow {
24
+ --md-sys-color-primary: rgb(219 198 110);
25
+ --md-sys-color-surface-tint: rgb(219 198 110);
26
+ --md-sys-color-on-primary: rgb(58 48 0);
27
+ --md-sys-color-primary-container: rgb(83 70 0);
28
+ --md-sys-color-on-primary-container: rgb(248 226 135);
29
+ --md-sys-color-secondary: rgb(209 198 161);
30
+ --md-sys-color-on-secondary: rgb(54 48 22);
31
+ --md-sys-color-secondary-container: rgb(78 71 42);
32
+ --md-sys-color-on-secondary-container: rgb(238 226 188);
33
+ --md-sys-color-tertiary: rgb(169 208 179);
34
+ --md-sys-color-on-tertiary: rgb(20 55 35);
35
+ --md-sys-color-tertiary-container: rgb(44 78 56);
36
+ --md-sys-color-on-tertiary-container: rgb(197 236 206);
37
+ --md-sys-color-error: rgb(255 180 171);
38
+ --md-sys-color-on-error: rgb(105 0 5);
39
+ --md-sys-color-error-container: rgb(147 0 10);
40
+ --md-sys-color-on-error-container: rgb(255 218 214);
41
+ --md-sys-color-background: rgb(21 19 11);
42
+ --md-sys-color-on-background: rgb(232 226 212);
43
+ --md-sys-color-surface: rgb(21 19 11);
44
+ --md-sys-color-on-surface: rgb(232 226 212);
45
+ --md-sys-color-surface-variant: rgb(75 71 57);
46
+ --md-sys-color-on-surface-variant: rgb(205 198 180);
47
+ --md-sys-color-outline: #969080;
48
+ --outline-filter: brightness(0) saturate(100%) invert(64%) sepia(15%)
49
+ saturate(306%) hue-rotate(6deg) brightness(87%) contrast(85%);
50
+ --md-sys-color-outline-variant: rgb(75 71 57);
51
+ --md-sys-color-shadow: rgb(0 0 0);
52
+ --md-sys-color-scrim: rgb(0 0 0);
53
+ --md-sys-color-inverse-surface: rgb(232 226 212);
54
+ --md-sys-color-inverse-on-surface: rgb(51 48 39);
55
+ --md-sys-color-inverse-primary: rgb(109 94 15);
56
+ --md-sys-color-primary-fixed: rgb(248 226 135);
57
+ --md-sys-color-on-primary-fixed: rgb(34 27 0);
58
+ --md-sys-color-primary-fixed-dim: rgb(219 198 110);
59
+ --md-sys-color-on-primary-fixed-variant: rgb(83 70 0);
60
+ --md-sys-color-secondary-fixed: rgb(238 226 188);
61
+ --md-sys-color-on-secondary-fixed: rgb(33 27 4);
62
+ --md-sys-color-secondary-fixed-dim: rgb(209 198 161);
63
+ --md-sys-color-on-secondary-fixed-variant: rgb(78 71 42);
64
+ --md-sys-color-tertiary-fixed: rgb(197 236 206);
65
+ --md-sys-color-on-tertiary-fixed: rgb(0 33 15);
66
+ --md-sys-color-tertiary-fixed-dim: rgb(169 208 179);
67
+ --md-sys-color-on-tertiary-fixed-variant: rgb(44 78 56);
68
+ --md-sys-color-surface-dim: rgb(21 19 11);
69
+ --md-sys-color-surface-bright: rgb(60 57 48);
70
+ --md-sys-color-surface-container-lowest: rgb(16 14 7);
71
+ --md-sys-color-surface-container-low: rgb(30 27 19);
72
+ --md-sys-color-surface-container: rgb(34 32 23);
73
+ --md-sys-color-surface-container-high: rgb(45 42 33);
74
+ --md-sys-color-surface-container-highest: rgb(56 53 43);
75
+ }
76
+ .dark-blue {
77
+ --md-sys-color-primary: rgb(170 199 255);
78
+ --md-sys-color-surface-tint: rgb(170 199 255);
79
+ --md-sys-color-on-primary: rgb(10 48 95);
80
+ --md-sys-color-primary-container: rgb(40 71 119);
81
+ --md-sys-color-on-primary-container: rgb(214 227 255);
82
+ --md-sys-color-secondary: rgb(190 198 220);
83
+ --md-sys-color-on-secondary: rgb(40 49 65);
84
+ --md-sys-color-secondary-container: rgb(62 71 89);
85
+ --md-sys-color-on-secondary-container: rgb(218 226 249);
86
+ --md-sys-color-tertiary: rgb(221 188 224);
87
+ --md-sys-color-on-tertiary: rgb(63 40 68);
88
+ --md-sys-color-tertiary-container: rgb(87 62 92);
89
+ --md-sys-color-on-tertiary-container: rgb(250 216 253);
90
+ --md-sys-color-error: rgb(255 180 171);
91
+ --md-sys-color-on-error: rgb(105 0 5);
92
+ --md-sys-color-error-container: rgb(147 0 10);
93
+ --md-sys-color-on-error-container: rgb(255 218 214);
94
+ --md-sys-color-background: rgb(17 19 24);
95
+ --md-sys-color-on-background: rgb(226 226 233);
96
+ --md-sys-color-surface: rgb(17 19 24);
97
+ --md-sys-color-on-surface: rgb(226 226 233);
98
+ --md-sys-color-surface-variant: rgb(68 71 78);
99
+ --md-sys-color-on-surface-variant: rgb(196 198 208);
100
+ --md-sys-color-outline: #8e9099;
101
+ --outline-filter: brightness(0) saturate(100%) invert(61%) sepia(5%)
102
+ saturate(424%) hue-rotate(192deg) brightness(92%) contrast(92%);
103
+ --md-sys-color-outline-variant: #44474e;
104
+ --md-sys-color-shadow: rgb(0 0 0);
105
+ --md-sys-color-scrim: rgb(0 0 0);
106
+ --md-sys-color-inverse-surface: rgb(226 226 233);
107
+ --md-sys-color-inverse-on-surface: rgb(46 48 54);
108
+ --md-sys-color-inverse-primary: rgb(65 95 145);
109
+ --md-sys-color-primary-fixed: rgb(214 227 255);
110
+ --md-sys-color-on-primary-fixed: rgb(0 27 62);
111
+ --md-sys-color-primary-fixed-dim: rgb(170 199 255);
112
+ --md-sys-color-on-primary-fixed-variant: rgb(40 71 119);
113
+ --md-sys-color-secondary-fixed: rgb(218 226 249);
114
+ --md-sys-color-on-secondary-fixed: rgb(19 28 43);
115
+ --md-sys-color-secondary-fixed-dim: rgb(190 198 220);
116
+ --md-sys-color-on-secondary-fixed-variant: rgb(62 71 89);
117
+ --md-sys-color-tertiary-fixed: rgb(250 216 253);
118
+ --md-sys-color-on-tertiary-fixed: rgb(40 19 46);
119
+ --md-sys-color-tertiary-fixed-dim: rgb(221 188 224);
120
+ --md-sys-color-on-tertiary-fixed-variant: rgb(87 62 92);
121
+ --md-sys-color-surface-dim: rgb(17 19 24);
122
+ --md-sys-color-surface-bright: rgb(55 57 62);
123
+ --md-sys-color-surface-container-lowest: rgb(12 14 19);
124
+ --md-sys-color-surface-container-low: rgb(25 28 32);
125
+ --md-sys-color-surface-container: rgb(29 32 36);
126
+ --md-sys-color-surface-container-high: rgb(40 42 47);
127
+ --md-sys-color-surface-container-highest: rgb(51 53 58);
128
+ }
129
+ .dark-cyan {
130
+ --md-sys-color-primary: rgb(129 213 205);
131
+ --md-sys-color-surface-tint: rgb(129 213 205);
132
+ --md-sys-color-on-primary: rgb(0 55 52);
133
+ --md-sys-color-primary-container: rgb(0 80 75);
134
+ --md-sys-color-on-primary-container: rgb(157 242 233);
135
+ --md-sys-color-secondary: rgb(176 204 200);
136
+ --md-sys-color-on-secondary: rgb(28 53 50);
137
+ --md-sys-color-secondary-container: rgb(50 75 73);
138
+ --md-sys-color-on-secondary-container: rgb(204 232 228);
139
+ --md-sys-color-tertiary: rgb(175 201 231);
140
+ --md-sys-color-on-tertiary: rgb(24 50 74);
141
+ --md-sys-color-tertiary-container: rgb(48 73 98);
142
+ --md-sys-color-on-tertiary-container: rgb(207 229 255);
143
+ --md-sys-color-error: rgb(255 180 171);
144
+ --md-sys-color-on-error: rgb(105 0 5);
145
+ --md-sys-color-error-container: rgb(147 0 10);
146
+ --md-sys-color-on-error-container: rgb(255 218 214);
147
+ --md-sys-color-background: rgb(14 21 20);
148
+ --md-sys-color-on-background: rgb(221 228 226);
149
+ --md-sys-color-surface: rgb(14 21 20);
150
+ --md-sys-color-on-surface: rgb(221 228 226);
151
+ --md-sys-color-surface-variant: rgb(63 73 71);
152
+ --md-sys-color-on-surface-variant: rgb(190 201 198);
153
+ --md-sys-color-outline: #899391;
154
+ --outline-filter: brightness(0) saturate(100%) invert(66%) sepia(8%)
155
+ saturate(263%) hue-rotate(118deg) brightness(85%) contrast(87%);
156
+ --md-sys-color-outline-variant: rgb(63 73 71);
157
+ --md-sys-color-shadow: rgb(0 0 0);
158
+ --md-sys-color-scrim: rgb(0 0 0);
159
+ --md-sys-color-inverse-surface: rgb(221 228 226);
160
+ --md-sys-color-inverse-on-surface: rgb(43 50 49);
161
+ --md-sys-color-inverse-primary: rgb(0 106 100);
162
+ --md-sys-color-primary-fixed: rgb(157 242 233);
163
+ --md-sys-color-on-primary-fixed: rgb(0 32 30);
164
+ --md-sys-color-primary-fixed-dim: rgb(129 213 205);
165
+ --md-sys-color-on-primary-fixed-variant: rgb(0 80 75);
166
+ --md-sys-color-secondary-fixed: rgb(204 232 228);
167
+ --md-sys-color-on-secondary-fixed: rgb(5 31 29);
168
+ --md-sys-color-secondary-fixed-dim: rgb(176 204 200);
169
+ --md-sys-color-on-secondary-fixed-variant: rgb(50 75 73);
170
+ --md-sys-color-tertiary-fixed: rgb(207 229 255);
171
+ --md-sys-color-on-tertiary-fixed: rgb(0 29 51);
172
+ --md-sys-color-tertiary-fixed-dim: rgb(175 201 231);
173
+ --md-sys-color-on-tertiary-fixed-variant: rgb(48 73 98);
174
+ --md-sys-color-surface-dim: rgb(14 21 20);
175
+ --md-sys-color-surface-bright: rgb(52 58 57);
176
+ --md-sys-color-surface-container-lowest: rgb(9 15 15);
177
+ --md-sys-color-surface-container-low: rgb(22 29 28);
178
+ --md-sys-color-surface-container: rgb(26 33 32);
179
+ --md-sys-color-surface-container-high: rgb(37 43 42);
180
+ --md-sys-color-surface-container-highest: rgb(47 54 53);
181
+ }
182
+ .dark-green {
183
+ --md-sys-color-primary: rgb(177 209 138);
184
+ --md-sys-color-surface-tint: rgb(177 209 138);
185
+ --md-sys-color-on-primary: rgb(31 55 1);
186
+ --md-sys-color-primary-container: rgb(53 78 22);
187
+ --md-sys-color-on-primary-container: rgb(205 237 163);
188
+ --md-sys-color-secondary: rgb(191 203 173);
189
+ --md-sys-color-on-secondary: rgb(42 51 30);
190
+ --md-sys-color-secondary-container: rgb(64 74 51);
191
+ --md-sys-color-on-secondary-container: rgb(220 231 200);
192
+ --md-sys-color-tertiary: rgb(160 208 203);
193
+ --md-sys-color-on-tertiary: rgb(0 55 53);
194
+ --md-sys-color-tertiary-container: rgb(31 78 75);
195
+ --md-sys-color-on-tertiary-container: rgb(188 236 231);
196
+ --md-sys-color-error: rgb(255 180 171);
197
+ --md-sys-color-on-error: rgb(105 0 5);
198
+ --md-sys-color-error-container: rgb(147 0 10);
199
+ --md-sys-color-on-error-container: rgb(255 218 214);
200
+ --md-sys-color-background: rgb(18 20 14);
201
+ --md-sys-color-on-background: rgb(226 227 216);
202
+ --md-sys-color-surface: rgb(18 20 14);
203
+ --md-sys-color-on-surface: rgb(226 227 216);
204
+ --md-sys-color-surface-variant: rgb(68 72 61);
205
+ --md-sys-color-on-surface-variant: rgb(197 200 186);
206
+ --md-sys-color-outline: #8f9285;
207
+ --outline-filter: brightness(0) saturate(100%) invert(61%) sepia(6%)
208
+ saturate(487%) hue-rotate(33deg) brightness(92%) contrast(91%);
209
+ --md-sys-color-outline-variant: rgb(68 72 61);
210
+ --md-sys-color-shadow: rgb(0 0 0);
211
+ --md-sys-color-scrim: rgb(0 0 0);
212
+ --md-sys-color-inverse-surface: rgb(226 227 216);
213
+ --md-sys-color-inverse-on-surface: rgb(47 49 42);
214
+ --md-sys-color-inverse-primary: rgb(76 102 43);
215
+ --md-sys-color-primary-fixed: rgb(205 237 163);
216
+ --md-sys-color-on-primary-fixed: rgb(16 32 0);
217
+ --md-sys-color-primary-fixed-dim: rgb(177 209 138);
218
+ --md-sys-color-on-primary-fixed-variant: rgb(53 78 22);
219
+ --md-sys-color-secondary-fixed: rgb(220 231 200);
220
+ --md-sys-color-on-secondary-fixed: rgb(21 30 11);
221
+ --md-sys-color-secondary-fixed-dim: rgb(191 203 173);
222
+ --md-sys-color-on-secondary-fixed-variant: rgb(64 74 51);
223
+ --md-sys-color-tertiary-fixed: rgb(188 236 231);
224
+ --md-sys-color-on-tertiary-fixed: rgb(0 32 30);
225
+ --md-sys-color-tertiary-fixed-dim: rgb(160 208 203);
226
+ --md-sys-color-on-tertiary-fixed-variant: rgb(31 78 75);
227
+ --md-sys-color-surface-dim: rgb(18 20 14);
228
+ --md-sys-color-surface-bright: rgb(56 58 50);
229
+ --md-sys-color-surface-container-lowest: rgb(12 15 9);
230
+ --md-sys-color-surface-container-low: rgb(26 28 22);
231
+ --md-sys-color-surface-container: rgb(30 32 26);
232
+ --md-sys-color-surface-container-high: rgb(40 43 36);
233
+ --md-sys-color-surface-container-highest: rgb(51 54 46);
234
+ }
235
+ .dark-pink {
236
+ --md-sys-color-primary: rgb(240 179 231);
237
+ --md-sys-color-surface-tint: rgb(240 179 231);
238
+ --md-sys-color-on-primary: rgb(75 31 74);
239
+ --md-sys-color-primary-container: rgb(101 54 98);
240
+ --md-sys-color-on-primary-container: rgb(255 215 247);
241
+ --md-sys-color-secondary: rgb(218 191 211);
242
+ --md-sys-color-on-secondary: rgb(61 43 58);
243
+ --md-sys-color-secondary-container: rgb(84 65 81);
244
+ --md-sys-color-on-secondary-container: rgb(247 218 239);
245
+ --md-sys-color-tertiary: rgb(246 184 168);
246
+ --md-sys-color-on-tertiary: rgb(76 38 27);
247
+ --md-sys-color-tertiary-container: rgb(102 59 48);
248
+ --md-sys-color-on-tertiary-container: rgb(255 219 209);
249
+ --md-sys-color-error: rgb(255 180 171);
250
+ --md-sys-color-on-error: rgb(105 0 5);
251
+ --md-sys-color-error-container: rgb(147 0 10);
252
+ --md-sys-color-on-error-container: rgb(255 218 214);
253
+ --md-sys-color-background: rgb(23 18 22);
254
+ --md-sys-color-on-background: rgb(235 223 230);
255
+ --md-sys-color-surface: rgb(23 18 22);
256
+ --md-sys-color-on-surface: rgb(235 223 230);
257
+ --md-sys-color-surface-variant: rgb(78 68 75);
258
+ --md-sys-color-on-surface-variant: rgb(209 195 203);
259
+ --md-sys-color-outline: #9a8d95;
260
+ --outline-filter: brightness(0) saturate(100%) invert(61%) sepia(13%)
261
+ saturate(228%) hue-rotate(270deg) brightness(93%) contrast(82%);
262
+ --md-sys-color-outline-variant: rgb(78 68 75);
263
+ --md-sys-color-shadow: rgb(0 0 0);
264
+ --md-sys-color-scrim: rgb(0 0 0);
265
+ --md-sys-color-inverse-surface: rgb(235 223 230);
266
+ --md-sys-color-inverse-on-surface: rgb(53 46 51);
267
+ --md-sys-color-inverse-primary: rgb(127 77 123);
268
+ --md-sys-color-primary-fixed: rgb(255 215 247);
269
+ --md-sys-color-on-primary-fixed: rgb(51 8 51);
270
+ --md-sys-color-primary-fixed-dim: rgb(240 179 231);
271
+ --md-sys-color-on-primary-fixed-variant: rgb(101 54 98);
272
+ --md-sys-color-secondary-fixed: rgb(247 218 239);
273
+ --md-sys-color-on-secondary-fixed: rgb(38 22 37);
274
+ --md-sys-color-secondary-fixed-dim: rgb(218 191 211);
275
+ --md-sys-color-on-secondary-fixed-variant: rgb(84 65 81);
276
+ --md-sys-color-tertiary-fixed: rgb(255 219 209);
277
+ --md-sys-color-on-tertiary-fixed: rgb(50 18 9);
278
+ --md-sys-color-tertiary-fixed-dim: rgb(246 184 168);
279
+ --md-sys-color-on-tertiary-fixed-variant: rgb(102 59 48);
280
+ --md-sys-color-surface-dim: rgb(23 18 22);
281
+ --md-sys-color-surface-bright: rgb(62 55 60);
282
+ --md-sys-color-surface-container-lowest: rgb(18 13 17);
283
+ --md-sys-color-surface-container-low: rgb(32 26 30);
284
+ --md-sys-color-surface-container: rgb(36 30 34);
285
+ --md-sys-color-surface-container-high: rgb(47 40 45);
286
+ --md-sys-color-surface-container-highest: rgb(58 51 56);
287
+ }
288
+
289
+ .logo {
290
+ height: 120px;
291
+ @include media-query($on-palm) {
292
+ height: 90px;
293
+ }
294
+ }
295
+ .header-container {
296
+ display: flex;
297
+ justify-content: center;
298
+ flex-direction: column;
299
+ }
300
+ @font-face {
301
+ font-family: Virgil;
302
+ src: url("/assets/theme-assets/theme-fonts/Virgil.woff2");
303
+ }
304
+ @font-face {
305
+ font-family: "Comic Shanns";
306
+ src: url("/assets/theme-assets/theme-fonts/comic\ shanns.otf");
307
+ }
308
+ /**
309
+ * Basic styling
310
+ */
311
+ body {
312
+ font: $base-font-weight #{$base-font-size}/#{$base-line-height}
313
+ $base-font-family;
314
+ color: $text-color;
315
+ background-color: $background-color;
316
+ -webkit-text-size-adjust: 100%;
317
+ -webkit-font-feature-settings: "kern" 1;
318
+ -moz-font-feature-settings: "kern" 1;
319
+ -o-font-feature-settings: "kern" 1;
320
+ font-feature-settings: "kern" 1;
321
+ font-kerning: normal;
322
+ display: flex;
323
+ min-height: 100vh;
324
+ flex-direction: column;
325
+ }
326
+
327
+ /**
328
+ * Set `margin-bottom` to maintain vertical rhythm
329
+ */
330
+ h1,
331
+ h2,
332
+ h3,
333
+ h4,
334
+ h5,
335
+ h6,
336
+ p,
337
+ blockquote,
338
+ pre,
339
+ ul,
340
+ ol,
341
+ dl,
342
+ figure,
343
+ %vertical-rhythm {
344
+ margin-bottom: $spacing-unit / 2;
345
+ }
346
+
347
+ /**
348
+ * `main` element
349
+ */
350
+ main {
351
+ display: block; /* Default value of `display` of `main` element is 'inline' in IE 11. */
352
+ }
353
+
354
+ /**
355
+ * Images
356
+ */
357
+ img {
358
+ max-width: 100%;
359
+ vertical-align: middle;
360
+ }
361
+
362
+ /**
363
+ * Figures
364
+ */
365
+ figure > img {
366
+ display: block;
367
+ }
368
+
369
+ figcaption {
370
+ font-size: $small-font-size;
371
+ }
372
+
373
+ /**
374
+ * Lists
375
+ */
376
+ ul,
377
+ ol {
378
+ margin-left: $spacing-unit;
379
+ }
380
+
381
+ li {
382
+ > ul,
383
+ > ol {
384
+ margin-bottom: 0;
385
+ }
386
+ }
387
+
388
+ /**
389
+ * Headings
390
+ */
391
+ h1,
392
+ h2,
393
+ h3,
394
+ h4,
395
+ h5,
396
+ h6 {
397
+ font-weight: $base-font-weight;
398
+ }
399
+
400
+ /**
401
+ * Links
402
+ */
403
+ a {
404
+ color: var(--md-sys-color-primary);
405
+ text-decoration: none;
406
+
407
+ &:visited {
408
+ // color: var(--md-sys-color-inverse-primary);
409
+ }
410
+
411
+ &:hover {
412
+ color: $text-color;
413
+ text-decoration: underline;
414
+ }
415
+
416
+ .social-media-list &:hover {
417
+ text-decoration: none;
418
+
419
+ .username {
420
+ text-decoration: underline;
421
+ }
422
+ }
423
+ }
424
+
425
+ /**
426
+ * Blockquotes
427
+ */
428
+ blockquote {
429
+ color: $grey-color;
430
+ border-left: 4px solid $grey-color-light;
431
+ padding-left: $spacing-unit / 2;
432
+ @include relative-font-size(1.125);
433
+ letter-spacing: -1px;
434
+ font-style: italic;
435
+
436
+ > :last-child {
437
+ margin-bottom: 0;
438
+ }
439
+ }
440
+
441
+ /**
442
+ * Code formatting
443
+ */
444
+ pre,
445
+ code {
446
+ @include relative-font-size(0.9375);
447
+ border: 1px solid var(--md-sys-color-outline);
448
+ border-radius: 3px;
449
+ background-color: var(--md-sys-color-surface-container-high);
450
+ }
451
+
452
+ code {
453
+ padding: 1px 5px;
454
+ }
455
+
456
+ pre {
457
+ padding: 8px 12px;
458
+ overflow-x: auto;
459
+
460
+ > code {
461
+ border: 0;
462
+ padding-right: 0;
463
+ padding-left: 0;
464
+ }
465
+ }
466
+
467
+ /**
468
+ * Wrapper
469
+ */
470
+ .wrapper {
471
+ max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit} * 2));
472
+ max-width: calc(#{$content-width} - (#{$spacing-unit} * 2));
473
+ margin-right: auto;
474
+ margin-left: auto;
475
+ padding-right: $spacing-unit;
476
+ padding-left: $spacing-unit + 100;
477
+ @extend %clearfix;
478
+
479
+ @include media-query($on-laptop) {
480
+ max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit}));
481
+ max-width: calc(#{$content-width} - (#{$spacing-unit}));
482
+ padding-right: $spacing-unit / 2;
483
+ padding-left: ($spacing-unit / 2)+100;
484
+ }
485
+ @include media-query($on-palm) {
486
+ padding-left: $spacing-unit/2;
487
+ }
488
+ }
489
+
490
+ /**
491
+ * Clearfix
492
+ */
493
+ %clearfix:after {
494
+ content: "";
495
+ display: table;
496
+ clear: both;
497
+ }
498
+
499
+ /**
500
+ * Icons
501
+ */
502
+
503
+ .svg-icon {
504
+ width: 16px;
505
+ height: 16px;
506
+ display: inline-block;
507
+ fill: #{$grey-color};
508
+ padding-right: 5px;
509
+ vertical-align: text-top;
510
+ }
511
+
512
+ .social-media-list {
513
+ li + li {
514
+ padding-top: 5px;
515
+ }
516
+ }
517
+
518
+ /**
519
+ * Tables
520
+ */
521
+ table {
522
+ margin-bottom: $spacing-unit;
523
+ width: 100%;
524
+ text-align: $table-text-align;
525
+ color: var(--md-sys-color-on-surface);
526
+ border-collapse: collapse;
527
+ border: 1px solid var(--md-sys-color-outline);
528
+ tr {
529
+ &:nth-child(even) {
530
+ background-color: var(--md-sys-color-surface-container-high);
531
+ }
532
+ }
533
+ th,
534
+ td {
535
+ padding: ($spacing-unit / 3) ($spacing-unit / 2);
536
+ }
537
+ th {
538
+ background-color: var(--md-sys-color-surface-container-highest);
539
+ // border: 1px solid darken($grey-color-light, 4%);
540
+ // border-bottom-color: darken($grey-color-light, 12%);
541
+ }
542
+ td {
543
+ border: 1px solid var(--md-sys-color-outline);
544
+ }
545
+ }
546
+ .primary {
547
+ background-color: var(--md-sys-color-primary);
548
+ }
549
+ .primary-text {
550
+ color: var(--md-sys-color-primary);
551
+ }
552
+ .on-primary {
553
+ background-color: var(--md-sys-color-on-primary);
554
+ }
555
+ .on-primary-text {
556
+ color: var(--md-sys-color-on-primary);
557
+ }
558
+ .primary-container {
559
+ background-color: var(--md-sys-color-primary-container);
560
+ }
561
+ .primary-container-text {
562
+ color: var(--md-sys-color-primary-container);
563
+ }
564
+ .on-primary-container {
565
+ background-color: var(--md-sys-color-on-primary-container);
566
+ }
567
+ .on-primary-container-text {
568
+ color: var(--md-sys-color-on-primary-container);
569
+ }
570
+ .primary-fixed {
571
+ background-color: var(--md-sys-color-primary-fixed);
572
+ }
573
+ .primary-fixed-text {
574
+ color: var(--md-sys-color-primary-fixed);
575
+ }
576
+ .on-primary-fixed {
577
+ background-color: var(--md-sys-color-on-primary-fixed);
578
+ }
579
+ .on-primary-fixed-text {
580
+ color: var(--md-sys-color-on-primary-fixed);
581
+ }
582
+ .primary-fixed-dim {
583
+ background-color: var(--md-sys-color-primary-fixed-dim);
584
+ }
585
+ .primary-fixed-dim-text {
586
+ color: var(--md-sys-color-primary-fixed-dim);
587
+ }
588
+ .on-primary-fixed-variant {
589
+ background-color: var(--md-sys-color-on-primary-fixed-variant);
590
+ }
591
+ .on-primary-fixed-variant-text {
592
+ color: var(--md-sys-color-on-primary-fixed-variant);
593
+ }
594
+ .secondary {
595
+ background-color: var(--md-sys-color-secondary);
596
+ }
597
+ .secondary-text {
598
+ color: var(--md-sys-color-secondary);
599
+ }
600
+ .on-secondary {
601
+ background-color: var(--md-sys-color-on-secondary);
602
+ }
603
+ .on-secondary-text {
604
+ color: var(--md-sys-color-on-secondary);
605
+ }
606
+ .secondary-container {
607
+ background-color: var(--md-sys-color-secondary-container);
608
+ }
609
+ .secondary-container-text {
610
+ color: var(--md-sys-color-secondary-container);
611
+ }
612
+ .on-secondary-container {
613
+ background-color: var(--md-sys-color-on-secondary-container);
614
+ }
615
+ .on-secondary-container-text {
616
+ color: var(--md-sys-color-on-secondary-container);
617
+ }
618
+ .secondary-fixed {
619
+ background-color: var(--md-sys-color-secondary-fixed);
620
+ }
621
+ .secondary-fixed-text {
622
+ color: var(--md-sys-color-secondary-fixed);
623
+ }
624
+ .on-secondary-fixed {
625
+ background-color: var(--md-sys-color-on-secondary-fixed);
626
+ }
627
+ .on-secondary-fixed-text {
628
+ color: var(--md-sys-color-on-secondary-fixed);
629
+ }
630
+ .secondary-fixed-dim {
631
+ background-color: var(--md-sys-color-secondary-fixed-dim);
632
+ }
633
+ .secondary-fixed-dim-text {
634
+ color: var(--md-sys-color-secondary-fixed-dim);
635
+ }
636
+ .on-secondary-fixed-variant {
637
+ background-color: var(--md-sys-color-on-secondary-fixed-variant);
638
+ }
639
+ .on-secondary-fixed-variant-text {
640
+ color: var(--md-sys-color-on-secondary-fixed-variant);
641
+ }
642
+ .tertiary {
643
+ background-color: var(--md-sys-color-tertiary);
644
+ }
645
+ .tertiary-text {
646
+ color: var(--md-sys-color-tertiary);
647
+ }
648
+ .on-tertiary {
649
+ background-color: var(--md-sys-color-on-tertiary);
650
+ }
651
+ .on-tertiary-text {
652
+ color: var(--md-sys-color-on-tertiary);
653
+ }
654
+ .tertiary-container {
655
+ background-color: var(--md-sys-color-tertiary-container);
656
+ }
657
+ .tertiary-container-text {
658
+ color: var(--md-sys-color-tertiary-container);
659
+ }
660
+ .on-tertiary-container {
661
+ background-color: var(--md-sys-color-on-tertiary-container);
662
+ }
663
+ .on-tertiary-container-text {
664
+ color: var(--md-sys-color-on-tertiary-container);
665
+ }
666
+ .tertiary-fixed {
667
+ background-color: var(--md-sys-color-tertiary-fixed);
668
+ }
669
+ .tertiary-fixed-text {
670
+ color: var(--md-sys-color-tertiary-fixed);
671
+ }
672
+ .on-tertiary-fixed {
673
+ background-color: var(--md-sys-color-on-tertiary-fixed);
674
+ }
675
+ .on-tertiary-fixed-text {
676
+ color: var(--md-sys-color-on-tertiary-fixed);
677
+ }
678
+ .tertiary-fixed-dim {
679
+ background-color: var(--md-sys-color-tertiary-fixed-dim);
680
+ }
681
+ .tertiary-fixed-dim-text {
682
+ color: var(--md-sys-color-tertiary-fixed-dim);
683
+ }
684
+ .on-tertiary-fixed-variant {
685
+ background-color: var(--md-sys-color-on-tertiary-fixed-variant);
686
+ }
687
+ .on-tertiary-fixed-variant-text {
688
+ color: var(--md-sys-color-on-tertiary-fixed-variant);
689
+ }
690
+ .error {
691
+ background-color: var(--md-sys-color-error);
692
+ }
693
+ .error-text {
694
+ color: var(--md-sys-color-error);
695
+ }
696
+ .on-error {
697
+ background-color: var(--md-sys-color-on-error);
698
+ }
699
+ .on-error-text {
700
+ color: var(--md-sys-color-on-error);
701
+ }
702
+ .error-container {
703
+ background-color: var(--md-sys-color-error-container);
704
+ }
705
+ .error-container-text {
706
+ color: var(--md-sys-color-error-container);
707
+ }
708
+ .on-error-container {
709
+ background-color: var(--md-sys-color-on-error-container);
710
+ }
711
+ .on-error-container-text {
712
+ color: var(--md-sys-color-on-error-container);
713
+ }
714
+ .outline {
715
+ background-color: var(--md-sys-color-outline);
716
+ }
717
+ .outline-text {
718
+ color: var(--md-sys-color-outline);
719
+ }
720
+ .background {
721
+ background-color: var(--md-sys-color-background);
722
+ }
723
+ .background-text {
724
+ color: var(--md-sys-color-background);
725
+ }
726
+ .on-background {
727
+ background-color: var(--md-sys-color-on-background);
728
+ }
729
+ .on-background-text {
730
+ color: var(--md-sys-color-on-background);
731
+ }
732
+ .surface {
733
+ background-color: var(--md-sys-color-surface);
734
+ }
735
+ .surface-text {
736
+ color: var(--md-sys-color-surface);
737
+ }
738
+ .on-surface {
739
+ background-color: var(--md-sys-color-on-surface);
740
+ }
741
+ .on-surface-text {
742
+ color: var(--md-sys-color-on-surface);
743
+ }
744
+ .surface-variant {
745
+ background-color: var(--md-sys-color-surface-variant);
746
+ }
747
+ .surface-variant-text {
748
+ color: var(--md-sys-color-surface-variant);
749
+ }
750
+ .on-surface-variant {
751
+ background-color: var(--md-sys-color-on-surface-variant);
752
+ }
753
+ .on-surface-variant-text {
754
+ color: var(--md-sys-color-on-surface-variant);
755
+ }
756
+ .inverse-surface {
757
+ background-color: var(--md-sys-color-inverse-surface);
758
+ }
759
+ .inverse-surface-text {
760
+ color: var(--md-sys-color-inverse-surface);
761
+ }
762
+ .inverse-on-surface {
763
+ background-color: var(--md-sys-color-inverse-on-surface);
764
+ }
765
+ .inverse-on-surface-text {
766
+ color: var(--md-sys-color-inverse-on-surface);
767
+ }
768
+ .inverse-primary {
769
+ background-color: var(--md-sys-color-inverse-primary);
770
+ }
771
+ .inverse-primary-text {
772
+ color: var(--md-sys-color-inverse-primary);
773
+ }
774
+ .shadow {
775
+ background-color: var(--md-sys-color-shadow);
776
+ }
777
+ .shadow-text {
778
+ color: var(--md-sys-color-shadow);
779
+ }
780
+ .surface-tint {
781
+ background-color: var(--md-sys-color-surface-tint);
782
+ }
783
+ .surface-tint-text {
784
+ color: var(--md-sys-color-surface-tint);
785
+ }
786
+ .outline-variant {
787
+ background-color: var(--md-sys-color-outline-variant);
788
+ }
789
+ .outline-variant-text {
790
+ color: var(--md-sys-color-outline-variant);
791
+ }
792
+ .scrim {
793
+ background-color: var(--md-sys-color-scrim);
794
+ }
795
+ .scrim-text {
796
+ color: var(--md-sys-color-scrim);
797
+ }
798
+ .surface-container-highest {
799
+ background-color: var(--md-sys-color-surface-container-highest);
800
+ }
801
+ .surface-container-highest-text {
802
+ color: var(--md-sys-color-surface-container-highest);
803
+ }
804
+ .surface-container-high {
805
+ background-color: var(--md-sys-color-surface-container-high);
806
+ }
807
+ .surface-container-high-text {
808
+ color: var(--md-sys-color-surface-container-high);
809
+ }
810
+ .surface-container {
811
+ background-color: var(--md-sys-color-surface-container);
812
+ }
813
+ .surface-container-text {
814
+ color: var(--md-sys-color-surface-container);
815
+ }
816
+ .surface-container-low {
817
+ background-color: var(--md-sys-color-surface-container-low);
818
+ }
819
+ .surface-container-low-text {
820
+ color: var(--md-sys-color-surface-container-low);
821
+ }
822
+ .surface-container-lowest {
823
+ background-color: var(--md-sys-color-surface-container-lowest);
824
+ }
825
+ .surface-container-lowest-text {
826
+ color: var(--md-sys-color-surface-container-lowest);
827
+ }
828
+ .surface-bright {
829
+ background-color: var(--md-sys-color-surface-bright);
830
+ }
831
+ .surface-bright-text {
832
+ color: var(--md-sys-color-surface-bright);
833
+ }
834
+ .surface-dim {
835
+ background-color: var(--md-sys-color-surface-dim);
836
+ }
837
+ .surface-dim-text {
838
+ color: var(--md-sys-color-surface-dim);
839
+ }