Quellcode durchsuchen

Redhill: Reduce Header padding bottom and Page Title margin top

Thomas Guillot vor 6 Jahren
Ursprung
Commit
bb09472078
3 geänderte Dateien mit 10 neuen und 6 gelöschten Zeilen
  1. 2 2
      redhill/sass/_extra-child-theme.scss
  2. 4 2
      redhill/style-rtl.css
  3. 4 2
      redhill/style.css

+ 2 - 2
redhill/sass/_extra-child-theme.scss

@@ -53,6 +53,7 @@ a {
     flex-flow: row wrap;
     justify-content: center;
     max-width: 92vw;
+    padding-bottom: #{0.5 * map-deep-get($config-global, "spacing", "vertical")};
     padding-top: #{1.5 * map-deep-get($config-global, "spacing", "vertical")};
 
 		.site-branding {
@@ -64,7 +65,6 @@ a {
 			padding-right: #{2 * map-deep-get($config-global, "spacing", "horizontal")};
 		}
 
-
 		.social-navigation {
 			padding-left: #{2 * map-deep-get($config-global, "spacing", "horizontal")};
 			padding-right: #{2 * map-deep-get($config-global, "spacing", "horizontal")};
@@ -168,7 +168,7 @@ a {
 article .entry-header .entry-title,
 .page-title {
 	font-family: #{map-deep-get($config-global, "font", "family", "primary")};
-	margin-top: #{2 * map-deep-get($config-global, "spacing", "vertical")};
+	margin-top: map-deep-get($config-global, "spacing", "vertical");
 	margin-bottom: #{2 * map-deep-get($config-global, "spacing", "vertical")};
 }
 

+ 4 - 2
redhill/style-rtl.css

@@ -237,6 +237,7 @@ a {
 		flex-flow: row wrap;
 		justify-content: center;
 		max-width: 92vw;
+		padding-bottom: 16px;
 		padding-top: 48px;
 	}
 	#masthead .site-branding {
@@ -348,7 +349,7 @@ a {
 article .entry-header .entry-title,
 .page-title {
 	font-family: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Times, "Times New Roman", serif;
-	margin-top: 64px;
+	margin-top: 32px;
 	margin-bottom: 64px;
 }
 
@@ -3436,6 +3437,7 @@ a {
 		flex-flow: row wrap;
 		justify-content: center;
 		max-width: 92vw;
+		padding-bottom: 16px;
 		padding-top: 48px;
 	}
 	#masthead .site-branding {
@@ -3547,7 +3549,7 @@ a {
 article .entry-header .entry-title,
 .page-title {
 	font-family: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Times, "Times New Roman", serif;
-	margin-top: 64px;
+	margin-top: 32px;
 	margin-bottom: 64px;
 }
 

+ 4 - 2
redhill/style.css

@@ -237,6 +237,7 @@ a {
 		flex-flow: row wrap;
 		justify-content: center;
 		max-width: 92vw;
+		padding-bottom: 16px;
 		padding-top: 48px;
 	}
 	#masthead .site-branding {
@@ -348,7 +349,7 @@ a {
 article .entry-header .entry-title,
 .page-title {
 	font-family: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Times, "Times New Roman", serif;
-	margin-top: 64px;
+	margin-top: 32px;
 	margin-bottom: 64px;
 }
 
@@ -3441,6 +3442,7 @@ a {
 		flex-flow: row wrap;
 		justify-content: center;
 		max-width: 92vw;
+		padding-bottom: 16px;
 		padding-top: 48px;
 	}
 	#masthead .site-branding {
@@ -3552,7 +3554,7 @@ a {
 article .entry-header .entry-title,
 .page-title {
 	font-family: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Times, "Times New Roman", serif;
-	margin-top: 64px;
+	margin-top: 32px;
 	margin-bottom: 64px;
 }