app.scss 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. /*
  2. * Globals
  3. */
  4. @media (min-width: 48em) {
  5. html {
  6. font-size: 18px;
  7. }
  8. }
  9. body {
  10. font-family: Georgia, "Times New Roman", Times, serif;
  11. color: #555;
  12. }
  13. h1, .h1,
  14. h2, .h2,
  15. h3, .h3,
  16. h4, .h4,
  17. h5, .h5,
  18. h6, .h6 {
  19. font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  20. font-weight: normal;
  21. color: #333;
  22. }
  23. /*
  24. * Override Bootstrap's default container.
  25. */
  26. .container {
  27. max-width: 60rem;
  28. }
  29. /*
  30. * Masthead for nav
  31. */
  32. .blog-masthead {
  33. margin-bottom: 3rem;
  34. background-color: #428bca;
  35. -webkit-box-shadow: inset 0 -.1rem .25rem rgba(0,0,0,.1);
  36. box-shadow: inset 0 -.1rem .25rem rgba(0,0,0,.1);
  37. }
  38. /* Nav links */
  39. .nav-link {
  40. position: relative;
  41. padding: 1rem;
  42. font-weight: 500;
  43. color: #cdddeb;
  44. }
  45. .nav-link:hover,
  46. .nav-link:focus {
  47. color: #fff;
  48. background-color: transparent;
  49. }
  50. /* Active state gets a caret at the bottom */
  51. .nav-link.active {
  52. color: #fff;
  53. }
  54. .nav-link.active:after {
  55. position: absolute;
  56. bottom: 0;
  57. left: 50%;
  58. width: 0;
  59. height: 0;
  60. margin-left: -.3rem;
  61. vertical-align: middle;
  62. content: "";
  63. border-right: .3rem solid transparent;
  64. border-bottom: .3rem solid;
  65. border-left: .3rem solid transparent;
  66. }
  67. /*
  68. * Blog name and description
  69. */
  70. .blog-header {
  71. padding-bottom: 1.25rem;
  72. margin-bottom: 2rem;
  73. border-bottom: .05rem solid #eee;
  74. }
  75. .blog-title {
  76. margin-bottom: 0;
  77. font-size: 2rem;
  78. font-weight: normal;
  79. }
  80. .blog-description {
  81. font-size: 1.1rem;
  82. color: #999;
  83. }
  84. @media (min-width: 40em) {
  85. .blog-title {
  86. font-size: 3.5rem;
  87. }
  88. }
  89. /*
  90. * Main column and sidebar layout
  91. */
  92. /* Sidebar modules for boxing content */
  93. .sidebar-module {
  94. padding: 1rem;
  95. /*margin: 0 -1rem 1rem;*/
  96. }
  97. .sidebar-module-inset {
  98. padding: 1rem;
  99. background-color: #f5f5f5;
  100. border-radius: .25rem;
  101. }
  102. .sidebar-module-inset p:last-child,
  103. .sidebar-module-inset ul:last-child,
  104. .sidebar-module-inset ol:last-child {
  105. margin-bottom: 0;
  106. }
  107. /* Pagination */
  108. .blog-pagination {
  109. margin-bottom: 4rem;
  110. }
  111. .blog-pagination > .btn {
  112. border-radius: 2rem;
  113. }
  114. /*
  115. * Blog posts
  116. */
  117. .blog-post {
  118. margin-bottom: 4rem;
  119. }
  120. .blog-post-title {
  121. margin-bottom: .25rem;
  122. font-size: 2.5rem;
  123. }
  124. .blog-post-meta {
  125. margin-bottom: 1.25rem;
  126. color: #999;
  127. }
  128. /*
  129. * Footer
  130. */
  131. .blog-footer {
  132. padding: 2.5rem 0;
  133. color: #999;
  134. text-align: center;
  135. background-color: #f9f9f9;
  136. border-top: .05rem solid #e5e5e5;
  137. }
  138. .blog-footer p:last-child {
  139. margin-bottom: 0;
  140. }