Browse Source

Shawburn: Update margin-top maths when homepage title is hidden

Thomas Guillot 5 years ago
parent
commit
f8331c6cfd
3 changed files with 6 additions and 6 deletions
  1. 2 2
      shawburn/sass/_extra-child-theme.scss
  2. 2 2
      shawburn/style-rtl.css
  3. 2 2
      shawburn/style.css

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

@@ -12,10 +12,10 @@ body {
 	.hentry .entry-content {
 		& > *:first-child {
 			&.alignfull {
-				margin-top: -#{0.666 * map-deep-get($config-global, "spacing", "vertical") + 2 * map-deep-get($config-global, "spacing", "unit")};
+				margin-top: -#{2 * map-deep-get($config-global, "spacing", "unit")};
 
 				@include media(mobile) {
-					margin-top: -#{2.5 * map-deep-get($config-global, "spacing", "vertical")};
+					margin-top: -#{3 * map-deep-get($config-global, "spacing", "unit")};
 				}
 			}
 		}

+ 2 - 2
shawburn/style-rtl.css

@@ -3415,12 +3415,12 @@ body {
 }
 
 .home.hide-homepage-title .hentry .entry-content > *:first-child.alignfull {
-	margin-top: -53.312px;
+	margin-top: -32px;
 }
 
 @media only screen and (min-width: 560px) {
 	.home.hide-homepage-title .hentry .entry-content > *:first-child.alignfull {
-		margin-top: -80px;
+		margin-top: -48px;
 	}
 }
 

+ 2 - 2
shawburn/style.css

@@ -3444,12 +3444,12 @@ body {
 }
 
 .home.hide-homepage-title .hentry .entry-content > *:first-child.alignfull {
-	margin-top: -53.312px;
+	margin-top: -32px;
 }
 
 @media only screen and (min-width: 560px) {
 	.home.hide-homepage-title .hentry .entry-content > *:first-child.alignfull {
-		margin-top: -80px;
+		margin-top: -48px;
 	}
 }