jekyll-theme-schatten 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,430 @@
1
+ .light-mode {
2
+ // transition: background 1s; // removed because can be annoying
3
+ background-color: white;
4
+
5
+ .container {
6
+ background-color: #e8e8e8b0;
7
+
8
+ .related {
9
+ border-top-color: $basic-color-two;
10
+ }
11
+
12
+ .post-preview {
13
+ border-top-color: $basic-color;
14
+ }
15
+
16
+ .post-image-subtitle {
17
+ color: $basic-color-two;
18
+ }
19
+
20
+ .post-date {
21
+ color: $basic-color-two;
22
+ }
23
+
24
+ .social-icons a {
25
+ color: $basic-color-two;
26
+ }
27
+
28
+ .pagination-button {
29
+ color: $basic-color-two;
30
+ border-color: $pagination-button-color;
31
+ }
32
+
33
+ .pagination-active {
34
+ color: $link-color;
35
+ }
36
+
37
+ .pagination-active:hover {
38
+ background-color: $pagination-button-color;
39
+ }
40
+
41
+ .footer {
42
+ color: $basic-color-two;
43
+ border-top-color: $basic-color-two;
44
+ }
45
+
46
+ .footer a {
47
+ color: $basic-color-two;
48
+ text-decoration: underline;
49
+ }
50
+
51
+ .footer a:hover {
52
+ color: $basic-color;
53
+ }
54
+
55
+ .footer-description {
56
+ color: $basic-color-two;
57
+ }
58
+
59
+ .header-toolbar {
60
+ border-bottom-color: $basic-color-two;
61
+ }
62
+
63
+ // add border between each a tag in toolbar
64
+ .header-toolbar a {
65
+ border-right-color: $basic-color-two;
66
+ }
67
+
68
+ code {
69
+ background-color: $code-background-color;
70
+ }
71
+
72
+ pre {
73
+ background-color: $code-background-color;
74
+ }
75
+
76
+ pre code {
77
+ color: inherit;
78
+ background-color: transparent;
79
+ }
80
+
81
+ body {
82
+ color: $body-color;
83
+ background-color: white;
84
+ }
85
+
86
+ h1,
87
+ h2,
88
+ h3,
89
+ h4,
90
+ h5,
91
+ h6 {
92
+ color: $basic-color;
93
+ }
94
+
95
+ a {
96
+ color: $basic-color;
97
+ }
98
+
99
+ a:hover {
100
+ color: $link-color;
101
+ }
102
+
103
+
104
+ blockquote {
105
+ border-left-color: $basic-color-three;
106
+ color: $basic-color-two;
107
+ }
108
+
109
+ hr {
110
+ border-top-color: $basic-color-three;
111
+ }
112
+
113
+ /*
114
+ Code
115
+ */
116
+
117
+ .highlight .hll {
118
+ background-color: $light-text-color
119
+ }
120
+
121
+ /* Comment */
122
+ .highlight .c {
123
+ color: $light-comment-color
124
+ }
125
+
126
+ /* Error */
127
+ .highlight .err {
128
+ color: $light-string-color;
129
+ background-color: $light-comment-color
130
+ }
131
+
132
+ /* Keyword */
133
+ .highlight .k {
134
+ color: $light-keyword-color;
135
+ }
136
+
137
+ /* Operator */
138
+ .highlight .o {
139
+ color: $light-comment-color
140
+ }
141
+
142
+ /* Comment.Multiline */
143
+ .highlight .cm {
144
+ color: $light-keyword-color;
145
+ font-style: italic
146
+ }
147
+
148
+ /* Comment.Preproc */
149
+ .highlight .cp {
150
+ color: $light-number-color
151
+ }
152
+
153
+ /* Comment.Single */
154
+ .highlight .c1 {
155
+ color: $light-comment-color;
156
+ }
157
+
158
+ /* Comment.Special */
159
+ .highlight .cs {
160
+ color: $light-comment-color;
161
+ }
162
+
163
+ /* Generic.Deleted */
164
+ .highlight .gd {
165
+ background-color: $light-text-color;
166
+ border: 1px solid $light-string-color
167
+ }
168
+
169
+ /* Generic.Emph */
170
+ .highlight .ge {
171
+ font-style: italic
172
+ }
173
+
174
+ /* Generic.Error */
175
+ .highlight .gr {
176
+ color: $light-string-color
177
+ }
178
+
179
+ /* Generic.Heading */
180
+ .highlight .gh {
181
+ color: $light-number-color;
182
+ }
183
+
184
+ /* Generic.Inserted */
185
+ .highlight .gi {
186
+ background-color: $light-text-color;
187
+ border: 1px solid $light-number-color
188
+ }
189
+
190
+ /* Generic.Output */
191
+ .highlight .go {
192
+ color: $light-comment-color
193
+ }
194
+
195
+ /* Generic.Prompt */
196
+ .highlight .gp {
197
+ color: $light-keyword-color
198
+ }
199
+
200
+ /* Generic.Strong */
201
+ .highlight .gs {}
202
+
203
+ /* Generic.Subheading */
204
+ .highlight .gu {
205
+ color: $light-text-color;
206
+ }
207
+
208
+ /* Generic.Traceback */
209
+ .highlight .gt {
210
+ color: $light-number-color
211
+ }
212
+
213
+ /* Keyword.Constant */
214
+ .highlight .kc {
215
+ color: $light-keyword-color;
216
+ }
217
+
218
+ /* Keyword.Declaration */
219
+ .highlight .kd {
220
+ color: $light-keyword-color;
221
+ }
222
+
223
+ /* Keyword.Namespace */
224
+ .highlight .kn {
225
+ color: $light-keyword-color;
226
+ }
227
+
228
+ /* Keyword.Pseudo */
229
+ .highlight .kp {
230
+ color: $light-keyword-color;
231
+ }
232
+
233
+ /* Keyword.Reserved */
234
+ .highlight .kr {
235
+ color: $light-keyword-color;
236
+ }
237
+
238
+ /* Keyword.Type */
239
+ .highlight .kt {
240
+ color: $light-keyword-color;
241
+ }
242
+
243
+ /* Literal.Number */
244
+ .highlight .m {
245
+ color: $light-string-color
246
+ }
247
+
248
+ /* Literal.String */
249
+ .highlight .s {
250
+ color: $light-string-color
251
+ }
252
+
253
+ /* Name.Attribute */
254
+ .highlight .na {
255
+ color: $light-keyword-color
256
+ }
257
+
258
+ /* Name.Builtin */
259
+ .highlight .nb {
260
+ color: $light-text-color
261
+ }
262
+
263
+ /* Name.Class */
264
+ .highlight .nc {
265
+ color: $light-text-color
266
+ }
267
+
268
+ /* Name.Constant */
269
+ .highlight .no {
270
+ color: $light-text-color
271
+ }
272
+
273
+ /* Name.Decorator */
274
+ .highlight .nd {
275
+ color: $light-string-color
276
+ }
277
+
278
+ /* Name.Entity */
279
+ .highlight .ni {
280
+ color: $light-comment-color
281
+ }
282
+
283
+ /* Name.Exception */
284
+ .highlight .ne {
285
+ color: $light-string-color
286
+ }
287
+
288
+ /* Name.Function */
289
+ .highlight .nf {
290
+ color: $light-text-color
291
+ }
292
+
293
+ /* Name.Label */
294
+ .highlight .nl {
295
+ color: $light-keyword-color
296
+ }
297
+
298
+ /* Name.Namespace */
299
+ .highlight .nn {
300
+ color: $light-text-color
301
+ }
302
+
303
+ /* Name.Tag */
304
+ .highlight .nt {
305
+ color: $light-keyword-color
306
+ }
307
+
308
+ /* Name.Variable */
309
+ .highlight .nv {
310
+ color: $light-text-color
311
+ }
312
+
313
+ /* Operator.Word */
314
+ .highlight .ow {
315
+ color: $light-text-color;
316
+ }
317
+
318
+ /* Text.$light-text-colorspace */
319
+ .highlight .w {
320
+ color: $light-text-color
321
+ }
322
+
323
+ /* Literal.Number.Float */
324
+ .highlight .mf {
325
+ color: $light-number-color
326
+ }
327
+
328
+ /* Literal.Number.Hex */
329
+ .highlight .mh {
330
+ color: $light-number-color
331
+ }
332
+
333
+ /* Literal.Number.Integer */
334
+ .highlight .mi {
335
+ color: $light-number-color
336
+ }
337
+
338
+ /* Literal.Number.Oct */
339
+ .highlight .mo {
340
+ color: $light-number-color
341
+ }
342
+
343
+ /* Literal.String.Backtick */
344
+ .highlight .sb {
345
+ color: $light-string-color
346
+ }
347
+
348
+ /* Literal.String.Char */
349
+ .highlight .sc {
350
+ color: $light-string-color
351
+ }
352
+
353
+ /* Literal.String.Doc */
354
+ .highlight .sd {
355
+ color: $light-string-color;
356
+ font-style: italic
357
+ }
358
+
359
+ /* Literal.String.Double */
360
+ .highlight .s2 {
361
+ color: $light-string-color
362
+ }
363
+
364
+ /* Literal.String.Escape */
365
+ .highlight .se {
366
+ color: $light-string-color
367
+ }
368
+
369
+ /* Literal.String.Heredoc */
370
+ .highlight .sh {
371
+ color: $light-string-color
372
+ }
373
+
374
+ /* Literal.String.Interpol */
375
+ .highlight .si {
376
+ color: $light-string-color
377
+ }
378
+
379
+ /* Literal.String.Other */
380
+ .highlight .sx {
381
+ color: $light-string-color
382
+ }
383
+
384
+ /* Literal.String.Regex */
385
+ .highlight .sr {
386
+ color: $light-keyword-color
387
+ }
388
+
389
+ /* Literal.String.Single */
390
+ .highlight .s1 {
391
+ color: $light-string-color
392
+ }
393
+
394
+ /* Literal.String.Symbol */
395
+ .highlight .ss {
396
+ color: $light-string-color
397
+ }
398
+
399
+ /* Name.Builtin.Pseudo */
400
+ .highlight .bp {
401
+ color: $light-keyword-color
402
+ }
403
+
404
+ /* Name.Variable.Class */
405
+ .highlight .vc {
406
+ color: $light-number-color
407
+ }
408
+
409
+ /* Name.Variable.Global */
410
+ .highlight .vg {
411
+ color: $light-number-color
412
+ }
413
+
414
+ /* Name.Variable.Instance */
415
+ .highlight .vi {
416
+ color: $light-number-color
417
+ }
418
+
419
+ /* Literal.Number.Integer.Long */
420
+ .highlight .il {
421
+ color: $light-string-color
422
+ }
423
+
424
+ .css .o,
425
+ .css .o+.nt,
426
+ .css .nt+.nt {
427
+ color: $light-comment-color
428
+ }
429
+ }
430
+ }
@@ -0,0 +1,127 @@
1
+ @media (max-width: $container-responsive-width) {
2
+ .container {
3
+ width: 92vw;
4
+ }
5
+ }
6
+
7
+ @media (max-width: $elements-responsive-width) {
8
+
9
+ body {
10
+ font-size: 14px;
11
+ line-height: 1.5rem;
12
+ }
13
+
14
+ body h1 {
15
+ font-size: 1.5rem;
16
+ }
17
+
18
+ .container {
19
+ margin-top: 0px;
20
+ margin-bottom: 0px;
21
+ margin-right: 0px;
22
+ margin-left: 0px;
23
+ min-height: 100vh;
24
+ }
25
+
26
+ .header-subtitle {
27
+ display: inline;
28
+ float: left;
29
+ width: 100%;
30
+ padding-left: 2px;
31
+ }
32
+
33
+ .archive {
34
+ a {
35
+ font-size: 20px;
36
+ }
37
+ }
38
+
39
+ p {
40
+ font-size: 20px;
41
+ }
42
+
43
+ .post-content p {
44
+ font-size: 20px;
45
+ }
46
+
47
+ .navbar {
48
+
49
+ a {
50
+ font-size: 18px;
51
+ }
52
+ }
53
+
54
+ .categories {
55
+ a {
56
+ font-size: 20px;
57
+ }
58
+
59
+ ul {
60
+ list-style-type: none;
61
+ padding-left: 0;
62
+ }
63
+
64
+ li {
65
+ text-align: center;
66
+ padding-left: 0;
67
+ }
68
+
69
+ h2 {
70
+ text-align: center;
71
+ }
72
+ }
73
+
74
+ pre,
75
+ code {
76
+ font-size: 13px;
77
+ vertical-align: middle;
78
+ }
79
+
80
+ figure {
81
+ margin-block-start: 1em;
82
+ margin-block-end: 1em;
83
+ margin-inline-start: 0;
84
+ margin-inline-end: 0;
85
+ }
86
+
87
+ .post-preview-meta {
88
+ float: none;
89
+ width: 100%;
90
+
91
+ p {
92
+ padding-top: 5px;
93
+ padding-bottom: 5px;
94
+ }
95
+ }
96
+
97
+ .post-image-preview {
98
+ float: none;
99
+ width: 100%;
100
+ }
101
+
102
+ .posts h1 {
103
+ font-size: 26px;
104
+ }
105
+
106
+ .social-icons {
107
+ display: inline;
108
+ float: left;
109
+ padding-top: 0px;
110
+ width: 100%;
111
+ padding-left: 2px;
112
+
113
+ .dark-toggle-button {
114
+ display: inline;
115
+ float: right;
116
+ }
117
+ }
118
+
119
+ .sharing {
120
+ .sharing-icons {
121
+ align-items: center;
122
+ padding-left: 5%;
123
+ padding-right: 5%;
124
+ width: 90%;
125
+ }
126
+ }
127
+ }
@@ -0,0 +1,14 @@
1
+ .navbar {
2
+ display: inline;
3
+ float: left;
4
+ margin: 0;
5
+ font-family: $sans-serif-font-family;
6
+ font-size: 1rem;
7
+ margin-top: 1vh;
8
+ margin-left: 2px;
9
+ }
10
+
11
+ .navbar a {
12
+ text-decoration: none;
13
+ margin-right: 1rem;
14
+ }
data/_sass/_post.scss ADDED
@@ -0,0 +1,88 @@
1
+ .posts-container {
2
+ margin-bottom: 5rem;
3
+ padding: 0px;
4
+ list-style: none;
5
+ }
6
+
7
+ .post-preview {
8
+ display: flow-root;
9
+ padding-top: 10px;
10
+ padding-bottom: 10px;
11
+
12
+ .post-date {
13
+ padding: 0;
14
+ margin: 0;
15
+ }
16
+
17
+ h2 {
18
+ margin-top: 5px;
19
+ margin-bottom: 5px;
20
+ }
21
+
22
+ h3 {
23
+ margin-top: 5px;
24
+ margin-bottom: 5px;
25
+ }
26
+ }
27
+
28
+ .post-image {
29
+ display: block;
30
+ margin-left: auto;
31
+ margin-right: auto;
32
+ max-height: 300px;
33
+ }
34
+
35
+ .post-image-subtitle {
36
+ display: block;
37
+ text-align: right;
38
+ margin-top: 3px;
39
+ margin-bottom: 1rem;
40
+ font-family: $sans-serif-font-family;
41
+ font-size: 0.8rem;
42
+ font-style: italic;
43
+ }
44
+
45
+ .post-image-preview {
46
+ float: right;
47
+ display: block;
48
+ position: relative;
49
+ overflow: hidden;
50
+ width: 50%;
51
+ height: 225px;
52
+
53
+ img {
54
+ display: block;
55
+ margin-left: auto;
56
+ margin-right: auto;
57
+ position: absolute;
58
+ top: 0;
59
+ left: 0;
60
+ width: 100%;
61
+ }
62
+
63
+ }
64
+
65
+ .post-preview-meta {
66
+ float: left;
67
+ width: 45%;
68
+ }
69
+
70
+ /*
71
+ Post
72
+ */
73
+
74
+ .post-content {
75
+
76
+ p {
77
+ text-align: justify;
78
+ font-size: 16px;
79
+ }
80
+ }
81
+
82
+ .post-date {
83
+ display: block;
84
+ margin-top: 3px;
85
+ margin-bottom: 1rem;
86
+ font-family: $sans-serif-font-family;
87
+ font-size: 0.8rem;
88
+ }
@@ -0,0 +1,47 @@
1
+ /*
2
+ Social media icons
3
+ */
4
+
5
+ .social-icons {
6
+ display: inline;
7
+ float: right;
8
+ margin-top: 1vh;
9
+
10
+ .icon {
11
+ padding-right: 5px;
12
+ font-size: 17px;
13
+ }
14
+
15
+ a {
16
+ font-size: 1rem;
17
+ }
18
+ }
19
+
20
+
21
+ .sharing {
22
+ padding-bottom: 10px;
23
+
24
+ .sharing-icons {
25
+ display: flex;
26
+ justify-content: space-between;
27
+ width: 55%;
28
+
29
+ .fa-brands,
30
+ .fab {
31
+ font-size: 20px;
32
+ }
33
+ }
34
+
35
+ }
36
+
37
+ @mixin social-media-icon($color, $transition) {
38
+ -webkit-transition: $transition;
39
+ -o-transition: $transition;
40
+ -ms-transition: $transition;
41
+ -moz-transition: $transition;
42
+ transition: $transition;
43
+
44
+ &:hover {
45
+ color: $color;
46
+ }
47
+ }