beautiful-jekyll-theme 4.1.0 → 5.0.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 +4 -4
- data/404.html +1 -1
- data/README.md +74 -125
- data/_data/ui-text.yml +1 -1
- data/_includes/comments.html +2 -2
- data/_includes/footer-scripts.html +6 -0
- data/_includes/footer.html +10 -6
- data/_includes/head.html +64 -78
- data/_includes/header.html +40 -28
- data/_includes/nav.html +3 -3
- data/_includes/readtime.html +2 -2
- data/_includes/social-networks-links.html +2 -2
- 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 +51 -34
- data/_layouts/minimal.html +20 -4
- data/_layouts/page.html +19 -2
- data/_layouts/post.html +19 -7
- data/assets/css/{main-minimal.css → beautifuljekyll-minimal.css} +1 -1
- data/assets/css/{main.css → beautifuljekyll.css} +173 -103
- data/assets/js/{main.js → beautifuljekyll.js} +15 -0
- data/feed.xml +4 -3
- metadata +20 -7
- data/assets/js/jquery-3.4.1.min.js +0 -2
@@ -42,6 +42,9 @@ h3 {
|
|
42
42
|
h4 {
|
43
43
|
font-size: 1.125rem;
|
44
44
|
}
|
45
|
+
h1, h2, h3, h4 {
|
46
|
+
margin-top: 1.25rem;
|
47
|
+
}
|
45
48
|
a {
|
46
49
|
color: {{ site.link-col | default: "#008AFF" }};
|
47
50
|
}
|
@@ -65,7 +68,7 @@ hr.small {
|
|
65
68
|
}
|
66
69
|
|
67
70
|
/* fix in-page anchors to not be behind fixed header */
|
68
|
-
:target:before {
|
71
|
+
:target:before {
|
69
72
|
content: "";
|
70
73
|
display: block;
|
71
74
|
height: 3.125rem; /* navbar height */
|
@@ -108,6 +111,13 @@ img {
|
|
108
111
|
max-width: 100%;
|
109
112
|
}
|
110
113
|
|
114
|
+
.linked-section {
|
115
|
+
padding-top: 3.75rem;
|
116
|
+
margin-top: -1.5625rem;
|
117
|
+
}
|
118
|
+
|
119
|
+
/* Comments */
|
120
|
+
|
111
121
|
.disqus-comments {
|
112
122
|
margin-top: 1.875rem;
|
113
123
|
}
|
@@ -118,16 +128,11 @@ img {
|
|
118
128
|
}
|
119
129
|
}
|
120
130
|
|
121
|
-
.linked-section {
|
122
|
-
padding-top: 3.75rem;
|
123
|
-
margin-top: -1.5625rem;
|
124
|
-
}
|
125
|
-
|
126
131
|
/* --- Navbar --- */
|
127
132
|
|
128
133
|
.navbar-custom {
|
129
|
-
background-color: {{ site.navbar-col | default: "#
|
130
|
-
border-bottom: 1px solid {{ site.navbar-border-col | default: "#
|
134
|
+
background-color: {{ site.navbar-col | default: "#EAEAEA" }};
|
135
|
+
border-bottom: 1px solid {{ site.navbar-border-col | default: "#DDDDDD" }};
|
131
136
|
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
132
137
|
{% if site.navbar-img %}
|
133
138
|
background-image: url({{ site.navbar-img | relative_url }});
|
@@ -188,16 +193,16 @@ img {
|
|
188
193
|
|
189
194
|
.navbar-custom .navbar-nav .nav-item {
|
190
195
|
text-transform: uppercase;
|
191
|
-
font-size: 0.
|
196
|
+
font-size: 0.8125rem;
|
192
197
|
letter-spacing: 0.0625rem;
|
193
198
|
}
|
194
199
|
|
195
200
|
.navbar-custom .navbar-nav .nav-link {
|
196
201
|
padding-top: 0;
|
197
202
|
padding-bottom: 0;
|
198
|
-
line-height: 1.
|
199
|
-
padding-top:
|
200
|
-
padding-bottom:
|
203
|
+
line-height: 1.25rem;
|
204
|
+
padding-top: 0.9375rem;
|
205
|
+
padding-bottom: 0.9375rem;
|
201
206
|
}
|
202
207
|
|
203
208
|
.navbar-custom .navbar-brand,
|
@@ -270,7 +275,7 @@ img {
|
|
270
275
|
.navbar-custom .nav-item.dropdown .dropdown-menu .dropdown-item {
|
271
276
|
white-space: normal;
|
272
277
|
padding: 0.625rem;
|
273
|
-
background-color: {{ site.navbar-col | default: "#
|
278
|
+
background-color: {{ site.navbar-col | default: "#EAEAEA" }};
|
274
279
|
text-decoration: none !important;
|
275
280
|
border-width: 0 1px 1px 1px;
|
276
281
|
font-weight: normal;
|
@@ -283,14 +288,14 @@ img {
|
|
283
288
|
|
284
289
|
.navbar-custom .nav-item.dropdown .dropdown-menu .dropdown-item {
|
285
290
|
padding-left: 0.625rem;
|
286
|
-
border: 1px solid {{ site.navbar-border-col | default: "#
|
291
|
+
border: 1px solid {{ site.navbar-border-col | default: "#DDDDDD" }};
|
287
292
|
border-width: 0 1px 1px;
|
288
293
|
}
|
289
294
|
}
|
290
295
|
|
291
296
|
@media (max-width: 767px) {
|
292
297
|
.navbar-custom .navbar-collapse {
|
293
|
-
border-top: 1px solid {{ site.navbar-border-col | default: "#
|
298
|
+
border-top: 1px solid {{ site.navbar-border-col | default: "#DDDDDD" }};
|
294
299
|
margin: 0 -1rem;
|
295
300
|
}
|
296
301
|
|
@@ -315,7 +320,7 @@ img {
|
|
315
320
|
position: absolute;
|
316
321
|
left: 50%;
|
317
322
|
width: 3.125rem;
|
318
|
-
margin-top:
|
323
|
+
margin-top: 3.1rem;
|
319
324
|
transition: opacity 0.5s ease-in-out;
|
320
325
|
-webkit-transition: opacity 0.5s ease-in-out;
|
321
326
|
-moz-transition: opacity 0.5s ease-in-out;
|
@@ -330,7 +335,6 @@ img {
|
|
330
335
|
|
331
336
|
.navbar-custom .avatar-container .avatar-img-border {
|
332
337
|
width: 100%;
|
333
|
-
display: inline-block;
|
334
338
|
margin-left: -50%;
|
335
339
|
{% unless site.round-avatar == false %}
|
336
340
|
border-radius: 50%;
|
@@ -352,11 +356,11 @@ img {
|
|
352
356
|
}
|
353
357
|
|
354
358
|
@media (min-width: 768px) {
|
355
|
-
.navbar-custom .avatar-container {
|
359
|
+
.navbar-custom.top-nav-regular .avatar-container {
|
356
360
|
width: 6.25rem;
|
357
361
|
}
|
358
362
|
|
359
|
-
.navbar-custom .avatar-container .avatar-img-border {
|
363
|
+
.navbar-custom.top-nav-regular .avatar-container .avatar-img-border {
|
360
364
|
width: 100%;
|
361
365
|
{% unless site.round-avatar == false %}
|
362
366
|
box-shadow: 1px 1px 2px rgba(0, 0, 0, .8);
|
@@ -365,7 +369,7 @@ img {
|
|
365
369
|
{% endunless %}
|
366
370
|
}
|
367
371
|
|
368
|
-
.navbar-custom .avatar-container .avatar-img {
|
372
|
+
.navbar-custom.top-nav-regular .avatar-container .avatar-img {
|
369
373
|
width: 100%;
|
370
374
|
}
|
371
375
|
}
|
@@ -377,7 +381,7 @@ footer {
|
|
377
381
|
border-top: 1px #EAEAEA solid;
|
378
382
|
margin-top: 3.125rem;
|
379
383
|
font-size: 0.875rem;
|
380
|
-
background-color: {{ site.footer-col | default: "#
|
384
|
+
background-color: {{ site.footer-col | default: "#EAEAEA" }};
|
381
385
|
{% if site.footer-img %}
|
382
386
|
background-image: url({{ site.footer-img | relative_url }});
|
383
387
|
background-attachment: fixed;
|
@@ -428,11 +432,12 @@ footer .footer-custom-content {
|
|
428
432
|
}
|
429
433
|
}
|
430
434
|
|
431
|
-
/* --- Post preview --- */
|
435
|
+
/* --- Post preview (feed) --- */
|
432
436
|
|
433
437
|
.post-preview {
|
434
438
|
padding: 1.25rem 0;
|
435
439
|
border-bottom: 1px solid #eee;
|
440
|
+
overflow: hidden;
|
436
441
|
}
|
437
442
|
|
438
443
|
@media (min-width: 768px) {
|
@@ -447,6 +452,7 @@ footer .footer-custom-content {
|
|
447
452
|
|
448
453
|
.post-preview a {
|
449
454
|
text-decoration: none;
|
455
|
+
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
450
456
|
color: {{ site.text-col | default: "#404040" }};
|
451
457
|
}
|
452
458
|
|
@@ -471,33 +477,70 @@ footer .footer-custom-content {
|
|
471
477
|
font-size: 1.125rem;
|
472
478
|
font-style: italic;
|
473
479
|
margin: 0 0 0.625rem;
|
480
|
+
font-family: 'Lora', 'Times New Roman', serif;
|
474
481
|
}
|
475
|
-
.post-
|
476
|
-
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
477
|
-
}
|
478
|
-
.post-entry-container {
|
482
|
+
.post-heading .post-meta {
|
479
483
|
display: inline-block;
|
480
|
-
width: 100%;
|
481
484
|
}
|
482
|
-
|
485
|
+
@media (max-width: 767px) {
|
486
|
+
.post-heading .post-meta {
|
487
|
+
display: block;
|
488
|
+
margin-bottom: 0;
|
489
|
+
}
|
490
|
+
}
|
491
|
+
.post-heading .post-meta .middot {
|
492
|
+
margin: 0 0.625rem;
|
493
|
+
}
|
494
|
+
.post-preview .post-entry {
|
483
495
|
width: 100%;
|
484
496
|
}
|
485
|
-
.post-image {
|
497
|
+
.post-preview .post-image {
|
486
498
|
float: right;
|
487
499
|
margin-left: 0.625rem;
|
488
500
|
height: 12rem;
|
489
501
|
width: 12rem;
|
490
|
-
|
502
|
+
}
|
503
|
+
.post-preview .post-image {
|
491
504
|
filter: grayscale(90%);
|
492
505
|
}
|
493
|
-
.post-image:hover {
|
506
|
+
.post-preview .post-image:hover {
|
494
507
|
filter: grayscale(0%);
|
495
508
|
}
|
496
|
-
.post-image img {
|
497
|
-
|
498
|
-
|
499
|
-
|
509
|
+
.post-preview .post-image img {
|
510
|
+
height: 100%;
|
511
|
+
width: 100%;
|
512
|
+
}
|
513
|
+
.post-preview .post-image-short {
|
514
|
+
margin-top: -2.1875rem;
|
515
|
+
}
|
516
|
+
@media (max-width: 767px) {
|
517
|
+
.post-preview .post-image {
|
518
|
+
height: 9rem;
|
519
|
+
width: 9rem;
|
520
|
+
}
|
521
|
+
.post-preview .post-image-short {
|
522
|
+
margin-top: 0;
|
523
|
+
}
|
524
|
+
}
|
525
|
+
.post-preview .post-image-small {
|
526
|
+
width: 100%;
|
527
|
+
height: 100%;
|
528
|
+
text-align: center;
|
529
|
+
display: none;
|
530
|
+
}
|
531
|
+
.post-preview .post-image-small img {
|
532
|
+
width: 6.25rem;
|
533
|
+
height: 6.25rem;
|
534
|
+
}
|
535
|
+
@media (max-width: 500px) {
|
536
|
+
.post-preview .post-image {
|
537
|
+
display: none;
|
538
|
+
}
|
539
|
+
.post-preview .post-image-small {
|
540
|
+
display: block;
|
541
|
+
}
|
500
542
|
}
|
543
|
+
|
501
544
|
.post-preview .post-read-more {
|
502
545
|
font-weight: 800;
|
503
546
|
}
|
@@ -512,21 +555,28 @@ footer .footer-custom-content {
|
|
512
555
|
|
513
556
|
.blog-tags {
|
514
557
|
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
515
|
-
color: #999;
|
516
558
|
font-size: 0.9375rem;
|
517
559
|
margin-bottom: 1.875rem;
|
518
560
|
}
|
519
561
|
|
562
|
+
.blog-tags span {
|
563
|
+
color: {{ site.text-col | default: "#404040" }};
|
564
|
+
opacity: 0.8;
|
565
|
+
}
|
566
|
+
|
520
567
|
.blog-tags a {
|
521
|
-
color: {{ site.
|
568
|
+
color: {{ site.text-col | default: "#404040" }};
|
522
569
|
text-decoration: none;
|
523
570
|
padding: 0 0.3125rem;
|
571
|
+
opacity: 0.8;
|
572
|
+
border: 1px solid transparent;
|
573
|
+
border-radius: 0.1875rem;
|
524
574
|
}
|
525
575
|
|
526
576
|
.blog-tags a:hover {
|
527
|
-
|
528
|
-
color: {{ site.
|
529
|
-
|
577
|
+
opacity: 1;
|
578
|
+
color: {{ site.text-col | default: "#404040" }};
|
579
|
+
border-color: {{ site.text-col | default: "#404040" }};
|
530
580
|
}
|
531
581
|
|
532
582
|
.post-preview .blog-tags {
|
@@ -540,28 +590,30 @@ footer .footer-custom-content {
|
|
540
590
|
}
|
541
591
|
}
|
542
592
|
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
width: 9rem;
|
548
|
-
}
|
593
|
+
/* Tags page */
|
594
|
+
|
595
|
+
.tag-btn {
|
596
|
+
margin: 0.3125rem;
|
549
597
|
}
|
550
598
|
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
width: 6.25rem;
|
555
|
-
}
|
599
|
+
#full-tags-list {
|
600
|
+
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
601
|
+
}
|
556
602
|
|
557
|
-
|
558
|
-
|
559
|
-
text-align: center;
|
560
|
-
margin-top: 0;
|
561
|
-
margin-left: 0;
|
562
|
-
float: none;
|
563
|
-
}
|
603
|
+
#full-tags-list .tag-entry {
|
604
|
+
margin: 0 0 0.9375rem 1.5625rem;
|
564
605
|
}
|
606
|
+
|
607
|
+
#full-tags-list .tag-entry a {
|
608
|
+
font-size: 1.25rem;
|
609
|
+
}
|
610
|
+
|
611
|
+
#full-tags-list .tag-entry .entry-date {
|
612
|
+
color: #808080;
|
613
|
+
font-style: italic;
|
614
|
+
font-size: 1rem;
|
615
|
+
}
|
616
|
+
|
565
617
|
/* --- Post and page headers --- */
|
566
618
|
|
567
619
|
.intro-header {
|
@@ -577,6 +629,12 @@ footer .footer-custom-content {
|
|
577
629
|
margin-top: 3.1875rem; /* The small navbar is 50px tall + 1px border */
|
578
630
|
margin-bottom: 2.1875rem;
|
579
631
|
}
|
632
|
+
nav.top-nav-short-permanent ~ header > .intro-header {
|
633
|
+
margin-top: 5rem;
|
634
|
+
}
|
635
|
+
nav.top-nav-short-permanent ~ header > .intro-header.big-img {
|
636
|
+
margin-top: 3.1875rem;
|
637
|
+
}
|
580
638
|
.intro-header.big-img .big-img-transition {
|
581
639
|
position: absolute;
|
582
640
|
width: 100%;
|
@@ -698,17 +756,6 @@ footer .footer-custom-content {
|
|
698
756
|
}
|
699
757
|
}
|
700
758
|
|
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
759
|
#header-gh-btns {
|
713
760
|
margin-bottom: 0.9375rem;
|
714
761
|
}
|
@@ -719,18 +766,6 @@ footer .footer-custom-content {
|
|
719
766
|
}
|
720
767
|
}
|
721
768
|
|
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
769
|
/* --- Pagination --- */
|
735
770
|
|
736
771
|
.pagination {
|
@@ -813,9 +848,22 @@ table tr td :last-child {
|
|
813
848
|
|
814
849
|
/* --- Code blocks --- */
|
815
850
|
|
851
|
+
code {
|
852
|
+
padding: 0.125rem 0.25rem;
|
853
|
+
color: #c7254e;
|
854
|
+
background-color: #f9f2f4;
|
855
|
+
border-radius: 0.25rem;
|
856
|
+
}
|
857
|
+
|
858
|
+
pre code {
|
859
|
+
padding: 0;
|
860
|
+
background-color: transparent;
|
861
|
+
border-radius: 0;
|
862
|
+
}
|
863
|
+
|
816
864
|
pre {
|
817
|
-
font-size:
|
818
|
-
line-height: 1.
|
865
|
+
font-size: 0.875rem;
|
866
|
+
line-height: 1.5em;
|
819
867
|
border-radius: 0.25rem;
|
820
868
|
padding: 0.59375rem;
|
821
869
|
}
|
@@ -826,7 +874,7 @@ pre {
|
|
826
874
|
}
|
827
875
|
.highlight > pre {
|
828
876
|
background-image: linear-gradient(
|
829
|
-
rgba(0,0,0,0.
|
877
|
+
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
878
|
background-size: auto 3em;
|
831
879
|
background-position-y: 0.625rem;
|
832
880
|
border: 1px solid rgba(0,0,0,0.1);
|
@@ -858,10 +906,21 @@ pre {
|
|
858
906
|
background: none;
|
859
907
|
}
|
860
908
|
|
909
|
+
/* Fix table border github gist snippets */
|
910
|
+
|
911
|
+
.gist, .gist-file table tr {
|
912
|
+
border: unset;
|
913
|
+
}
|
914
|
+
|
915
|
+
.gist, .gist-file table tr td {
|
916
|
+
border: unset;
|
917
|
+
}
|
918
|
+
|
861
919
|
/* --- Social media sharing section --- */
|
862
920
|
|
863
921
|
#social-share-section {
|
864
922
|
margin-bottom: 1.875rem;
|
923
|
+
margin-top: 1.875rem;
|
865
924
|
}
|
866
925
|
|
867
926
|
/* --- Notification boxes --- */
|
@@ -893,36 +952,47 @@ pre {
|
|
893
952
|
border-left-color: #3CB371;
|
894
953
|
}
|
895
954
|
|
896
|
-
/*
|
955
|
+
/* --- Misc blog post styles --- */
|
897
956
|
|
898
|
-
.
|
899
|
-
|
957
|
+
.blog-post :first-child {
|
958
|
+
margin-top: 0;
|
900
959
|
}
|
901
960
|
|
902
|
-
.
|
903
|
-
|
961
|
+
.blog-post img {
|
962
|
+
max-width: 100%;
|
904
963
|
}
|
905
964
|
|
906
|
-
|
907
|
-
|
908
|
-
|
909
|
-
|
965
|
+
.blog-post .caption {
|
966
|
+
text-align: center;
|
967
|
+
font-size: 0.875rem;
|
968
|
+
padding: 0.625rem;
|
969
|
+
font-style: italic;
|
970
|
+
color: #777;
|
971
|
+
margin: 0;
|
972
|
+
display: block;
|
973
|
+
border-bottom-right-radius: 0.3125rem;
|
974
|
+
border-bottom-left-radius: 0.3125rem;
|
910
975
|
}
|
911
976
|
|
912
|
-
|
913
|
-
|
977
|
+
.blog-post hr {
|
978
|
+
max-width: 25%;
|
979
|
+
border-width: 0.25rem;
|
980
|
+
border-radius: 0.1875rem;
|
981
|
+
border-color: #808080;
|
914
982
|
}
|
915
983
|
|
916
|
-
|
917
|
-
|
984
|
+
.blog-post blockquote {
|
985
|
+
padding: 0.625rem 1.25rem;
|
986
|
+
margin: 0 0 1.25rem;
|
987
|
+
font-size: 1.1rem;
|
988
|
+
border-left: 0.3125rem solid #eee;
|
918
989
|
}
|
919
990
|
|
920
|
-
|
921
|
-
|
991
|
+
.blog-post blockquote p:last-child {
|
992
|
+
margin-bottom: 0;
|
922
993
|
}
|
923
994
|
|
924
|
-
|
925
|
-
|
926
|
-
|
927
|
-
font-size: 1rem;
|
995
|
+
.center {
|
996
|
+
display: block;
|
997
|
+
margin: 0 auto;
|
928
998
|
}
|