_headings.scss 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  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. .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. .wp-block-a8c-site-title,
  43. .wp-block-a8c-site-title:focus,
  44. h1,
  45. h2,
  46. h3,
  47. h4,
  48. h5,
  49. h6 {
  50. font-weight: 600;
  51. letter-spacing: 0;
  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. .entry-title {
  67. font-size: $font__size-lg;
  68. @include media(tablet) {
  69. font-size: $font__size-xl;
  70. }
  71. }
  72. h1 {
  73. font-size: $font__size-lg;
  74. }
  75. .not-found .page-title,
  76. .error-404 .page-title,
  77. .has-larger-font-size,
  78. h2 {
  79. font-size: $font__size-md;
  80. }
  81. .has-regular-font-size,
  82. .has-large-font-size,
  83. .comments-title,
  84. h3 {
  85. font-size: $font__size_base;
  86. }
  87. .site-title,
  88. .wp-block-a8c-site-title,
  89. .wp-block-a8c-site-title:focus,
  90. .site-description,
  91. .nav-links,
  92. .page-title,
  93. .page-description,
  94. .comment-author .fn,
  95. .no-comments,
  96. p.author-bio,
  97. h4 {
  98. font-size: $font__size-sm;
  99. }
  100. .main-navigation,
  101. .pagination .nav-links,
  102. .comment-content,
  103. h5 {
  104. font-size: $font__size-xs;
  105. }
  106. .entry-meta,
  107. .entry-footer,
  108. .discussion-meta-info,
  109. .site-info,
  110. .has-small-font-size,
  111. .comment-reply-link,
  112. .comment-metadata,
  113. .comment-notes,
  114. .sticky-post,
  115. #cancel-comment-reply-link,
  116. img:after,
  117. h6 {
  118. font-size: $font__size-xxs;
  119. }
  120. .page-title {
  121. font-weight: normal;
  122. }
  123. .page-description,
  124. .page-links a {
  125. font-weight: normal;
  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. }