_headings.scss 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  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. letter-spacing: normal;
  51. line-height: $font__line-height-heading;
  52. -webkit-font-smoothing: antialiased;
  53. -moz-osx-font-smoothing: grayscale;
  54. }
  55. .page-title {
  56. font-family: $font__body;
  57. }
  58. .site-branding,
  59. .main-navigation ul.main-menu > li,
  60. .social-navigation,
  61. .author-description .author-bio,
  62. .nav-links {
  63. line-height: 1.25;
  64. }
  65. h1 {
  66. font-size: $font__size-lg;
  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-md;
  74. }
  75. .has-regular-font-size,
  76. .has-large-font-size,
  77. .comments-title,
  78. h3 {
  79. font-size: $font__size_base;
  80. }
  81. .site-title,
  82. .site-title:focus,
  83. .site-description,
  84. .site-description:focus,
  85. .main-navigation,
  86. .nav-links,
  87. .page-title,
  88. .page-description,
  89. .comment-author .fn,
  90. .no-comments,
  91. h2.author-title,
  92. p.author-bio,
  93. h4 {
  94. font-size: $font__size-sm;
  95. }
  96. .pagination .nav-links,
  97. .comment-content,
  98. h5 {
  99. font-size: $font__size-xs;
  100. }
  101. .entry-meta,
  102. .entry-footer,
  103. .discussion-meta-info,
  104. .site-info,
  105. .has-small-font-size,
  106. .comment-reply-link,
  107. .comment-metadata,
  108. .comment-notes,
  109. .sticky-post,
  110. #cancel-comment-reply-link,
  111. img:after,
  112. h6 {
  113. font-size: $font__size-xxs;
  114. }
  115. .site-title,
  116. .site-title:focus,
  117. .page-title {
  118. font-weight: 700;
  119. font-size: $font__size-md;
  120. }
  121. .page-description,
  122. .page-links a {
  123. font-weight: bold;
  124. }
  125. .site-description,
  126. .wp-block-a8c-site-description,
  127. .wp-block-a8c-site-description:focus {
  128. letter-spacing: normal;
  129. font-size: $font__size-xs;
  130. }
  131. .post-navigation .post-title,
  132. .entry-title,
  133. .not-found .page-title,
  134. .error-404 .page-title,
  135. .comments-title,
  136. blockquote {
  137. hyphens: auto;
  138. word-break: break-word;
  139. }
  140. /* Do not hyphenate entry title on tablet view and bigger. */
  141. .entry-title {
  142. @include media(tablet) {
  143. hyphens: none;
  144. }
  145. }