typography.css 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. /* Headings */
  2. h1,
  3. h2,
  4. h3,
  5. h4,
  6. h5,
  7. h6,
  8. .h1,
  9. .h2,
  10. .h3,
  11. .h4,
  12. .h5,
  13. .h6 {
  14. font-weight: 500;
  15. margin: 0;
  16. }
  17. h1 small,
  18. h2 small,
  19. h3 small,
  20. h4 small,
  21. h5 small,
  22. h6 small,
  23. .h1 small,
  24. .h2 small,
  25. .h3 small,
  26. .h4 small,
  27. .h5 small,
  28. .h6 small {
  29. font-weight: normal;
  30. }
  31. h1,
  32. .h1 {
  33. font-size: 38px;
  34. }
  35. h2,
  36. .h2 {
  37. font-size: 26px;
  38. }
  39. h3,
  40. .h3 {
  41. font-size: 20px;
  42. }
  43. h4,
  44. .h4 {
  45. font-size: 16px;
  46. }
  47. h5,
  48. .h5 {
  49. font-size: 14px;
  50. }
  51. h6,
  52. .h6 {
  53. font-size: 12px;
  54. }
  55. h1 small,
  56. .h1 small {
  57. font-size: 24px;
  58. }
  59. h2 small,
  60. .h2 small {
  61. font-size: 18px;
  62. }
  63. h3 small,
  64. .h3 small,
  65. h4 small,
  66. .h4 small {
  67. font-size: 14px;
  68. }
  69. h1 small,
  70. h2 small,
  71. h3 small,
  72. h1 .small,
  73. h2 .small,
  74. h3 .small {
  75. font-size: 75%;
  76. }
  77. blockquote {
  78. margin: 0 0 20px;
  79. padding: 10px 20px;
  80. border-left: 5px solid #eee;
  81. }
  82. blockquote p {
  83. font-size: 17.5px;
  84. font-weight: 50;
  85. line-height: 1.25;
  86. }
  87. blockquote p:last-child {
  88. margin-bottom: 0;
  89. }
  90. blockquote small {
  91. line-height: 1.428571429;
  92. display: block;
  93. color: #999;
  94. }
  95. blockquote small:before {
  96. content: '\2014 \00A0';
  97. }
  98. blockquote.pull-right {
  99. padding-right: 15px;
  100. padding-left: 0;
  101. border-right: 5px solid #eee;
  102. border-left: 0;
  103. }
  104. blockquote.pull-right p,
  105. blockquote.pull-right small,
  106. blockquote.pull-right .small {
  107. text-align: right;
  108. }
  109. blockquote.pull-right small:before,
  110. blockquote.pull-right .small:before {
  111. content: '';
  112. }
  113. blockquote.pull-right small:after,
  114. blockquote.pull-right .small:after {
  115. content: '\00A0 \2014';
  116. }
  117. blockquote:before,
  118. blockquote:after {
  119. content: '';
  120. }
  121. address {
  122. font-style: normal;
  123. line-height: 1.428571429;
  124. margin-bottom: 20px;
  125. }
  126. code,
  127. kbd,
  128. pre,
  129. samp {
  130. font-family: Menlo, Monaco, Consolas, 'Courier New', monospace;
  131. }
  132. code {
  133. font-size: 90%;
  134. padding: 0 4px;
  135. white-space: nowrap;
  136. color: #d05;
  137. border: 1px solid #dfe8f1;
  138. border-radius: 3px;
  139. background: #fafafa;
  140. }
  141. pre {
  142. font-size: 13px;
  143. line-height: 1.428571429;
  144. display: block;
  145. margin: 0 0 10px;
  146. padding: 9.5px;
  147. word-wrap: break-word;
  148. word-break: break-all;
  149. color: #333;
  150. border: 1px solid #ccc;
  151. border-radius: 4px;
  152. background-color: #f5f5f5;
  153. }
  154. pre code {
  155. font-size: inherit;
  156. padding: 0;
  157. white-space: pre-wrap;
  158. color: inherit;
  159. border-radius: 0;
  160. background-color: transparent;
  161. }
  162. p {
  163. line-height: 1.6em;
  164. margin: 0;
  165. }
  166. /* Titles */
  167. .title-hero {
  168. margin: 0 0 15px;
  169. padding: 0;
  170. text-transform: uppercase;
  171. font-size: 14px;
  172. opacity: 0.7;
  173. }
  174. h4.title-hero {
  175. font-size: 15px;
  176. }
  177. .title-lead {
  178. color: #3F3F3F;
  179. }
  180. .title-hero .title-lead {
  181. font-size: 65%;
  182. margin: 5px 0 0;
  183. }
  184. .title-hero + .title-lead {
  185. margin-top: -10px;
  186. }
  187. /* Jumbotron */
  188. .jumbotron {
  189. font-size: 21px;
  190. font-weight: 200;
  191. line-height: 2.1428571435;
  192. margin-bottom: 30px;
  193. padding: 30px;
  194. color: inherit;
  195. background-color: #eee;
  196. }
  197. .jumbotron h1 {
  198. line-height: 1;
  199. color: inherit;
  200. }
  201. .jumbotron p {
  202. line-height: 1.4;
  203. }
  204. .container .jumbotron {
  205. border-radius: 6px;
  206. }
  207. @media screen and (min-width: 768px) {
  208. .jumbotron {
  209. padding-top: 48px;
  210. padding-bottom: 48px;
  211. }
  212. .container .jumbotron {
  213. padding-right: 60px;
  214. padding-left: 60px;
  215. }
  216. .jumbotron h1 {
  217. font-size: 63px;
  218. }
  219. }