浏览代码

Elegant Business: Heading size adjustment for editor

Takashi Irie 6 年之前
父节点
当前提交
bd853ee6cb
共有 2 个文件被更改,包括 8 次插入27 次删除
  1. 4 16
      elegant-business/style-editor.css
  2. 4 11
      elegant-business/style-editor.scss

+ 4 - 16
elegant-business/style-editor.css

@@ -131,26 +131,20 @@ h2 {
   font-size: 1.125em;
 }
 
-@media only screen and (min-width: 768px) {
-  h2 {
-    font-size: 1.6875em;
-  }
-}
-
 h3 {
-  font-size: 1.125em;
+  font-size: 22px;
 }
 
 h4 {
-  font-size: 22px;
+  font-size: 0.88889em;
 }
 
 h5 {
-  font-size: 0.88889em;
+  font-size: 0.71111em;
 }
 
 h6 {
-  font-size: 0.71111em;
+  font-size: 0.59259em;
 }
 
 a {
@@ -265,12 +259,6 @@ figcaption,
   text-align: center;
 }
 
-@media only screen and (min-width: 768px) {
-  .editor-post-title__block .editor-post-title__input {
-    font-size: 2.25em;
-  }
-}
-
 /** === Default Appender === */
 .editor-default-block-appender .editor-default-block-appender__content {
   font-family: "Source Serif Pro", "Baskerville Old Face", Garamond, "Times New Roman", serif;

+ 4 - 11
elegant-business/style-editor.scss

@@ -129,26 +129,22 @@ h1 {
 
 h2 {
 	font-size: $font__size-md;
-
-	@include media(tablet) {
-		font-size: $font__size-lg;
-	}
 }
 
 h3 {
-	font-size: $font__size-md;
+	font-size: $font__size_base;
 }
 
 h4 {
-	font-size: $font__size-base;
+	font-size: $font__size-sm;
 }
 
 h5 {
-	font-size: $font__size-sm;
+	font-size: $font__size-xs;
 }
 
 h6 {
-	font-size: $font__size-xs;
+	font-size: $font__size-xxs;
 }
 
 a {
@@ -232,9 +228,6 @@ figcaption,
 	.editor-post-title__input {
 		font-family: $font__heading;
 		font-size: $font__size-lg;
-		@include media(tablet) {
-			font-size: $font__size-xl;
-		}
 		font-weight: 700;
 		text-align: center;
 	}