Forráskód Böngészése

Alves: Improve RTL cover and table block styles

Allan Cole 5 éve
szülő
commit
d8754dbb34
1 módosított fájl, 8 hozzáadás és 10 törlés
  1. 8 10
      alves/style-rtl.css

+ 8 - 10
alves/style-rtl.css

@@ -1510,7 +1510,6 @@ button[data-load-more-btn], .button {
 	min-height: calc( 17 * 32px);
 	margin-top: inherit;
 	margin-bottom: inherit;
-	/* default & custom background-color */
 	/* Treating H2 separately to account for legacy /core styles */
 	/**
 	 * Block Options
@@ -1523,6 +1522,7 @@ button[data-load-more-btn], .button {
 .wp-block-cover-image .wp-block-cover__inner-container,
 .wp-block-cover-image .wp-block-cover-image-text,
 .wp-block-cover-image .wp-block-cover-text {
+	color: currentColor;
 	margin-top: 32px;
 	margin-bottom: 32px;
 }
@@ -1542,15 +1542,6 @@ button[data-load-more-btn], .button {
 	color: currentColor;
 }
 
-.wp-block-cover:not([class*='background-color']) .wp-block-cover__inner-container,
-.wp-block-cover:not([class*='background-color']) .wp-block-cover-image-text,
-.wp-block-cover:not([class*='background-color']) .wp-block-cover-text,
-.wp-block-cover-image:not([class*='background-color']) .wp-block-cover__inner-container,
-.wp-block-cover-image:not([class*='background-color']) .wp-block-cover-image-text,
-.wp-block-cover-image:not([class*='background-color']) .wp-block-cover-text {
-	color: white;
-}
-
 .wp-block-cover h2,
 .wp-block-cover-image h2 {
 	font-size: 2.592rem;
@@ -2333,6 +2324,12 @@ table th,
 	word-break: break-all;
 }
 
+table.is-style-stripes tbody tr:nth-child(odd),
+.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
+	background-color: #fcfbf9;
+	color: #394d55;
+}
+
 .wp-block-video figcaption {
 	color: #4d6974;
 	font-size: 0.86806rem;
@@ -2443,6 +2440,7 @@ table th,
 	color: #d9d9d9;
 }
 
+.has-background-dim,
 .has-background-color {
 	color: #ffffff;
 }