Dyad 2: Clean up post-list block.

This commit is contained in:
Allan Cole 2020-05-18 13:07:21 -04:00
parent fe089ab4be
commit 8ece618e6f
2 changed files with 18 additions and 1 deletions

View file

@ -566,6 +566,24 @@ p.has-drop-cap:not(:focus)::first-letter {
list-style-position: inside;
}
/* Latest Posts */
.wp-block-latest-posts > li > a {
color: inherit;
}
.wp-block-latest-posts .wp-block-latest-posts__post-excerpt a {
background-color: #e7ae01;
color: #fff;
display: block;
font-size: 14px;
letter-spacing: 0.1em;
margin: 10px auto 0;
padding: 1em;
text-transform: uppercase;
width: max-content;
}
/* Latest Comments */
.wp-block-latest-comments {

View file

@ -96,7 +96,6 @@ if ( ! function_exists( 'dyad_2_setup' ) ) :
add_theme_support( 'editor-styles' );
// Editor Styles
// add_editor_style( 'editor-style.css' );
add_editor_style( 'css/editor-blocks.css' );
add_editor_style( dyad_2_fonts_url() );