Sfoglia il codice sorgente

Varia: Sets font size for title block sama as body

Takashi Irie 6 anni fa
parent
commit
f00b779ede
2 ha cambiato i file con 10 aggiunte e 1 eliminazioni
  1. 6 1
      varia/sass/base/_editor.scss
  2. 4 0
      varia/style-editor.css

+ 6 - 1
varia/sass/base/_editor.scss

@@ -9,6 +9,11 @@ body {
 	-webkit-font-smoothing: antialiased;
 	-webkit-font-smoothing: antialiased;
 }
 }
 
 
+// Set font size of title block the same as body.
+.editor-post-title__block {
+	font-size: #{map-deep-get($config-global, "font", "size", "root")};
+}
+
 p {
 p {
 	font-size: (strip-unit(map-deep-get($config-global, "font", "size", "base")) + 0em);
 	font-size: (strip-unit(map-deep-get($config-global, "font", "size", "base")) + 0em);
 	line-height: #{map-deep-get($config-global, "font", "line-height", "body")};
 	line-height: #{map-deep-get($config-global, "font", "line-height", "body")};
@@ -25,5 +30,5 @@ a {
 
 
 button,
 button,
 a {
 a {
-  cursor: pointer;
+	cursor: pointer;
 }
 }

+ 4 - 0
varia/style-editor.css

@@ -134,6 +134,10 @@ body {
 	-webkit-font-smoothing: antialiased;
 	-webkit-font-smoothing: antialiased;
 }
 }
 
 
+.editor-post-title__block {
+	font-size: 18px;
+}
+
 p {
 p {
 	font-size: 1em;
 	font-size: 1em;
 	line-height: 1.78;
 	line-height: 1.78;