[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/blocks/embed/ -> style.css (source)

   1  .wp-block-embed.alignleft,.wp-block-embed.alignright,.wp-block[data-align=left]>[data-type="core/embed"],.wp-block[data-align=right]>[data-type="core/embed"]{
   2    max-width:360px;
   3    width:100%;
   4  }
   5  .wp-block-embed.alignleft .wp-block-embed__wrapper,.wp-block-embed.alignright .wp-block-embed__wrapper,.wp-block[data-align=left]>[data-type="core/embed"] .wp-block-embed__wrapper,.wp-block[data-align=right]>[data-type="core/embed"] .wp-block-embed__wrapper{
   6    min-width:280px;
   7  }
   8  
   9  .wp-block-cover .wp-block-embed{
  10    min-height:240px;
  11    min-width:320px;
  12  }
  13  
  14  .wp-block-embed{
  15    overflow-wrap:break-word;
  16  }
  17  .wp-block-embed :where(figcaption){
  18    margin-bottom:1em;
  19    margin-top:.5em;
  20  }
  21  .wp-block-embed iframe{
  22    max-width:100%;
  23  }
  24  
  25  .wp-block-embed__wrapper{
  26    position:relative;
  27  }
  28  
  29  .wp-embed-responsive .wp-has-aspect-ratio .wp-block-embed__wrapper:before{
  30    content:"";
  31    display:block;
  32    padding-top:50%;
  33  }
  34  .wp-embed-responsive .wp-has-aspect-ratio iframe{
  35    bottom:0;
  36    height:100%;
  37    left:0;
  38    position:absolute;
  39    right:0;
  40    top:0;
  41    width:100%;
  42  }
  43  
  44  .wp-embed-responsive .wp-embed-aspect-21-9 .wp-block-embed__wrapper:before{
  45    padding-top:42.85%;
  46  }
  47  .wp-embed-responsive .wp-embed-aspect-18-9 .wp-block-embed__wrapper:before{
  48    padding-top:50%;
  49  }
  50  .wp-embed-responsive .wp-embed-aspect-16-9 .wp-block-embed__wrapper:before{
  51    padding-top:56.25%;
  52  }
  53  .wp-embed-responsive .wp-embed-aspect-4-3 .wp-block-embed__wrapper:before{
  54    padding-top:75%;
  55  }
  56  .wp-embed-responsive .wp-embed-aspect-1-1 .wp-block-embed__wrapper:before{
  57    padding-top:100%;
  58  }
  59  .wp-embed-responsive .wp-embed-aspect-9-16 .wp-block-embed__wrapper:before{
  60    padding-top:177.77%;
  61  }
  62  .wp-embed-responsive .wp-embed-aspect-1-2 .wp-block-embed__wrapper:before{
  63    padding-top:200%;
  64  }


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