diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:51:18 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:51:18 +0000 |
commit | 0e41b5d52fdc6af6442816b5f465c9db9f84e126 (patch) | |
tree | e139a90049b158d4eed892d1662ee7f5c358fa31 /wp-includes/blocks/image/style.css | |
parent | Adding upstream version 6.5.5+dfsg1. (diff) | |
download | wordpress-0e41b5d52fdc6af6442816b5f465c9db9f84e126.tar.xz wordpress-0e41b5d52fdc6af6442816b5f465c9db9f84e126.zip |
Adding upstream version 6.6.1+dfsg1.upstream/6.6.1+dfsg1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'wp-includes/blocks/image/style.css')
-rw-r--r-- | wp-includes/blocks/image/style.css | 36 |
1 files changed, 5 insertions, 31 deletions
diff --git a/wp-includes/blocks/image/style.css b/wp-includes/blocks/image/style.css index 526ae27..827347c 100644 --- a/wp-includes/blocks/image/style.css +++ b/wp-includes/blocks/image/style.css @@ -36,11 +36,11 @@ margin-left:auto; margin-right:auto; } -.wp-block-image figcaption{ +.wp-block-image :where(figcaption){ margin-bottom:1em; margin-top:.5em; } -.wp-block-image .is-style-rounded img,.wp-block-image.is-style-circle-mask img,.wp-block-image.is-style-rounded img{ +.wp-block-image.is-style-circle-mask img{ border-radius:9999px; } @supports ((-webkit-mask-image:none) or (mask-image:none)) or (-webkit-mask-image:none){ @@ -57,35 +57,9 @@ mask-size:contain; } } -.wp-block-image :where(.has-border-color){ - border-style:solid; -} -.wp-block-image :where([style*=border-top-color]){ - border-top-style:solid; -} -.wp-block-image :where([style*=border-right-color]){ - border-right-style:solid; -} -.wp-block-image :where([style*=border-bottom-color]){ - border-bottom-style:solid; -} -.wp-block-image :where([style*=border-left-color]){ - border-left-style:solid; -} -.wp-block-image :where([style*=border-width]){ - border-style:solid; -} -.wp-block-image :where([style*=border-top-width]){ - border-top-style:solid; -} -.wp-block-image :where([style*=border-right-width]){ - border-right-style:solid; -} -.wp-block-image :where([style*=border-bottom-width]){ - border-bottom-style:solid; -} -.wp-block-image :where([style*=border-left-width]){ - border-left-style:solid; + +:root :where(.wp-block-image.is-style-rounded img,.wp-block-image .is-style-rounded img){ + border-radius:9999px; } .wp-block-image figure{ |