Browse Source

Morden: Update child-theme separator config variables.

Allan Cole 6 năm trước cách đây
mục cha
commit
4eec996b1c

+ 2 - 1
morden/sass/_config-child-theme-deep.scss

@@ -275,7 +275,8 @@ $config-quote: (
  */
  */
 
 
 $config-separator: (
 $config-separator: (
-	"height": #{0.25 * $baseline-unit},
+	"height": #{0.125 * map-deep-get($config-global, "spacing", "unit")},
+	"width": #{6 * map-deep-get($config-global, "spacing", "horizontal")},
 );
 );
 
 
 /**
 /**

+ 4 - 0
morden/style-rtl.css

@@ -1889,6 +1889,10 @@ hr.wp-block-separator {
 		 */
 		 */
 }
 }
 
 
+hr.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
+	max-width: 96px;
+}
+
 hr.wp-block-separator.is-style-wide {
 hr.wp-block-separator.is-style-wide {
 	border-bottom-color: #C5C5C5;
 	border-bottom-color: #C5C5C5;
 	border-bottom-width: 2px;
 	border-bottom-width: 2px;

+ 4 - 0
morden/style.css

@@ -1889,6 +1889,10 @@ hr.wp-block-separator {
 		 */
 		 */
 }
 }
 
 
+hr.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
+	max-width: 96px;
+}
+
 hr.wp-block-separator.is-style-wide {
 hr.wp-block-separator.is-style-wide {
 	border-bottom-color: #C5C5C5;
 	border-bottom-color: #C5C5C5;
 	border-bottom-width: 2px;
 	border-bottom-width: 2px;