Server : nginx/1.24.0 System : Linux ip-172-31-33-48 6.14.0-1011-aws #11~24.04.1-Ubuntu SMP Fri Aug 1 02:07:25 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE Directory : /var/www/html/wp-content/themes/twentytwentyone/assets/sass/05-blocks/image/ |
Upload File : |
.wp-block-image { text-align: center; figcaption { color: var(--global--color-primary); 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; } .alignright { margin-left: var(--global--spacing-horizontal); } .alignleft { margin-right: var(--global--spacing-horizontal); } a:focus img { outline-offset: 2px; } } // Remove vertical margins from image block wrappers when floated .entry-content > *[class="wp-block-image"], .entry-content [class*="inner-container"] > *[class="wp-block-image"] { margin-top: 0; margin-bottom: 0; // Remove top margins from the following element when previous image block is floated + * { margin-top: 0; } } img { height: auto; max-width: 100%; vertical-align: middle; } // Block Styles .wp-block-image.is-style-twentytwentyone-border img, .wp-block-image.is-style-twentytwentyone-image-frame img { border: calc(3 * var(--separator--height)) solid var(--global--color-border); } .wp-block-image.is-style-twentytwentyone-image-frame img { padding: var(--global--spacing-unit); } .entry-content { > .wp-block-image { > .alignleft, > .alignright { @include media(mobile) { max-width: 50%; } @include media(mobile-only) { margin-left: 0; margin-right: 0; } } } }