@@ -108,6 +108,13 @@ img {
108
108
max-width : 100% ;
109
109
}
110
110
111
+ .linked-section {
112
+ padding-top : 3.75rem ;
113
+ margin-top : -1.5625rem ;
114
+ }
115
+
116
+ /* Comments */
117
+
111
118
.disqus-comments {
112
119
margin-top : 1.875rem ;
113
120
}
@@ -118,11 +125,6 @@ img {
118
125
}
119
126
}
120
127
121
- .linked-section {
122
- padding-top : 3.75rem ;
123
- margin-top : -1.5625rem ;
124
- }
125
-
126
128
/* --- Navbar --- */
127
129
128
130
.navbar-custom {
@@ -428,7 +430,7 @@ footer .footer-custom-content {
428
430
}
429
431
}
430
432
431
- /* --- Post preview --- */
433
+ /* --- Post preview (feed) --- */
432
434
433
435
.post-preview {
434
436
padding : 1.25rem 0 ;
@@ -474,53 +476,53 @@ footer .footer-custom-content {
474
476
margin : 0 0 0.625rem ;
475
477
font-family : 'Lora' , 'Times New Roman' , serif;
476
478
}
477
- .post-entry {
479
+ .post-preview . post- entry {
478
480
width : 100% ;
479
481
}
480
- .post-image {
482
+ .post-preview . post- image {
481
483
float : right;
482
484
margin-left : 0.625rem ;
483
485
height : 12rem ;
484
486
width : 12rem ;
485
487
}
486
- .post-image {
488
+ .post-preview . post- image {
487
489
filter : grayscale (90% );
488
490
}
489
- .post-image : hover {
491
+ .post-preview . post- image: hover {
490
492
filter : grayscale (0% );
491
493
}
492
- .post-image img {
494
+ .post-preview . post- image img {
493
495
border-radius : 6rem ;
494
496
height : 100% ;
495
497
width : 100% ;
496
498
}
497
- .post-image-short {
499
+ .post-preview . post- image-short {
498
500
margin-top : -2.1875rem ;
499
501
}
500
502
@media (max-width : 767px ) {
501
- .post-image {
503
+ .post-preview . post- image {
502
504
height : 9rem ;
503
505
width : 9rem ;
504
506
}
505
- .post-image-short {
507
+ .post-preview . post- image-short {
506
508
margin-top : 0 ;
507
509
}
508
510
}
509
- .post-image-small {
511
+ .post-preview . post- image-small {
510
512
width : 100% ;
511
513
height : 100% ;
512
514
text-align : center;
513
515
display : none;
514
516
}
515
- .post-image-small img {
517
+ .post-preview . post- image-small img {
516
518
width : 6.25rem ;
517
519
height : 6.25rem ;
518
520
}
519
521
@media (max-width : 500px ) {
520
- .post-image {
522
+ .post-preview . post- image {
521
523
display : none;
522
524
}
523
- .post-image-small {
525
+ .post-preview . post- image-small {
524
526
display : block;
525
527
}
526
528
}
@@ -567,6 +569,30 @@ footer .footer-custom-content {
567
569
}
568
570
}
569
571
572
+ /* Tags page */
573
+
574
+ .tag-btn {
575
+ margin : 0.3125rem ;
576
+ }
577
+
578
+ # full-tags-list {
579
+ font-family : 'Open Sans' , 'Helvetica Neue' , Helvetica, Arial, sans-serif;
580
+ }
581
+
582
+ # full-tags-list .tag-entry {
583
+ margin : 0 0 0.9375rem 1.5625rem ;
584
+ }
585
+
586
+ # full-tags-list .tag-entry a {
587
+ font-size : 1.25rem ;
588
+ }
589
+
590
+ # full-tags-list .tag-entry .entry-date {
591
+ color : # 808080 ;
592
+ font-style : italic;
593
+ font-size : 1rem ;
594
+ }
595
+
570
596
/* --- Post and page headers --- */
571
597
572
598
.intro-header {
@@ -709,17 +735,6 @@ nav.top-nav-short-permanent ~ header > .intro-header.big-img {
709
735
}
710
736
}
711
737
712
- .caption {
713
- text-align : center;
714
- font-size : 0.875rem ;
715
- padding : 0.625rem ;
716
- font-style : italic;
717
- margin : 0 ;
718
- display : block;
719
- border-bottom-right-radius : 0.3125rem ;
720
- border-bottom-left-radius : 0.3125rem ;
721
- }
722
-
723
738
# header-gh-btns {
724
739
margin-bottom : 0.9375rem ;
725
740
}
@@ -882,6 +897,16 @@ pre {
882
897
background : none;
883
898
}
884
899
900
+ /* Fix table border github gist snippets */
901
+
902
+ .gist , .gist-file table tr {
903
+ border : unset;
904
+ }
905
+
906
+ .gist , .gist-file table tr td {
907
+ border : unset;
908
+ }
909
+
885
910
/* --- Social media sharing section --- */
886
911
887
912
# social-share-section {
@@ -918,36 +943,47 @@ pre {
918
943
border-left-color : # 3CB371 ;
919
944
}
920
945
921
- /* Fix table border github gist snippets */
946
+ /* --- Misc blog post styles --- */
922
947
923
- .gist , . gist-file table tr {
924
- border : unset ;
948
+ .blog-post : first-child {
949
+ margin-top : 0 ;
925
950
}
926
951
927
- .gist , . gist-file table tr td {
928
- border : unset ;
952
+ .blog-post img {
953
+ max-width : 100 % ;
929
954
}
930
955
931
- /* Tags page */
932
-
933
- .tag-btn {
934
- margin : 0.3125rem ;
956
+ .blog-post .caption {
957
+ text-align : center;
958
+ font-size : 0.875rem ;
959
+ padding : 0.625rem ;
960
+ font-style : italic;
961
+ color : # 777 ;
962
+ margin : 0 ;
963
+ display : block;
964
+ border-bottom-right-radius : 0.3125rem ;
965
+ border-bottom-left-radius : 0.3125rem ;
935
966
}
936
967
937
- # full-tags-list {
938
- font-family : 'Open Sans' , 'Helvetica Neue' , Helvetica, Arial, sans-serif;
968
+ .blog-post hr {
969
+ max-width : 25% ;
970
+ border-width : 0.25rem ;
971
+ border-radius : 0.1875rem ;
972
+ border-color : # 808080 ;
939
973
}
940
974
941
- # full-tags-list .tag-entry {
942
- margin : 0 0 0.9375rem 1.5625rem ;
975
+ .blog-post blockquote {
976
+ padding : 0.625rem 1.25rem ;
977
+ margin : 0 0 1.25rem ;
978
+ font-size : 1.1rem ;
979
+ border-left : 0.3125rem solid # eee ;
943
980
}
944
981
945
- # full-tags-list . tag-entry a {
946
- font-size : 1.25 rem ;
982
+ . blog-post blockquote p : last-child {
983
+ margin-bottom : 0 ;
947
984
}
948
985
949
- # full-tags-list .tag-entry .entry-date {
950
- color : # 808080 ;
951
- font-style : italic;
952
- font-size : 1rem ;
986
+ .center {
987
+ display : block;
988
+ margin : 0 auto;
953
989
}
0 commit comments