Ver Fonte

Dalston: Reduce fint size in header to be closer to original pro-business theme, tweaks to columns block behavior

Allan Cole há 5 anos atrás
pai
commit
788c666d4e

+ 2 - 2
dalston/sass/_config-child-theme-deep.scss

@@ -298,7 +298,7 @@ $config-header: (
 			// Fonts
 			"font": (
 				"family": map-deep-get($config-global, "font", "family", "primary"),
-				"size": map-deep-get($config-global, "font", "size", "xxxl"),
+				"size": map-deep-get($config-global, "font", "size", "xxl"),
 				"weight": 600,
 				"line-height": 1,
 			),
@@ -308,7 +308,7 @@ $config-header: (
 			// Fonts
 			"font": (
 				"family": map-deep-get($config-global, "font", "family", "secondary"),
-				"size": map-deep-get($config-global, "font", "size", "xxxl"),
+				"size": map-deep-get($config-global, "font", "size", "xxl"),
 			),
 		),
 	),

+ 2 - 1
dalston/sass/_extra-child-theme.scss

@@ -196,7 +196,8 @@ a {
  * Site Title
  */
 .site-title {
-	font-style: italic;
+	font-weight: bold;
+	word-wrap: break-word;
 }
 
 .site-description {

+ 10 - 1
dalston/style-rtl.css

@@ -1217,6 +1217,14 @@ input.has-focus[type="submit"],
 	padding-left: 16px;
 }
 
+.wp-block-columns.alignfull:not(:first-child) {
+	margin-top: 32px;
+}
+
+.wp-block-columns.alignfull:not(:last-child) {
+	margin-bottom: 32px;
+}
+
 .wp-block-cover,
 .wp-block-cover-image {
 	background-color: black;
@@ -3566,7 +3574,8 @@ a {
  * Site Title
  */
 .site-title {
-	font-style: italic;
+	font-weight: bold;
+	word-wrap: break-word;
 }
 
 .site-description {

+ 12 - 3
dalston/style.css

@@ -1217,6 +1217,14 @@ input.has-focus[type="submit"],
 	padding-right: 16px;
 }
 
+.wp-block-columns.alignfull:not(:first-child) {
+	margin-top: 32px;
+}
+
+.wp-block-columns.alignfull:not(:last-child) {
+	margin-bottom: 32px;
+}
+
 .wp-block-cover,
 .wp-block-cover-image {
 	background-color: black;
@@ -2310,7 +2318,7 @@ table th,
 .site-title {
 	color: #000000;
 	font-family: "Crimson Text", "Baskerville Old Face", Garamond, "Times New Roman", serif;
-	font-size: 2.01136rem;
+	font-size: 1.74901rem;
 	letter-spacing: normal;
 	line-height: 1;
 }
@@ -2331,7 +2339,7 @@ table th,
 .site-description {
 	color: currentColor;
 	font-family: "Crimson Text", "Baskerville Old Face", Garamond, "Times New Roman", serif;
-	font-size: 2.01136rem;
+	font-size: 1.74901rem;
 }
 
 .main-navigation {
@@ -3595,7 +3603,8 @@ a {
  * Site Title
  */
 .site-title {
-	font-style: italic;
+	font-weight: bold;
+	word-wrap: break-word;
 }
 
 .site-description {