2020-11-12 19:36:15 +01:00
|
|
|
img {
|
|
|
|
height: auto;
|
|
|
|
max-width: 100%;
|
2021-02-16 03:26:08 +01:00
|
|
|
vertical-align: middle;
|
2020-11-12 19:36:15 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Classic editor images */
|
|
|
|
.entry-content img {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Make sure embeds and iframes fit their containers. */
|
|
|
|
embed,
|
|
|
|
iframe,
|
|
|
|
object,
|
|
|
|
video {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Media captions */
|
|
|
|
figcaption,
|
|
|
|
.wp-caption,
|
Twenty Twenty-One: Sync the latest changes for 5.6 RC2.
This will be the final sync from GitHub before placing that repository into read-only mode. All further changes should now flow entirely through Trac.
For a full list of changes since [49633], see https://github.com/WordPress/twentytwentyone/compare/1d5a895...53acd9b.
Props poena, luminuu, kjellr, ryelle, allancole, melchoyce, felipeelia, aljullu, kebbet, chaton666, Clorith, mkaz, ingereck, paaljoachim.
See #51526.
Built from https://develop.svn.wordpress.org/trunk@49726
git-svn-id: http://core.svn.wordpress.org/trunk@49449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-12-01 20:09:05 +01:00
|
|
|
.wp-caption-text,
|
|
|
|
.wp-block-embed figcaption {
|
2020-11-12 19:36:15 +01:00
|
|
|
color: currentColor;
|
|
|
|
font-size: var(--global--font-size-xs);
|
|
|
|
line-height: var(--global--line-height-body);
|
|
|
|
margin-top: calc(0.5 * var(--global--spacing-unit));
|
|
|
|
margin-bottom: var(--global--spacing-unit);
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
.alignleft &,
|
|
|
|
.alignright & {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* WP Smiley */
|
|
|
|
.page-content .wp-smiley,
|
|
|
|
.entry-content .wp-smiley,
|
|
|
|
.comment-content .wp-smiley {
|
|
|
|
border: none;
|
|
|
|
margin-bottom: 0;
|
|
|
|
margin-top: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|