Browse Source

Closes #806 - remove margin from archive entry header.

Jeffrey Pearce 6 years ago
parent
commit
87e8edc334

+ 1 - 1
sophisticated-business/sass/site/primary/_archives.scss

@@ -41,7 +41,7 @@
 .hfeed .entry .entry-header {
 
 	@include media(tablet) {
-		margin: calc(3 * #{$size__spacing-unit}) auto;
+		margin-bottom: calc(3 * #{$size__spacing-unit});
 	}
 }
 

+ 2 - 9
sophisticated-business/style-rtl.css

@@ -2306,21 +2306,14 @@ body.page .main-navigation {
 }
 
 .entry .entry-header {
-  margin: calc(3 * 1rem) auto 1rem;
+  margin: calc(3 * 1rem) 1rem 1rem;
   position: relative;
   text-align: center;
 }
 
 @media only screen and (min-width: 768px) {
   .entry .entry-header {
-    max-width: calc(8 * (100vw / 12) - 28px);
-    margin: calc(3 * 1rem) auto auto;
-  }
-}
-
-@media only screen and (min-width: 1168px) {
-  .entry .entry-header {
-    max-width: calc(6 * (100vw / 12) - 28px);
+    margin: calc(3 * 1rem) calc(10% + 60px) 1rem;
   }
 }
 

+ 1 - 1
sophisticated-business/style.css

@@ -3077,7 +3077,7 @@ body.page .main-navigation {
 
 @media only screen and (min-width: 768px) {
   .hfeed .entry .entry-header {
-    margin: calc(3 * 1rem) auto;
+    margin-bottom: calc(3 * 1rem);
   }
 }