[ 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  .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  
  66  h1 {
  67      font-size: $font__size-xl;
  68  
  69      @include media(tablet) {
  70          font-size: $font__size-xxl;
  71      }
  72  }
  73  
  74  .entry-title,
  75  .not-found .page-title,
  76  .error-404 .page-title,
  77  .has-larger-font-size,
  78  h2 {
  79      font-size: $font__size-lg;
  80  
  81      @include media(tablet) {
  82          font-size: $font__size-xl;
  83      }
  84  }
  85  
  86  .has-regular-font-size,
  87  .has-large-font-size,
  88  .comments-title,
  89  h3 {
  90      font-size: $font__size-lg;
  91  }
  92  
  93  .site-title,
  94  .site-description,
  95  .main-navigation,
  96  .nav-links,
  97  .page-title,
  98  .page-description,
  99  .comment-author .fn,
 100  .no-comments,
 101  h2.author-title,
 102  p.author-bio,
 103  h4 {
 104      font-size: $font__size-md;
 105  }
 106  
 107  .pagination .nav-links,
 108  .comment-content,
 109  h5 {
 110      font-size: $font__size-sm;
 111  }
 112  
 113  .entry-meta,
 114  .entry-footer,
 115  .discussion-meta-info,
 116  .site-info,
 117  .has-small-font-size,
 118  .comment-reply-link,
 119  .comment-metadata,
 120  .comment-notes,
 121  .sticky-post,
 122  #cancel-comment-reply-link,
 123  img:after,
 124  h6 {
 125      font-size: $font__size-xs;
 126  }
 127  
 128  .site-title,
 129  .page-title {
 130      font-weight: normal;
 131  }
 132  
 133  .page-description,
 134  .page-links a {
 135      font-weight: bold;
 136  }
 137  
 138  .site-description {
 139      letter-spacing: -0.01em;
 140  }
 141  
 142  .post-navigation .post-title,
 143  .entry-title,
 144  .not-found .page-title,
 145  .error-404 .page-title,
 146  .comments-title,
 147  blockquote {
 148      -webkit-hyphens: auto;
 149      -moz-hyphens: auto;
 150      -ms-hyphens: auto;
 151      hyphens: auto;
 152      word-break: break-word;
 153      word-wrap: break-word;
 154  }
 155  
 156  /* Do not hyphenate entry title on tablet view and bigger. */
 157  .entry-title {
 158      @include media(tablet) {
 159          -webkit-hyphens: none;
 160          -moz-hyphens: none;
 161          -ms-hyphens: none;
 162          hyphens: none;
 163      }
 164  }


Generated : Thu Nov 21 08:20:01 2024 Cross-referenced by PHPXref