_headings.scss 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  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: 700;
  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-bio .author-description,
  61. .nav-links {
  62. line-height: 1.25;
  63. }
  64. .has-huge-font-size {
  65. font-size: $font__size-xl;
  66. }
  67. .entry-title,
  68. .has-large-font-size,
  69. h1 {
  70. font-size: $font__size-lg;
  71. }
  72. h2 {
  73. font-size: $font__size-md;
  74. }
  75. .site-title,
  76. .site-title:focus,
  77. .not-found .page-title,
  78. .error-404 .page-title {
  79. font-size: $font__size-base;
  80. @include media(tablet) {
  81. font-size: $font__size-md;
  82. }
  83. }
  84. .has-regular-font-size,
  85. .comments-title,
  86. h2.author-title,
  87. .author-description,
  88. h3 {
  89. font-size: $font__size-base;
  90. }
  91. .site-description,
  92. .site-description:focus,
  93. .main-navigation,
  94. .nav-links,
  95. .page-title,
  96. .page-description,
  97. .has-small-font-size,
  98. .comment-author .fn,
  99. .no-comments,
  100. p.author-bio,
  101. h4 {
  102. font-size: $font__size-sm;
  103. }
  104. .site-info,
  105. .pagination .nav-links,
  106. .comment-content,
  107. h5 {
  108. font-size: $font__size-xs;
  109. }
  110. .entry-meta,
  111. .entry-footer,
  112. .discussion-meta-info,
  113. .comment-reply-link,
  114. .comment-metadata,
  115. .comment-notes,
  116. .sticky-post,
  117. #cancel-comment-reply-link,
  118. img:after,
  119. h6 {
  120. font-size: $font__size-xxs;
  121. }
  122. .page-title {
  123. font-weight: normal;
  124. }
  125. .page-description,
  126. .page-links a {
  127. font-weight: bold;
  128. }
  129. .page-id-3669 .entry .entry-header {
  130. display: none;
  131. }
  132. .post-navigation .post-title,
  133. .entry-title,
  134. .not-found .page-title,
  135. .error-404 .page-title,
  136. .comments-title,
  137. blockquote {
  138. hyphens: auto;
  139. word-break: break-word;
  140. }
  141. /* Do not hyphenate entry title on tablet view and bigger. */
  142. .entry-title {
  143. @include media(tablet) {
  144. hyphens: none;
  145. }
  146. }