Browse Source

Alves: Clean up dim support in cover block.

Allan Cole 5 years ago
parent
commit
75ed68327a
1 changed files with 7 additions and 0 deletions
  1. 7 0
      alves/style.css

+ 7 - 0
alves/style.css

@@ -1516,6 +1516,12 @@ button[data-load-more-btn], .button {
 	 */
 }
 
+.wp-block-cover.has-background-dim,
+.wp-block-cover-image.has-background-dim {
+	background-color: black;
+	color: white;
+}
+
 .wp-block-cover .wp-block-cover__inner-container,
 .wp-block-cover .wp-block-cover-image-text,
 .wp-block-cover .wp-block-cover-text,
@@ -2466,6 +2472,7 @@ table.is-style-stripes tbody tr:nth-child(odd),
 	background-color: #9B6A36;
 }
 
+.has-background-dim,
 .has-foreground-background-color,
 .has-foreground-background-color.has-background-dim {
 	background-color: #394d55;