瀏覽代碼

removed rules for first alignfull child (#5208)

Maggie 3 年之前
父節點
當前提交
49231bbc7d
共有 3 個文件被更改,包括 0 次插入33 次删除
  1. 0 13
      hever/sass/_extra-child-theme.scss
  2. 0 10
      hever/style-rtl.css
  3. 0 10
      hever/style.css

+ 0 - 13
hever/sass/_extra-child-theme.scss

@@ -334,19 +334,6 @@ article .entry-header .entry-title,
 }
 
 // Remove margin if alignfull is first element
-.singular {
-	.hentry .entry-content {
-		& > *:first-child {
-			&.alignfull {
-				margin-top: -#{0.666 * map-deep-get($config-global, "spacing", "vertical")};
-
-				@include media(mobile) {
-					margin-top: -#{2 * map-deep-get($config-global, "spacing", "vertical")};
-				}
-			}
-		}
-	}
-}
 
 .home.hide-homepage-title {
 	.hentry .entry-content {

+ 0 - 10
hever/style-rtl.css

@@ -4435,16 +4435,6 @@ article .entry-header .entry-title a:active, article .entry-header .entry-title
 	color: var(--wp--preset--color--primary);
 }
 
-.singular .hentry .entry-content > *:first-child.alignfull {
-	margin-top: -21.312px;
-}
-
-@media only screen and (min-width: 560px) {
-	.singular .hentry .entry-content > *:first-child.alignfull {
-		margin-top: -64px;
-	}
-}
-
 .home.hide-homepage-title .hentry .entry-content > *:first-child.alignfull {
 	margin-top: 0;
 }

+ 0 - 10
hever/style.css

@@ -4464,16 +4464,6 @@ article .entry-header .entry-title a:active, article .entry-header .entry-title
 	color: var(--wp--preset--color--primary);
 }
 
-.singular .hentry .entry-content > *:first-child.alignfull {
-	margin-top: -21.312px;
-}
-
-@media only screen and (min-width: 560px) {
-	.singular .hentry .entry-content > *:first-child.alignfull {
-		margin-top: -64px;
-	}
-}
-
 .home.hide-homepage-title .hentry .entry-content > *:first-child.alignfull {
 	margin-top: 0;
 }