Hever: Make sure alignfull first-child doesn't conflict with hidden homepage title
This commit is contained in:
parent
f15dd33db0
commit
5177c31f9f
3 changed files with 22 additions and 6 deletions
|
@ -265,10 +265,14 @@ article .entry-header .entry-title,
|
|||
}
|
||||
}
|
||||
|
||||
.singular .hentry .entry-content {
|
||||
.singular:not(.home.hide-homepage-title) .hentry .entry-content {
|
||||
& > *:first-child {
|
||||
&.alignfull {
|
||||
margin-top: -#{2 * map-deep-get($config-global, "spacing", "vertical")};
|
||||
margin-top: -#{0.666 * map-deep-get($config-global, "spacing", "vertical")};
|
||||
|
||||
@include media(mobile) {
|
||||
margin-top: -#{2 * map-deep-get($config-global, "spacing", "vertical")};
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 {
|
||||
|
@ -3446,7 +3446,13 @@ article .entry-header .entry-title a:active, article .entry-header .entry-title
|
|||
}
|
||||
|
||||
.singular .hentry .entry-content > *:first-child.alignfull {
|
||||
margin-top: -64px;
|
||||
margin-top: -21.312px;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 560px) {
|
||||
.singular .hentry .entry-content > *:first-child.alignfull {
|
||||
margin-top: -64px;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -3450,8 +3450,14 @@ article .entry-header .entry-title a:active, article .entry-header .entry-title
|
|||
color: #1279BE;
|
||||
}
|
||||
|
||||
.singular .hentry .entry-content > *:first-child.alignfull {
|
||||
margin-top: -64px;
|
||||
.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;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue