浏览代码

Alves: Improve table-block support

Allan Cole 5 年之前
父节点
当前提交
dc48d6090f
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      alves/style-editor.css

+ 6 - 0
alves/style-editor.css

@@ -1015,6 +1015,12 @@ table th,
 	padding: calc( 0.5 * 16px);
 }
 
+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;
+}
+
 /**
  * Editor Post Title
  * - Needs a special styles