_headings.scss 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  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. letter-spacing: 0;
  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. .has-huge-font-size {
  66. font-size: $font__size-xl;
  67. }
  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. .site-description,
  78. .nav-links,
  79. .page-title,
  80. .page-description,
  81. .comment-author .fn,
  82. .no-comments,
  83. .has-regular-font-size,
  84. h2.author-title,
  85. p.author-bio,
  86. h3 {
  87. font-size: $font__size_base;
  88. }
  89. .has-small-font-size,
  90. .comments-title,
  91. h4 {
  92. font-size: $font__size-sm;
  93. }
  94. .pagination .nav-links,
  95. .comment-content,
  96. h5 {
  97. font-size: $font__size-xs;
  98. }
  99. .entry-meta,
  100. .entry-footer,
  101. .discussion-meta-info,
  102. .site-info,
  103. .comment-reply-link,
  104. .comment-metadata,
  105. .comment-notes,
  106. .sticky-post,
  107. #cancel-comment-reply-link,
  108. img:after,
  109. h6 {
  110. font-size: $font__size-xxs;
  111. }
  112. .page-description,
  113. .page-links a {
  114. font-weight: bold;
  115. }
  116. .post-navigation .post-title,
  117. .entry-title,
  118. .not-found .page-title,
  119. .error-404 .page-title,
  120. .comments-title,
  121. blockquote {
  122. hyphens: auto;
  123. word-break: break-word;
  124. }
  125. /* Do not hyphenate entry title on tablet view and bigger. */
  126. .entry-title {
  127. @include media(tablet) {
  128. hyphens: none;
  129. }
  130. }