[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentynineteen/sass/typography/ -> _headings.scss (source)

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


Generated : Sun Oct 18 08:20:35 2026 Cross-referenced by PHPXref