_headings.scss 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. .author-description .author-link,
  2. .comment-metadata,
  3. .comment-reply-link,
  4. .comments-title,
  5. .comment-author .fn,
  6. .discussion-meta-info,
  7. .entry-meta,
  8. .entry-footer,
  9. .main-navigation,
  10. .no-comments,
  11. .not-found .page-title,
  12. .error-404 .page-title,
  13. .post-navigation .post-title,
  14. .page-links,
  15. .page-description,
  16. .pagination .nav-links,
  17. .sticky-post,
  18. .site-title,
  19. .site-info,
  20. #cancel-comment-reply-link,
  21. h1,
  22. h2,
  23. h3,
  24. h4,
  25. h5,
  26. h6 {
  27. @include font-family( $font__heading );
  28. }
  29. .main-navigation,
  30. .page-description,
  31. .author-description .author-link,
  32. .not-found .page-title,
  33. .error-404 .page-title,
  34. .post-navigation .post-title,
  35. .pagination .nav-links,
  36. .comments-title,
  37. .comment-author .fn,
  38. .no-comments,
  39. .site-title,
  40. h1,
  41. h2,
  42. h3,
  43. h4,
  44. h5,
  45. h6 {
  46. font-weight: 700;
  47. letter-spacing: -0.02em;
  48. line-height: $font__line-height-heading;
  49. -webkit-font-smoothing: antialiased;
  50. -moz-osx-font-smoothing: grayscale;
  51. }
  52. .page-title {
  53. @include font-family( $font__body );
  54. }
  55. .site-branding,
  56. .main-navigation ul.main-menu > li,
  57. .social-navigation,
  58. .author-description .author-bio,
  59. .nav-links {
  60. line-height: 1.25;
  61. }
  62. h1 {
  63. font-size: $font__size-xl;
  64. @include media(tablet) {
  65. font-size: $font__size-xxl;
  66. }
  67. }
  68. .entry-title,
  69. .not-found .page-title,
  70. .error-404 .page-title,
  71. .has-larger-font-size,
  72. h2 {
  73. font-size: $font__size-lg;
  74. @include media(tablet) {
  75. font-size: $font__size-xl;
  76. }
  77. }
  78. .has-regular-font-size,
  79. .has-large-font-size,
  80. .comments-title,
  81. h3 {
  82. font-size: $font__size-lg;
  83. }
  84. .site-title,
  85. .site-description,
  86. .main-navigation,
  87. .nav-links,
  88. .page-title,
  89. .page-description,
  90. .comment-author .fn,
  91. .no-comments,
  92. h2.author-title,
  93. p.author-bio,
  94. h4 {
  95. font-size: $font__size-md;
  96. }
  97. .pagination .nav-links,
  98. .comment-content,
  99. h5 {
  100. font-size: $font__size-sm;
  101. }
  102. .entry-meta,
  103. .entry-footer,
  104. .discussion-meta-info,
  105. .site-info,
  106. .has-small-font-size,
  107. .comment-reply-link,
  108. .comment-metadata,
  109. .comment-notes,
  110. .sticky-post,
  111. #cancel-comment-reply-link,
  112. img:after,
  113. h6 {
  114. font-size: $font__size-xs;
  115. }
  116. .site-title,
  117. .page-title {
  118. font-weight: normal;
  119. }
  120. .page-description,
  121. .page-links a {
  122. font-weight: bold;
  123. }
  124. .site-description {
  125. letter-spacing: -0.01em;
  126. }
  127. .post-navigation .post-title,
  128. .entry-title,
  129. .not-found .page-title,
  130. .error-404 .page-title,
  131. .comments-title,
  132. blockquote {
  133. hyphens: auto;
  134. word-break: break-word;
  135. }
  136. /* Do not hyphenate entry title on tablet view and bigger. */
  137. .entry-title {
  138. @include media(tablet) {
  139. hyphens: none;
  140. }
  141. }