_headings.scss 2.7 KB

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