[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentytwentyone/assets/sass/05-blocks/heading/ -> _editor.scss (source)

   1  .wp-block-heading h1,
   2  h1,
   3  .h1,
   4  .wp-block-heading h2,
   5  h2,
   6  .h2,
   7  .wp-block-heading h3,
   8  h3,
   9  .h3,
  10  .wp-block-heading h4,
  11  h4,
  12  .h4,
  13  .wp-block-heading h5,
  14  h5,
  15  .h5,
  16  .wp-block-heading h6,
  17  h6,
  18  .h6 {
  19      clear: both;
  20      font-family: var(--heading--font-family);
  21      font-weight: var(--heading--font-weight);
  22  
  23      strong {
  24          font-weight: var(--heading--font-weight-strong);
  25      }
  26  
  27      &[style*="--wp--typography--line-height"] {
  28          line-height: var(--wp--typography--line-height, var(--global--line-height-body));
  29      }
  30  }
  31  
  32  .wp-block-heading h1,
  33  h1,
  34  .h1 {
  35      font-size: var(--heading--font-size-h1);
  36      letter-spacing: var(--heading--letter-spacing-h1);
  37      line-height: var(--heading--line-height-h1);
  38  }
  39  
  40  .wp-block-heading h2,
  41  h2,
  42  .h2 {
  43      font-size: var(--heading--font-size-h2);
  44      letter-spacing: var(--heading--letter-spacing-h2);
  45      line-height: var(--heading--line-height-h2);
  46  }
  47  
  48  .wp-block-heading h3,
  49  h3,
  50  .h3 {
  51      font-size: var(--heading--font-size-h3);
  52      letter-spacing: var(--heading--letter-spacing-h3);
  53      line-height: var(--heading--line-height-h3);
  54  }
  55  
  56  .wp-block-heading h4,
  57  h4,
  58  .h4 {
  59      font-size: var(--heading--font-size-h4);
  60      font-weight: var(--heading--font-weight-strong);
  61      letter-spacing: var(--heading--letter-spacing-h4);
  62      line-height: var(--heading--line-height-h4);
  63  }
  64  
  65  .wp-block-heading h5,
  66  h5,
  67  .h5 {
  68      font-size: var(--heading--font-size-h5);
  69      font-weight: var(--heading--font-weight-strong);
  70      letter-spacing: var(--heading--letter-spacing-h5);
  71      line-height: var(--heading--line-height-h5);
  72  }
  73  
  74  .wp-block-heading h6,
  75  h6,
  76  .h6 {
  77      font-size: var(--heading--font-size-h6);
  78      font-weight: var(--heading--font-weight-strong);
  79      letter-spacing: var(--heading--letter-spacing-h6);
  80      line-height: var(--heading--line-height-h6);
  81  }


Generated : Sun Dec 22 08:20:01 2024 Cross-referenced by PHPXref