[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentytwentyone/assets/sass/04-elements/ -> media.scss (source)

   1  img {
   2      height: auto;
   3      max-width: 100%;
   4      vertical-align: middle;
   5  }
   6  
   7  /* Classic editor images */
   8  .entry-content img {
   9      max-width: 100%;
  10  }
  11  
  12  /* Make sure embeds and iframes fit their containers. */
  13  embed,
  14  iframe,
  15  object,
  16  video {
  17      max-width: 100%;
  18  }
  19  
  20  /* Media captions */
  21  figcaption,
  22  .wp-caption,
  23  .wp-caption-text,
  24  .wp-block-embed figcaption {
  25      color: currentColor;
  26      font-size: var(--global--font-size-xs);
  27      line-height: var(--global--line-height-body);
  28      margin-top: calc(0.5 * var(--global--spacing-unit));
  29      margin-bottom: var(--global--spacing-unit);
  30      text-align: center;
  31  
  32      .alignleft &,
  33      .alignright & {
  34          margin-bottom: 0;
  35      }
  36  }
  37  
  38  /* WP Smiley */
  39  .page-content .wp-smiley,
  40  .entry-content .wp-smiley,
  41  .comment-content .wp-smiley {
  42      border: none;
  43      margin-bottom: 0;
  44      margin-top: 0;
  45      padding: 0;
  46  }


Generated : Tue Apr 23 08:20:01 2024 Cross-referenced by PHPXref