beautiful-jekyll-theme 4.1.0 → 6.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.
- checksums.yaml +4 -4
- data/404.html +1 -1
- data/LICENSE +1 -1
- data/README.md +96 -132
- data/_data/ui-text.yml +1 -1
- data/_includes/cloudflare_analytics.html +8 -0
- data/_includes/commentbox.html +7 -0
- data/_includes/comments.html +4 -2
- data/_includes/footer-scripts.html +6 -0
- data/_includes/footer.html +16 -7
- data/_includes/giscus-comment.html +16 -0
- data/_includes/google_analytics.html +12 -0
- data/_includes/head.html +67 -78
- data/_includes/header.html +42 -30
- data/_includes/nav.html +21 -5
- data/_includes/readtime.html +2 -2
- data/_includes/search.html +39 -0
- data/_includes/social-networks-links.html +81 -5
- data/_includes/social-share.html +9 -1
- data/_includes/staticman-comments.html +1 -1
- data/_includes/utterances-comment.html +1 -1
- data/_layouts/base.html +16 -16
- data/_layouts/default.html +17 -1
- data/_layouts/home.html +60 -35
- data/_layouts/minimal.html +20 -4
- data/_layouts/page.html +19 -2
- data/_layouts/post.html +21 -9
- data/assets/css/{main-minimal.css → beautifuljekyll-minimal.css} +1 -1
- data/assets/css/{main.css → beautifuljekyll.css} +334 -142
- data/assets/img/install-steps.gif +0 -0
- data/assets/js/{main.js → beautifuljekyll.js} +57 -14
- data/assets/js/staticman.js +39 -28
- data/feed.xml +6 -5
- data/staticman.yml +1 -1
- data/tags.html +1 -1
- metadata +43 -12
- data/assets/js/jquery-3.4.1.min.js +0 -2
@@ -20,6 +20,7 @@ body {
|
|
20
20
|
background-image: url({{ site.page-img | relative_url }});
|
21
21
|
background-attachment: fixed;
|
22
22
|
{% endif %}
|
23
|
+
overflow-wrap: break-word;
|
23
24
|
}
|
24
25
|
p {
|
25
26
|
line-height: 1.5;
|
@@ -42,6 +43,9 @@ h3 {
|
|
42
43
|
h4 {
|
43
44
|
font-size: 1.125rem;
|
44
45
|
}
|
46
|
+
h1, h2, h3, h4 {
|
47
|
+
margin-top: 1.25rem;
|
48
|
+
}
|
45
49
|
a {
|
46
50
|
color: {{ site.link-col | default: "#008AFF" }};
|
47
51
|
}
|
@@ -65,42 +69,33 @@ hr.small {
|
|
65
69
|
}
|
66
70
|
|
67
71
|
/* fix in-page anchors to not be behind fixed header */
|
68
|
-
:target:before {
|
72
|
+
:target:before {
|
69
73
|
content: "";
|
70
74
|
display: block;
|
71
75
|
height: 3.125rem; /* navbar height */
|
72
76
|
margin: -3.125rem 0 0;
|
73
77
|
}
|
74
78
|
|
75
|
-
.main-content {
|
76
|
-
padding-top: 5rem;
|
77
|
-
}
|
78
|
-
@media (min-width: 768px) {
|
79
|
-
.main-content {
|
80
|
-
padding-top: 8.125rem;
|
81
|
-
}
|
82
|
-
}
|
83
|
-
|
84
79
|
.hideme {
|
85
80
|
display: none;
|
86
81
|
}
|
87
82
|
|
88
83
|
::-moz-selection {
|
89
|
-
color:
|
84
|
+
color: #fff;
|
90
85
|
text-shadow: none;
|
91
86
|
background-color: {{ site.hover-col | default: "#0085A1" }};
|
92
87
|
}
|
93
88
|
::selection {
|
94
|
-
color:
|
89
|
+
color: #fff;
|
95
90
|
text-shadow: none;
|
96
91
|
background-color: {{ site.hover-col | default: "#0085A1" }};
|
97
92
|
}
|
98
93
|
img::selection {
|
99
|
-
color:
|
94
|
+
color: #fff;
|
100
95
|
background: transparent;
|
101
96
|
}
|
102
97
|
img::-moz-selection {
|
103
|
-
color:
|
98
|
+
color: #fff;
|
104
99
|
background: transparent;
|
105
100
|
}
|
106
101
|
|
@@ -108,6 +103,13 @@ img {
|
|
108
103
|
max-width: 100%;
|
109
104
|
}
|
110
105
|
|
106
|
+
.linked-section {
|
107
|
+
padding-top: 3.75rem;
|
108
|
+
margin-top: -1.5625rem;
|
109
|
+
}
|
110
|
+
|
111
|
+
/* Comments */
|
112
|
+
|
111
113
|
.disqus-comments {
|
112
114
|
margin-top: 1.875rem;
|
113
115
|
}
|
@@ -118,24 +120,19 @@ img {
|
|
118
120
|
}
|
119
121
|
}
|
120
122
|
|
121
|
-
.linked-section {
|
122
|
-
padding-top: 3.75rem;
|
123
|
-
margin-top: -1.5625rem;
|
124
|
-
}
|
125
|
-
|
126
123
|
/* --- Navbar --- */
|
127
124
|
|
128
125
|
.navbar-custom {
|
129
|
-
background-color: {{ site.navbar-col | default: "#
|
130
|
-
border-bottom: 1px solid {{ site.navbar-border-col | default: "#
|
126
|
+
background-color: {{ site.navbar-col | default: "#EAEAEA" }};
|
127
|
+
border-bottom: 1px solid {{ site.navbar-border-col | default: "#DDDDDD" }};
|
131
128
|
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
132
129
|
{% if site.navbar-img %}
|
133
130
|
background-image: url({{ site.navbar-img | relative_url }});
|
134
131
|
background-attachment: fixed;
|
135
132
|
{% endif %}
|
136
|
-
-webkit-transition:
|
137
|
-
-moz-transition:
|
138
|
-
transition:
|
133
|
+
-webkit-transition: padding .5s ease-in-out;
|
134
|
+
-moz-transition: padding .5s ease-in-out;
|
135
|
+
transition: padding .5s ease-in-out;
|
139
136
|
}
|
140
137
|
|
141
138
|
.navbar-custom,
|
@@ -177,27 +174,18 @@ img {
|
|
177
174
|
height: 2.5rem;
|
178
175
|
}
|
179
176
|
|
180
|
-
.navbar-custom .navbar-brand:hover,
|
181
|
-
.navbar-custom .navbar-brand:focus ,
|
182
|
-
.navbar-custom .navbar-nav .nav-link:hover,
|
183
|
-
.navbar-custom .navbar-nav .nav-link:focus,
|
184
|
-
.navbar-custom .navbar-nav .dropdown-item:hover,
|
185
|
-
.navbar-custom .navbar-nav .dropdown-item:focus {
|
186
|
-
color: {{ site.hover-col | default: "#0085A1" }};
|
187
|
-
}
|
188
|
-
|
189
177
|
.navbar-custom .navbar-nav .nav-item {
|
190
178
|
text-transform: uppercase;
|
191
|
-
font-size: 0.
|
179
|
+
font-size: 0.8125rem;
|
192
180
|
letter-spacing: 0.0625rem;
|
193
181
|
}
|
194
182
|
|
195
183
|
.navbar-custom .navbar-nav .nav-link {
|
196
184
|
padding-top: 0;
|
197
185
|
padding-bottom: 0;
|
198
|
-
line-height: 1.
|
199
|
-
padding-top:
|
200
|
-
padding-bottom:
|
186
|
+
line-height: 1.25rem;
|
187
|
+
padding-top: 0.9375rem;
|
188
|
+
padding-bottom: 0.9375rem;
|
201
189
|
}
|
202
190
|
|
203
191
|
.navbar-custom .navbar-brand,
|
@@ -223,7 +211,7 @@ img {
|
|
223
211
|
border-width: 0.4em;
|
224
212
|
}
|
225
213
|
|
226
|
-
@media (min-width:
|
214
|
+
@media (min-width: 1200px) {
|
227
215
|
.navbar-custom {
|
228
216
|
padding-top: 1.25rem;
|
229
217
|
padding-bottom: 1.25rem;
|
@@ -238,17 +226,17 @@ img {
|
|
238
226
|
height: 3.125rem;
|
239
227
|
}
|
240
228
|
|
241
|
-
.navbar-expand-
|
229
|
+
.navbar-expand-xl .navbar-nav .nav-link {
|
242
230
|
padding-left: 0.9375rem;
|
243
231
|
padding-right: 0.9375rem;
|
244
232
|
}
|
245
233
|
|
246
|
-
.navbar-expand-
|
234
|
+
.navbar-expand-xl .navbar-nav .nav-item:not(.dropdown):last-child .nav-link {
|
247
235
|
padding-right: 0;
|
248
236
|
}
|
249
237
|
}
|
250
238
|
|
251
|
-
@media (min-width:
|
239
|
+
@media (min-width: 1200px) {
|
252
240
|
.navbar-custom .nav-item.dropdown:hover {
|
253
241
|
background: rgba(0, 0, 0, 0.1);
|
254
242
|
}
|
@@ -259,38 +247,49 @@ img {
|
|
259
247
|
}
|
260
248
|
|
261
249
|
.navbar-custom .nav-item.dropdown .dropdown-menu {
|
262
|
-
min-width: 0;
|
263
250
|
margin-top: 0;
|
264
251
|
font-size: 1em;
|
265
252
|
border: 0;
|
266
253
|
padding: 0;
|
254
|
+
{% if site.navbar-var-length %}
|
255
|
+
min-width: 100%;
|
256
|
+
{% else %}
|
257
|
+
min-width: 0;
|
267
258
|
width: 100%;
|
268
259
|
word-break: break-word;
|
260
|
+
{% endif %}
|
269
261
|
}
|
262
|
+
|
270
263
|
.navbar-custom .nav-item.dropdown .dropdown-menu .dropdown-item {
|
271
|
-
white-space: normal;
|
272
264
|
padding: 0.625rem;
|
273
|
-
background-color: {{ site.navbar-col | default: "#
|
265
|
+
background-color: {{ site.navbar-col | default: "#EAEAEA" }};
|
274
266
|
text-decoration: none !important;
|
275
|
-
border-width: 0 1px 1px 1px;
|
276
267
|
font-weight: normal;
|
268
|
+
color: {{ site.navbar-text-col | default: "#404040" }};
|
269
|
+
{% unless site.navbar-var-length %}
|
270
|
+
white-space: normal;
|
271
|
+
{% endunless %}
|
277
272
|
}
|
278
273
|
|
279
|
-
@media (min-width:
|
274
|
+
@media (min-width: 1200px) {
|
280
275
|
.navbar-custom .nav-item.dropdown .dropdown-menu {
|
281
276
|
text-align: center;
|
282
277
|
}
|
283
278
|
|
284
279
|
.navbar-custom .nav-item.dropdown .dropdown-menu .dropdown-item {
|
285
280
|
padding-left: 0.625rem;
|
286
|
-
border: 1px solid {{ site.navbar-border-col | default: "#
|
281
|
+
border: 1px solid {{ site.navbar-border-col | default: "#DDDDDD" }};
|
287
282
|
border-width: 0 1px 1px;
|
288
283
|
}
|
284
|
+
|
285
|
+
.navbar-custom .nav-item.dropdown .dropdown-menu .dropdown-item:first-child {
|
286
|
+
border-top-width: 1px;
|
287
|
+
}
|
289
288
|
}
|
290
289
|
|
291
|
-
@media (max-width:
|
290
|
+
@media (max-width: 1199px) {
|
292
291
|
.navbar-custom .navbar-collapse {
|
293
|
-
border-top: 1px solid {{ site.navbar-border-col | default: "#
|
292
|
+
border-top: 1px solid {{ site.navbar-border-col | default: "#DDDDDD" }};
|
294
293
|
margin: 0 -1rem;
|
295
294
|
}
|
296
295
|
|
@@ -310,12 +309,20 @@ img {
|
|
310
309
|
padding-left: 2rem;
|
311
310
|
}
|
312
311
|
}
|
312
|
+
.navbar-custom .navbar-brand:hover,
|
313
|
+
.navbar-custom .navbar-brand:focus ,
|
314
|
+
.navbar-custom .navbar-nav .nav-link:hover,
|
315
|
+
.navbar-custom .navbar-nav .nav-link:focus,
|
316
|
+
.navbar-custom .navbar-nav .dropdown-menu .dropdown-item:hover,
|
317
|
+
.navbar-custom .navbar-nav .dropdown-menu .dropdown-item:focus {
|
318
|
+
color: {{ site.hover-col | default: "#0085A1" }};
|
319
|
+
}
|
313
320
|
|
314
321
|
.navbar-custom .avatar-container {
|
315
322
|
position: absolute;
|
316
323
|
left: 50%;
|
317
324
|
width: 3.125rem;
|
318
|
-
|
325
|
+
bottom: -1.5rem;
|
319
326
|
transition: opacity 0.5s ease-in-out;
|
320
327
|
-webkit-transition: opacity 0.5s ease-in-out;
|
321
328
|
-moz-transition: opacity 0.5s ease-in-out;
|
@@ -330,7 +337,6 @@ img {
|
|
330
337
|
|
331
338
|
.navbar-custom .avatar-container .avatar-img-border {
|
332
339
|
width: 100%;
|
333
|
-
display: inline-block;
|
334
340
|
margin-left: -50%;
|
335
341
|
{% unless site.round-avatar == false %}
|
336
342
|
border-radius: 50%;
|
@@ -351,12 +357,13 @@ img {
|
|
351
357
|
display: none;
|
352
358
|
}
|
353
359
|
|
354
|
-
@media (min-width:
|
355
|
-
.navbar-custom .avatar-container {
|
360
|
+
@media (min-width: 1200px) {
|
361
|
+
.navbar-custom.top-nav-regular .avatar-container {
|
356
362
|
width: 6.25rem;
|
363
|
+
bottom: -1.9375rem;
|
357
364
|
}
|
358
365
|
|
359
|
-
.navbar-custom .avatar-container .avatar-img-border {
|
366
|
+
.navbar-custom.top-nav-regular .avatar-container .avatar-img-border {
|
360
367
|
width: 100%;
|
361
368
|
{% unless site.round-avatar == false %}
|
362
369
|
box-shadow: 1px 1px 2px rgba(0, 0, 0, .8);
|
@@ -365,7 +372,7 @@ img {
|
|
365
372
|
{% endunless %}
|
366
373
|
}
|
367
374
|
|
368
|
-
.navbar-custom .avatar-container .avatar-img {
|
375
|
+
.navbar-custom.top-nav-regular .avatar-container .avatar-img {
|
369
376
|
width: 100%;
|
370
377
|
}
|
371
378
|
}
|
@@ -377,7 +384,7 @@ footer {
|
|
377
384
|
border-top: 1px #EAEAEA solid;
|
378
385
|
margin-top: 3.125rem;
|
379
386
|
font-size: 0.875rem;
|
380
|
-
background-color: {{ site.footer-col | default: "#
|
387
|
+
background-color: {{ site.footer-col | default: "#EAEAEA" }};
|
381
388
|
{% if site.footer-img %}
|
382
389
|
background-image: url({{ site.footer-img | relative_url }});
|
383
390
|
background-attachment: fixed;
|
@@ -392,6 +399,11 @@ footer a {
|
|
392
399
|
color: {{ site.footer-link-col | default: "#404040" }};
|
393
400
|
}
|
394
401
|
|
402
|
+
footer a:hover,
|
403
|
+
footer a:focus {
|
404
|
+
color: {{ site.footer-hover-col | default: "#0085A1" }};
|
405
|
+
}
|
406
|
+
|
395
407
|
footer .list-inline {
|
396
408
|
margin: 0;
|
397
409
|
padding: 0;
|
@@ -428,11 +440,16 @@ footer .footer-custom-content {
|
|
428
440
|
}
|
429
441
|
}
|
430
442
|
|
431
|
-
/* --- Post preview --- */
|
443
|
+
/* --- Post preview (feed) --- */
|
444
|
+
|
445
|
+
.posts-list {
|
446
|
+
margin: 0;
|
447
|
+
}
|
432
448
|
|
433
449
|
.post-preview {
|
434
450
|
padding: 1.25rem 0;
|
435
451
|
border-bottom: 1px solid #eee;
|
452
|
+
overflow: hidden;
|
436
453
|
}
|
437
454
|
|
438
455
|
@media (min-width: 768px) {
|
@@ -447,6 +464,7 @@ footer .footer-custom-content {
|
|
447
464
|
|
448
465
|
.post-preview a {
|
449
466
|
text-decoration: none;
|
467
|
+
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
450
468
|
color: {{ site.text-col | default: "#404040" }};
|
451
469
|
}
|
452
470
|
|
@@ -471,33 +489,70 @@ footer .footer-custom-content {
|
|
471
489
|
font-size: 1.125rem;
|
472
490
|
font-style: italic;
|
473
491
|
margin: 0 0 0.625rem;
|
492
|
+
font-family: 'Lora', 'Times New Roman', serif;
|
474
493
|
}
|
475
|
-
.post-
|
476
|
-
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
477
|
-
}
|
478
|
-
.post-entry-container {
|
494
|
+
.post-heading .post-meta {
|
479
495
|
display: inline-block;
|
480
|
-
width: 100%;
|
481
496
|
}
|
482
|
-
|
497
|
+
@media (max-width: 767px) {
|
498
|
+
.post-heading .post-meta {
|
499
|
+
display: block;
|
500
|
+
margin-bottom: 0;
|
501
|
+
}
|
502
|
+
}
|
503
|
+
.post-heading .post-meta .middot {
|
504
|
+
margin: 0 0.625rem;
|
505
|
+
}
|
506
|
+
.post-preview .post-entry {
|
483
507
|
width: 100%;
|
484
508
|
}
|
485
|
-
.post-image {
|
509
|
+
.post-preview .post-image {
|
486
510
|
float: right;
|
487
511
|
margin-left: 0.625rem;
|
488
512
|
height: 12rem;
|
489
513
|
width: 12rem;
|
490
|
-
margin-top: -2.1875rem;
|
491
|
-
filter: grayscale(90%);
|
492
514
|
}
|
493
|
-
.post-image
|
515
|
+
.post-preview .post-image {
|
516
|
+
filter: grayscale(40%);
|
517
|
+
}
|
518
|
+
.post-preview .post-image:hover {
|
494
519
|
filter: grayscale(0%);
|
495
520
|
}
|
496
|
-
.post-image img {
|
497
|
-
|
498
|
-
|
499
|
-
|
521
|
+
.post-preview .post-image img {
|
522
|
+
max-height: 100%;
|
523
|
+
max-width: 100%;
|
524
|
+
}
|
525
|
+
.post-preview .post-image-short {
|
526
|
+
margin-top: -2.1875rem;
|
527
|
+
}
|
528
|
+
@media (max-width: 767px) {
|
529
|
+
.post-preview .post-image {
|
530
|
+
height: 9rem;
|
531
|
+
width: 9rem;
|
532
|
+
}
|
533
|
+
.post-preview .post-image-short {
|
534
|
+
margin-top: 0;
|
535
|
+
}
|
536
|
+
}
|
537
|
+
.post-preview .post-image-small {
|
538
|
+
width: 100%;
|
539
|
+
height: 100%;
|
540
|
+
text-align: center;
|
541
|
+
display: none;
|
542
|
+
}
|
543
|
+
.post-preview .post-image-small img {
|
544
|
+
max-width: 6.25rem;
|
545
|
+
max-height: 6.25rem;
|
546
|
+
}
|
547
|
+
@media (max-width: 500px) {
|
548
|
+
.post-preview .post-image {
|
549
|
+
display: none;
|
550
|
+
}
|
551
|
+
.post-preview .post-image-small {
|
552
|
+
display: block;
|
553
|
+
}
|
500
554
|
}
|
555
|
+
|
501
556
|
.post-preview .post-read-more {
|
502
557
|
font-weight: 800;
|
503
558
|
}
|
@@ -512,21 +567,32 @@ footer .footer-custom-content {
|
|
512
567
|
|
513
568
|
.blog-tags {
|
514
569
|
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
515
|
-
color: #999;
|
516
570
|
font-size: 0.9375rem;
|
517
|
-
margin
|
571
|
+
margin: 1.875rem 0;
|
572
|
+
}
|
573
|
+
|
574
|
+
.blog-tags span {
|
575
|
+
color: {{ site.text-col | default: "#404040" }};
|
576
|
+
opacity: 0.8;
|
577
|
+
}
|
578
|
+
|
579
|
+
.blog-tags .list-inline-item {
|
580
|
+
margin-right: 0;
|
518
581
|
}
|
519
582
|
|
520
583
|
.blog-tags a {
|
521
|
-
color: {{ site.
|
584
|
+
color: {{ site.text-col | default: "#404040" }};
|
522
585
|
text-decoration: none;
|
523
586
|
padding: 0 0.3125rem;
|
587
|
+
opacity: 0.8;
|
588
|
+
border: 1px solid transparent;
|
589
|
+
border-radius: 0.1875rem;
|
524
590
|
}
|
525
591
|
|
526
592
|
.blog-tags a:hover {
|
527
|
-
|
528
|
-
color: {{ site.
|
529
|
-
|
593
|
+
opacity: 1;
|
594
|
+
color: {{ site.text-col | default: "#404040" }};
|
595
|
+
border-color: {{ site.text-col | default: "#404040" }};
|
530
596
|
}
|
531
597
|
|
532
598
|
.post-preview .blog-tags {
|
@@ -540,28 +606,30 @@ footer .footer-custom-content {
|
|
540
606
|
}
|
541
607
|
}
|
542
608
|
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
width: 9rem;
|
548
|
-
}
|
609
|
+
/* Tags page */
|
610
|
+
|
611
|
+
.tag-btn {
|
612
|
+
margin: 0.3125rem;
|
549
613
|
}
|
550
614
|
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
width: 6.25rem;
|
555
|
-
}
|
615
|
+
#full-tags-list {
|
616
|
+
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
617
|
+
}
|
556
618
|
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
619
|
+
#full-tags-list .tag-entry {
|
620
|
+
margin: 0 0 0.9375rem 1.5625rem;
|
621
|
+
}
|
622
|
+
|
623
|
+
#full-tags-list .tag-entry a {
|
624
|
+
font-size: 1.25rem;
|
625
|
+
}
|
626
|
+
|
627
|
+
#full-tags-list .tag-entry .entry-date {
|
628
|
+
color: #808080;
|
629
|
+
font-style: italic;
|
630
|
+
font-size: 1rem;
|
564
631
|
}
|
632
|
+
|
565
633
|
/* --- Post and page headers --- */
|
566
634
|
|
567
635
|
.intro-header {
|
@@ -577,6 +645,12 @@ footer .footer-custom-content {
|
|
577
645
|
margin-top: 3.1875rem; /* The small navbar is 50px tall + 1px border */
|
578
646
|
margin-bottom: 2.1875rem;
|
579
647
|
}
|
648
|
+
nav.top-nav-short-permanent ~ header > .intro-header {
|
649
|
+
margin-top: 5rem;
|
650
|
+
}
|
651
|
+
nav.top-nav-short-permanent ~ header > .intro-header.big-img {
|
652
|
+
margin-top: 3.1875rem;
|
653
|
+
}
|
580
654
|
.intro-header.big-img .big-img-transition {
|
581
655
|
position: absolute;
|
582
656
|
width: 100%;
|
@@ -643,7 +717,7 @@ footer .footer-custom-content {
|
|
643
717
|
bottom: 0;
|
644
718
|
display: none;
|
645
719
|
}
|
646
|
-
@media (min-width:
|
720
|
+
@media (min-width: 1200px) {
|
647
721
|
.intro-header {
|
648
722
|
margin-top: 8.125rem;
|
649
723
|
}
|
@@ -698,17 +772,6 @@ footer .footer-custom-content {
|
|
698
772
|
}
|
699
773
|
}
|
700
774
|
|
701
|
-
.caption {
|
702
|
-
text-align: center;
|
703
|
-
font-size: 0.875rem;
|
704
|
-
padding: 0.625rem;
|
705
|
-
font-style: italic;
|
706
|
-
margin: 0;
|
707
|
-
display: block;
|
708
|
-
border-bottom-right-radius: 0.3125rem;
|
709
|
-
border-bottom-left-radius: 0.3125rem;
|
710
|
-
}
|
711
|
-
|
712
775
|
#header-gh-btns {
|
713
776
|
margin-bottom: 0.9375rem;
|
714
777
|
}
|
@@ -719,18 +782,6 @@ footer .footer-custom-content {
|
|
719
782
|
}
|
720
783
|
}
|
721
784
|
|
722
|
-
.reader-time {
|
723
|
-
display: inline-block;
|
724
|
-
}
|
725
|
-
@media (max-width: 767px) {
|
726
|
-
.reader-time {
|
727
|
-
display: block;
|
728
|
-
}
|
729
|
-
}
|
730
|
-
.reader-time .middot {
|
731
|
-
margin: 0 0.625rem;
|
732
|
-
}
|
733
|
-
|
734
785
|
/* --- Pagination --- */
|
735
786
|
|
736
787
|
.pagination {
|
@@ -813,9 +864,22 @@ table tr td :last-child {
|
|
813
864
|
|
814
865
|
/* --- Code blocks --- */
|
815
866
|
|
867
|
+
code {
|
868
|
+
padding: 0.125rem 0.25rem;
|
869
|
+
color: #c7254e;
|
870
|
+
background-color: #f9f2f4;
|
871
|
+
border-radius: 0.25rem;
|
872
|
+
}
|
873
|
+
|
874
|
+
pre code {
|
875
|
+
padding: 0;
|
876
|
+
background-color: transparent;
|
877
|
+
border-radius: 0;
|
878
|
+
}
|
879
|
+
|
816
880
|
pre {
|
817
|
-
font-size:
|
818
|
-
line-height: 1.
|
881
|
+
font-size: 0.875rem;
|
882
|
+
line-height: 1.5em;
|
819
883
|
border-radius: 0.25rem;
|
820
884
|
padding: 0.59375rem;
|
821
885
|
}
|
@@ -826,7 +890,7 @@ pre {
|
|
826
890
|
}
|
827
891
|
.highlight > pre {
|
828
892
|
background-image: linear-gradient(
|
829
|
-
rgba(0,0,0,0.
|
893
|
+
rgba(0,0,0,0.03), rgba(0,0,0,0.03) 1.5em, rgba(0,0,0,0.02) 1.5em, rgba(0,0,0,0.02) 3em);
|
830
894
|
background-size: auto 3em;
|
831
895
|
background-position-y: 0.625rem;
|
832
896
|
border: 1px solid rgba(0,0,0,0.1);
|
@@ -835,7 +899,9 @@ pre {
|
|
835
899
|
.highlight > pre:not([class~="highlight"]) { /* code block with line number */
|
836
900
|
padding: 0;
|
837
901
|
}
|
838
|
-
.highlight table,
|
902
|
+
.highlight table,
|
903
|
+
.highlight tr,
|
904
|
+
.highlight td { /* to be removed after fixing table styles */
|
839
905
|
border: none;
|
840
906
|
background: none;
|
841
907
|
padding: 0;
|
@@ -858,14 +924,28 @@ pre {
|
|
858
924
|
background: none;
|
859
925
|
}
|
860
926
|
|
927
|
+
/* Fix table border github gist snippets */
|
928
|
+
|
929
|
+
.gist, .gist-file table tr {
|
930
|
+
border: unset;
|
931
|
+
}
|
932
|
+
|
933
|
+
.gist, .gist-file table tr td {
|
934
|
+
border: unset;
|
935
|
+
}
|
936
|
+
|
861
937
|
/* --- Social media sharing section --- */
|
862
938
|
|
863
939
|
#social-share-section {
|
864
940
|
margin-bottom: 1.875rem;
|
941
|
+
margin-top: 1.875rem;
|
865
942
|
}
|
866
943
|
|
867
944
|
/* --- Notification boxes --- */
|
868
|
-
.box-note,
|
945
|
+
.box-note,
|
946
|
+
.box-warning,
|
947
|
+
.box-error,
|
948
|
+
.box-success {
|
869
949
|
padding: 0.9375rem 0.9375rem 0.9375rem 0.625rem;
|
870
950
|
margin: 1.25rem 1.25rem 1.25rem 0.3125rem;
|
871
951
|
border: 1px solid #eee;
|
@@ -893,36 +973,148 @@ pre {
|
|
893
973
|
border-left-color: #3CB371;
|
894
974
|
}
|
895
975
|
|
896
|
-
/*
|
976
|
+
/* --- Misc blog post styles --- */
|
897
977
|
|
898
|
-
.
|
899
|
-
|
978
|
+
.blog-post :first-child {
|
979
|
+
margin-top: 0;
|
900
980
|
}
|
901
981
|
|
902
|
-
.
|
903
|
-
|
982
|
+
.blog-post img {
|
983
|
+
max-width: 100%;
|
904
984
|
}
|
905
985
|
|
906
|
-
|
986
|
+
.blog-post .caption {
|
987
|
+
text-align: center;
|
988
|
+
font-size: 0.875rem;
|
989
|
+
padding: 0.625rem;
|
990
|
+
font-style: italic;
|
991
|
+
color: #777;
|
992
|
+
margin: 0;
|
993
|
+
display: block;
|
994
|
+
border-bottom-right-radius: 0.3125rem;
|
995
|
+
border-bottom-left-radius: 0.3125rem;
|
996
|
+
}
|
907
997
|
|
908
|
-
.
|
909
|
-
|
998
|
+
.blog-post hr {
|
999
|
+
max-width: 25%;
|
1000
|
+
border-width: 0.25rem;
|
1001
|
+
border-radius: 0.1875rem;
|
1002
|
+
border-color: #808080;
|
910
1003
|
}
|
911
1004
|
|
912
|
-
|
913
|
-
|
1005
|
+
.blog-post blockquote {
|
1006
|
+
padding: 0.625rem 1.25rem;
|
1007
|
+
margin: 0 0 1.25rem;
|
1008
|
+
font-size: 1.1rem;
|
1009
|
+
border-left: 0.3125rem solid #eee;
|
914
1010
|
}
|
915
1011
|
|
916
|
-
|
917
|
-
margin: 0
|
1012
|
+
.blog-post blockquote p:last-child {
|
1013
|
+
margin-bottom: 0;
|
918
1014
|
}
|
919
1015
|
|
920
|
-
|
921
|
-
|
1016
|
+
.center {
|
1017
|
+
display: block;
|
1018
|
+
margin: 0 auto;
|
922
1019
|
}
|
923
1020
|
|
924
|
-
|
925
|
-
|
926
|
-
|
927
|
-
|
1021
|
+
/* Search bar */
|
1022
|
+
#beautifuljekyll-search-overlay {
|
1023
|
+
display: none;
|
1024
|
+
z-index: 999999;
|
1025
|
+
position: fixed;
|
1026
|
+
background: rgba(0,0,0,0.9);
|
1027
|
+
left: 0;
|
1028
|
+
right: 0;
|
1029
|
+
top: 0;
|
1030
|
+
bottom: 0;
|
1031
|
+
text-align: center;
|
1032
|
+
padding: 1rem;
|
1033
|
+
}
|
1034
|
+
#nav-search-exit {
|
1035
|
+
position: absolute;
|
1036
|
+
top: 1.5rem;
|
1037
|
+
cursor: pointer;
|
1038
|
+
right: 25%;
|
1039
|
+
margin-right: 2rem;
|
1040
|
+
color: #555;
|
1041
|
+
font-size: 2rem;
|
1042
|
+
line-height: 2rem;
|
1043
|
+
font-weight: bold;
|
1044
|
+
}
|
1045
|
+
#nav-search-exit:hover {
|
1046
|
+
color: #000;
|
1047
|
+
}
|
1048
|
+
#nav-search-input {
|
1049
|
+
text-align: center;
|
1050
|
+
background: #e7edee;
|
1051
|
+
margin: auto;
|
1052
|
+
display: block;
|
1053
|
+
font-size: 2rem;
|
1054
|
+
width: 50%;
|
1055
|
+
transition: width 300ms ease;
|
1056
|
+
color: #222;
|
1057
|
+
border-radius: 5rem;
|
1058
|
+
outline: none;
|
1059
|
+
border: none;
|
1060
|
+
padding: 0 3rem;
|
1061
|
+
}
|
1062
|
+
@media (max-width: 1199px) {
|
1063
|
+
#nav-search-input {
|
1064
|
+
width: 75%;
|
1065
|
+
}
|
1066
|
+
#nav-search-exit {
|
1067
|
+
right: 12.5%;
|
1068
|
+
}
|
1069
|
+
}
|
1070
|
+
@media (max-width: 767px) {
|
1071
|
+
#nav-search-input {
|
1072
|
+
width: 100%;
|
1073
|
+
}
|
1074
|
+
#nav-search-exit {
|
1075
|
+
right: 0;
|
1076
|
+
}
|
1077
|
+
}
|
1078
|
+
#nav-search-input:focus {
|
1079
|
+
background: #f3f8fe;
|
1080
|
+
box-shadow: 0px 0.15rem 1rem #e7f4ff;
|
1081
|
+
outline: none;
|
1082
|
+
}
|
1083
|
+
|
1084
|
+
#nav-search-input::placeholder {
|
1085
|
+
color: #777;
|
1086
|
+
}
|
1087
|
+
|
1088
|
+
#search-results-container {
|
1089
|
+
list-style: none;
|
1090
|
+
padding-left: unset;
|
1091
|
+
margin-top: 1.5rem;
|
1092
|
+
color: #fff;
|
1093
|
+
font-size: 1.5rem;
|
1094
|
+
max-height: calc(100vh - 6.5rem);
|
1095
|
+
overflow-y: auto;
|
1096
|
+
}
|
1097
|
+
#search-results-container a {
|
1098
|
+
color: #fff;
|
1099
|
+
text-decoration: none;
|
1100
|
+
}
|
1101
|
+
#search-results-container a:hover {
|
1102
|
+
color: #fff;
|
1103
|
+
text-decoration: underline;
|
1104
|
+
}
|
1105
|
+
|
1106
|
+
#nav-search-icon {
|
1107
|
+
display: inline-block;
|
1108
|
+
}
|
1109
|
+
#nav-search-text {
|
1110
|
+
display: none;
|
1111
|
+
}
|
1112
|
+
|
1113
|
+
@media (max-width: 1199px) {
|
1114
|
+
#nav-search-icon {
|
1115
|
+
display: none;
|
1116
|
+
}
|
1117
|
+
#nav-search-text {
|
1118
|
+
display: inline-block;
|
1119
|
+
}
|
928
1120
|
}
|