mirror of
https://github.com/WordPress/WordPress.git
synced 2024-10-30 23:39:42 +01:00
98595e5229
See https://make.wordpress.org/core/handbook/about/release-cycle/block-editor-release-process-for-major-releases/#package-updates-and-core-patches. See https://github.com/WordPress/wordpress-develop/pull/6902. See https://github.com/WordPress/gutenberg/tree/wp/6.6. Fixes #61497. Props ellatrix, jorbin. Built from https://develop.svn.wordpress.org/trunk@58565 git-svn-id: http://core.svn.wordpress.org/trunk@58013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
64 lines
1.7 KiB
CSS
64 lines
1.7 KiB
CSS
.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"]{
|
|
max-width:360px;
|
|
width:100%;
|
|
}
|
|
.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{
|
|
min-width:280px;
|
|
}
|
|
|
|
.wp-block-cover .wp-block-embed{
|
|
min-height:240px;
|
|
min-width:320px;
|
|
}
|
|
|
|
.wp-block-embed{
|
|
overflow-wrap:break-word;
|
|
}
|
|
.wp-block-embed :where(figcaption){
|
|
margin-bottom:1em;
|
|
margin-top:.5em;
|
|
}
|
|
.wp-block-embed iframe{
|
|
max-width:100%;
|
|
}
|
|
|
|
.wp-block-embed__wrapper{
|
|
position:relative;
|
|
}
|
|
|
|
.wp-embed-responsive .wp-has-aspect-ratio .wp-block-embed__wrapper:before{
|
|
content:"";
|
|
display:block;
|
|
padding-top:50%;
|
|
}
|
|
.wp-embed-responsive .wp-has-aspect-ratio iframe{
|
|
bottom:0;
|
|
height:100%;
|
|
left:0;
|
|
position:absolute;
|
|
right:0;
|
|
top:0;
|
|
width:100%;
|
|
}
|
|
|
|
.wp-embed-responsive .wp-embed-aspect-21-9 .wp-block-embed__wrapper:before{
|
|
padding-top:42.85%;
|
|
}
|
|
.wp-embed-responsive .wp-embed-aspect-18-9 .wp-block-embed__wrapper:before{
|
|
padding-top:50%;
|
|
}
|
|
.wp-embed-responsive .wp-embed-aspect-16-9 .wp-block-embed__wrapper:before{
|
|
padding-top:56.25%;
|
|
}
|
|
.wp-embed-responsive .wp-embed-aspect-4-3 .wp-block-embed__wrapper:before{
|
|
padding-top:75%;
|
|
}
|
|
.wp-embed-responsive .wp-embed-aspect-1-1 .wp-block-embed__wrapper:before{
|
|
padding-top:100%;
|
|
}
|
|
.wp-embed-responsive .wp-embed-aspect-9-16 .wp-block-embed__wrapper:before{
|
|
padding-top:177.77%;
|
|
}
|
|
.wp-embed-responsive .wp-embed-aspect-1-2 .wp-block-embed__wrapper:before{
|
|
padding-top:200%;
|
|
} |