blog.css 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. /* stylelint-disable selector-list-comma-newline-after */
  2. .blog-header {
  3. line-height: 1;
  4. border-bottom: 1px solid #e5e5e5;
  5. }
  6. .blog-header-logo {
  7. font-family: "Playfair Display", Georgia, "Times New Roman", serif/*rtl:Amiri, Georgia, "Times New Roman", serif*/;
  8. font-size: 2.25rem;
  9. }
  10. .blog-header-logo:hover {
  11. text-decoration: none;
  12. }
  13. h1, h2, h3, h4, h5, h6 {
  14. font-family: "Playfair Display", Georgia, "Times New Roman", serif/*rtl:Amiri, Georgia, "Times New Roman", serif*/;
  15. }
  16. .display-4 {
  17. font-size: 2.5rem;
  18. }
  19. @media (min-width: 768px) {
  20. .display-4 {
  21. font-size: 3rem;
  22. }
  23. }
  24. .nav-scroller {
  25. position: relative;
  26. z-index: 2;
  27. height: 2.75rem;
  28. overflow-y: hidden;
  29. }
  30. .nav-scroller .nav {
  31. display: flex;
  32. flex-wrap: nowrap;
  33. padding-bottom: 1rem;
  34. margin-top: -1px;
  35. overflow-x: auto;
  36. text-align: center;
  37. white-space: nowrap;
  38. -webkit-overflow-scrolling: touch;
  39. }
  40. .nav-scroller .nav-link {
  41. padding-top: .75rem;
  42. padding-bottom: .75rem;
  43. font-size: .875rem;
  44. }
  45. .card-img-right {
  46. height: 100%;
  47. border-radius: 0 3px 3px 0;
  48. }
  49. .flex-auto {
  50. flex: 0 0 auto;
  51. }
  52. .h-250 { height: 250px; }
  53. @media (min-width: 768px) {
  54. .h-md-250 { height: 250px; }
  55. }
  56. /* Pagination */
  57. .blog-pagination {
  58. margin-bottom: 4rem;
  59. }
  60. .blog-pagination > .btn {
  61. border-radius: 2rem;
  62. }
  63. /*
  64. * Blog posts
  65. */
  66. .blog-post {
  67. margin-bottom: 4rem;
  68. }
  69. .blog-post-title {
  70. margin-bottom: .25rem;
  71. font-size: 2.5rem;
  72. }
  73. .blog-post-meta {
  74. margin-bottom: 1.25rem;
  75. color: #727272;
  76. }
  77. /*
  78. * Footer
  79. */
  80. .blog-footer {
  81. padding: 2.5rem 0;
  82. color: #727272;
  83. text-align: center;
  84. background-color: #f9f9f9;
  85. border-top: .05rem solid #e5e5e5;
  86. }
  87. .blog-footer p:last-child {
  88. margin-bottom: 0;
  89. }