Browse Source

Merge pull request #1357 from Automattic/update/balasana-entry-title

Balasana: Increase font size for Entry and Page title
Thomas Guillot 5 years ago
parent
commit
d35a6db224

+ 6 - 0
balasana/sass/_extra-child-theme.scss

@@ -18,6 +18,7 @@ $border_radius_sm: map-deep-get($config-global, "border-radius", "sm");
 $font_size_sm: map-deep-get($config-global, "font", "size", "sm");
 $font_size_lg: map-deep-get($config-global, "font", "size", "lg");
 $font_size_xl: map-deep-get($config-global, "font", "size", "xl");
+$font_size_h1: map-deep-get($config-heading, "font", "size", "h1");
 
 /**
  * Reset
@@ -311,6 +312,11 @@ dt {
 	}
 }
 
+.entry-title,
+.page-title {
+	font-size: $font_size_h1;
+}
+
 // Sticky tag
 .sticky-post,
 .a8c-posts-list .a8c-posts-list-item__featured span {

+ 2 - 1
balasana/sass/style-child-theme-editor.scss

@@ -35,6 +35,7 @@
 /**
  * Extras
  */
-.editor-post-title__input {
+.editor-post-title__block .editor-post-title__input {
 	text-align: center;
+	font-size: (strip-unit( map-deep-get($config-heading, "font", "size", "h1") ) + 0em);
 }

+ 2 - 1
balasana/style-editor.css

@@ -884,6 +884,7 @@ table th,
 /**
  * Extras
  */
-.editor-post-title__input {
+.editor-post-title__block .editor-post-title__input {
 	text-align: center;
+	font-size: 2.98598em;
 }

+ 5 - 0
balasana/style-rtl.css

@@ -3700,6 +3700,11 @@ dt {
 	color: #19744C;
 }
 
+.entry-title,
+.page-title {
+	font-size: 2.98598rem;
+}
+
 .sticky-post,
 .a8c-posts-list .a8c-posts-list-item__featured span {
 	background: #F0F0F0;

+ 5 - 0
balasana/style.css

@@ -3729,6 +3729,11 @@ dt {
 	color: #19744C;
 }
 
+.entry-title,
+.page-title {
+	font-size: 2.98598rem;
+}
+
 .sticky-post,
 .a8c-posts-list .a8c-posts-list-item__featured span {
 	background: #F0F0F0;