summaryrefslogtreecommitdiffstats
path: root/wp-includes/blocks/post-featured-image/style.css
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--wp-includes/blocks/post-featured-image/style.css66
1 files changed, 66 insertions, 0 deletions
diff --git a/wp-includes/blocks/post-featured-image/style.css b/wp-includes/blocks/post-featured-image/style.css
new file mode 100644
index 0000000..b802d2a
--- /dev/null
+++ b/wp-includes/blocks/post-featured-image/style.css
@@ -0,0 +1,66 @@
+.wp-block-post-featured-image{
+ margin-left:0;
+ margin-right:0;
+}
+.wp-block-post-featured-image a{
+ display:block;
+ height:100%;
+}
+.wp-block-post-featured-image img{
+ box-sizing:border-box;
+ height:auto;
+ max-width:100%;
+ vertical-align:bottom;
+ width:100%;
+}
+.wp-block-post-featured-image.alignfull img,.wp-block-post-featured-image.alignwide img{
+ width:100%;
+}
+.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim{
+ background-color:#000;
+ inset:0;
+ position:absolute;
+}
+.wp-block-post-featured-image{
+ position:relative;
+}
+
+.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-gradient{
+ background-color:transparent;
+}
+.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-0{
+ opacity:0;
+}
+.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-10{
+ opacity:.1;
+}
+.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-20{
+ opacity:.2;
+}
+.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-30{
+ opacity:.3;
+}
+.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-40{
+ opacity:.4;
+}
+.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-50{
+ opacity:.5;
+}
+.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-60{
+ opacity:.6;
+}
+.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-70{
+ opacity:.7;
+}
+.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-80{
+ opacity:.8;
+}
+.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-90{
+ opacity:.9;
+}
+.wp-block-post-featured-image .wp-block-post-featured-image__overlay.has-background-dim-100{
+ opacity:1;
+}
+.wp-block-post-featured-image:where(.alignleft,.alignright){
+ width:100%;
+} \ No newline at end of file