[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/css/ -> classic-themes.css (source)

   1  /**
   2   * These rules are needed for backwards compatibility.
   3   * They should match the button element rules in the base theme.json file.
   4   */
   5  .wp-block-button__link {
   6      color: #ffffff;
   7      background-color: #32373c;
   8      border-radius: 9999px; /* 100% causes an oval, but any explicit but really high value retains the pill shape. */
   9  
  10      /* This needs a low specificity so it won't override the rules from the button element if defined in theme.json. */
  11      box-shadow: none;
  12      text-decoration: none;
  13  
  14      /* The extra 2px are added to size solids the same as the outline versions.*/
  15      padding: calc(0.667em + 2px) calc(1.333em + 2px);
  16  
  17      font-size: 1.125em;
  18  }
  19  
  20  .wp-block-file__button {
  21      background: #32373c;
  22      color: #ffffff;
  23      text-decoration: none;
  24  }


Generated : Fri Nov 15 08:20:01 2024 Cross-referenced by PHPXref