Calm Business: Make sure the first block has margin-top: 0

This commit is contained in:
Allan Cole 2019-06-20 15:40:51 -04:00
parent 196a7a4488
commit 2284868a0f
3 changed files with 22 additions and 2 deletions

View file

@ -92,6 +92,13 @@
}
}
/*
* Make sure the first block has margin-top: 0
*/
.entry:not(.has-post-thumbnail) .entry-content > :first-child {
margin-top: 0;
}
/*
* Unset nested content selector styles
* - Prevents layout styles from cascading too deeply

View file

@ -986,7 +986,6 @@ form p {
.contact-form input[type="datetime-local"],
.contact-form input[type="color"] {
margin-bottom: 13.6px;
min-width: 300px;
min-height: 56px;
}
@ -3601,6 +3600,13 @@ body.page .main-navigation {
}
}
/*
* Make sure the first block has margin-top: 0
*/
.entry:not(.has-post-thumbnail) .entry-content > :first-child {
margin-top: 0;
}
/*
* Unset nested content selector styles
* - Prevents layout styles from cascading too deeply
@ -4485,7 +4491,7 @@ body.page .main-navigation {
@media only screen and (min-width: 768px) {
.entry .entry-content .wp-block-media-text.alignfull .wp-block-media-text__content {
padding: 0 8%;
padding: 32px 8%;
}
}

View file

@ -3612,6 +3612,13 @@ body.page .main-navigation {
}
}
/*
* Make sure the first block has margin-top: 0
*/
.entry:not(.has-post-thumbnail) .entry-content > :first-child {
margin-top: 0;
}
/*
* Unset nested content selector styles
* - Prevents layout styles from cascading too deeply