浏览代码

Tidy up styles.

Kjell Reigstad 5 年之前
父节点
当前提交
9fb6bb1ff2
共有 3 个文件被更改,包括 21 次插入7 次删除
  1. 15 0
      illustratr/blocks.css
  2. 6 0
      illustratr/editor-blocks.css
  3. 0 7
      illustratr/style.css

+ 15 - 0
illustratr/blocks.css

@@ -226,6 +226,21 @@ p.has-drop-cap:not(:focus)::first-letter {
 	display: flex;
 }
 
+/* Blog Posts */
+
+.wp-block-newspack-blocks-homepage-articles.is-grid .entry-meta {
+	width: initial;
+}
+
+.wp-block-newspack-blocks-homepage-articles.is-grid .entry-title,
+.wp-block-newspack-blocks-homepage-articles.is-grid .cat-links {
+	text-align: left;
+}
+
+.wp-block-newspack-blocks-homepage-articles.is-grid .entry-meta:before {
+	display: none;
+}
+
 /*--------------------------------------------------------------
 3.0 Blocks - Formatting Blocks
 --------------------------------------------------------------*/

+ 6 - 0
illustratr/editor-blocks.css

@@ -558,6 +558,12 @@
 	text-transform: uppercase;
 }
 
+/* Blog Posts */
+
+.wp-block-a8c-blog-posts .entry-title {
+	text-trasform: uppercase;
+}
+
 /*--------------------------------------------------------------
 4.0 Blocks - Formatting
 --------------------------------------------------------------*/

+ 0 - 7
illustratr/style.css

@@ -2549,13 +2549,6 @@ Content
 	display: none;
 }
 
-.is-grid .entry-meta {
-	width: initial;
-}
-.is-grid .entry-meta:before {
-	display: none;
-}
-
 /* More link */
 .more-link-wrapper {
 	margin-bottom: 20px;