Browse Source

realigned author items to fit design

Maggie 3 years ago
parent
commit
55710cf762
3 changed files with 18 additions and 3 deletions
  1. 9 1
      skatepark/assets/theme.css
  2. 9 1
      skatepark/sass/blocks/_author.scss
  3. 0 1
      skatepark/theme.json

+ 9 - 1
skatepark/assets/theme.css

@@ -42,12 +42,20 @@
 	color: var(--wp--preset--color--background);
 }
 
+.wp-block-post-author__content {
+	display: flex;
+	flex-direction: column;
+	justify-content: center;
+}
+
 .wp-block-post-author__name {
 	font-weight: 700;
+	line-height: 1;
+	margin-bottom: 0.5em;
 }
 
 .wp-block-post-author__bio {
-	margin-top: 0;
+	margin: 0;
 	font-size: var(--wp--preset--font-size--small);
 }
 

+ 9 - 1
skatepark/sass/blocks/_author.scss

@@ -1,9 +1,17 @@
+.wp-block-post-author__content {
+	display: flex;
+	flex-direction: column;
+	justify-content: center;
+}
+
 .wp-block-post-author__name {
 	font-weight: 700;
+	line-height: 1;
+	margin-bottom: 0.5em;
 }
 
 .wp-block-post-author__bio {
-	margin-top: 0;
+	margin: 0;
 	font-size: var(--wp--preset--font-size--small);
 }
 

+ 0 - 1
skatepark/theme.json

@@ -544,7 +544,6 @@
 			},
 			"core/post-navigation-link": {
 				"typography": {
-					"fontSize": "var(--wp--preset--font-size--tiny)",
 					"fontWeight": "500"
 				}
 			}