Skip to content

Commit

Permalink
Latest Post block cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
kjellr committed Feb 17, 2020
1 parent eb0b649 commit f4da15b
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions twentynineteen-blocks/style.css
Expand Up @@ -113,11 +113,17 @@ Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-me
}

/* Latest posts block */

.wp-block-latest-posts {
padding-left: 0;
}

.wp-block-latest-posts li > a {
font-size: 2.25em;
font-weight: 700;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
color: #111;
line-height: 1.2;
}

.wp-block-latest-posts.wp-block-latest-posts__list li > a::before {
Expand All @@ -133,6 +139,19 @@ Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-me
margin-top: calc(6 * 1rem);
}

.wp-block-latest-posts .wp-block-latest-posts__post-date {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
font-size: 0.71111em;
margin-top: 0.71111em;
margin-bottom: 1.5em;
}

@media only screen and (min-width: 768px) {
.wp-block-latest-posts__post-excerpt {
max-width: calc(6 * (100vw / 12) - 28px);
}
}

/* Site navigation styles */

.wp-block-navigation {
Expand Down

0 comments on commit f4da15b

Please sign in to comment.