app.css 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  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. #flash-message {
  45. position: absolute;
  46. bottom: 1ex;
  47. right: 1em;
  48. z-index: 10;
  49. }
  50. @-webkit-keyframes flash-message {
  51. 0% {
  52. opacity: 1;
  53. }
  54. 100% {
  55. opacity: 0;
  56. display: none;
  57. }
  58. }
  59. @keyframes flash-message {
  60. 0% {
  61. opacity: 1;
  62. }
  63. 100% {
  64. opacity: 0;
  65. display: none;
  66. }
  67. }
  68. /* Nav links */
  69. .nav-link {
  70. position: relative;
  71. padding: 1rem;
  72. font-weight: 500;
  73. color: #cdddeb;
  74. }
  75. .nav-link:hover,
  76. .nav-link:focus {
  77. color: #fff;
  78. background-color: transparent;
  79. }
  80. /* Active state gets a caret at the bottom */
  81. .nav-link.active {
  82. color: #fff;
  83. }
  84. .nav-link.active:after {
  85. position: absolute;
  86. bottom: 0;
  87. left: 50%;
  88. width: 0;
  89. height: 0;
  90. margin-left: -.3rem;
  91. vertical-align: middle;
  92. content: "";
  93. border-right: .3rem solid transparent;
  94. border-bottom: .3rem solid;
  95. border-left: .3rem solid transparent;
  96. }
  97. /*
  98. * Blog name and description
  99. */
  100. .blog-header {
  101. padding-bottom: 1.25rem;
  102. margin-bottom: 2rem;
  103. border-bottom: .05rem solid #eee;
  104. }
  105. .blog-title {
  106. margin-bottom: 0;
  107. font-size: 2rem;
  108. font-weight: normal;
  109. }
  110. .blog-description {
  111. font-size: 1.1rem;
  112. color: #999;
  113. }
  114. @media (min-width: 40em) {
  115. .blog-title {
  116. font-size: 3.5rem;
  117. }
  118. }
  119. /*
  120. * Main column and sidebar layout
  121. */
  122. /* Sidebar modules for boxing content */
  123. .sidebar-module {
  124. padding: 1rem;
  125. /*margin: 0 -1rem 1rem;*/
  126. }
  127. .sidebar-module-inset {
  128. padding: 1rem;
  129. background-color: #f5f5f5;
  130. border-radius: .25rem;
  131. }
  132. .sidebar-module-inset p:last-child,
  133. .sidebar-module-inset ul:last-child,
  134. .sidebar-module-inset ol:last-child {
  135. margin-bottom: 0;
  136. }
  137. /* Pagination */
  138. .blog-pagination {
  139. margin-bottom: 4rem;
  140. }
  141. .blog-pagination > .btn {
  142. border-radius: 2rem;
  143. }
  144. /*
  145. * Blog posts
  146. */
  147. .blog-post {
  148. margin-bottom: 4rem;
  149. }
  150. .blog-post-title {
  151. margin-bottom: .25rem;
  152. font-size: 2.5rem;
  153. }
  154. .blog-post-meta {
  155. margin-bottom: 1.25rem;
  156. color: #999;
  157. }
  158. /*
  159. * Footer
  160. */
  161. .blog-footer {
  162. padding: 2.5rem 0;
  163. color: #999;
  164. text-align: center;
  165. background-color: #f9f9f9;
  166. border-top: .05rem solid #e5e5e5;
  167. }
  168. .blog-footer p:last-child {
  169. margin-bottom: 0;
  170. }