app.css 2.4 KB

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