Hever: Make sure alignfull first-child doesn't conflict with hidden homepage title

This commit is contained in:
Thomas Guillot 2019-07-30 13:19:55 +01:00
parent f15dd33db0
commit 5177c31f9f
3 changed files with 22 additions and 6 deletions

View file

@ -265,13 +265,17 @@ article .entry-header .entry-title,
}
}
.singular .hentry .entry-content {
.singular:not(.home.hide-homepage-title) .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")};
}
}
}
}
/**
* Comments

View file

@ -1140,7 +1140,7 @@ input.has-focus[type="submit"],
color: #1279BE;
background: transparent;
border: 2px solid currentcolor;
padding: 16px-2px 24px;
padding: 14px 24px;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover, .wp-block-button.is-style-outline .wp-block-button__link:focus, .wp-block-button.is-style-outline .wp-block-button__link.has-focus {
@ -3445,9 +3445,15 @@ article .entry-header .entry-title a:active, article .entry-header .entry-title
color: #1279BE;
}
.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;
}
}
/**
* Comments

View file

@ -3450,9 +3450,15 @@ article .entry-header .entry-title a:active, article .entry-header .entry-title
color: #1279BE;
}
.singular .hentry .entry-content > *:first-child.alignfull {
.singular:not(.home.hide-homepage-title) .hentry .entry-content > *:first-child.alignfull {
margin-top: -21.312px;
}
@media only screen and (min-width: 560px) {
.singular:not(.home.hide-homepage-title) .hentry .entry-content > *:first-child.alignfull {
margin-top: -64px;
}
}
/**
* Comments