_headings.scss 2.7 KB

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