Skip to content

Commit

Permalink
Add some block fixes to override theme.css
Browse files Browse the repository at this point in the history
  • Loading branch information
scruffian committed Feb 19, 2021
1 parent 41b0f50 commit 35833a5
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 8 deletions.
8 changes: 0 additions & 8 deletions libre-2/css/blocks.css
Original file line number Diff line number Diff line change
Expand Up @@ -376,14 +376,6 @@ p.has-drop-cap:not(:focus)::first-letter {
}

/* Latest Comments */

.wp-block-latest-comments {
margin-left: 0;
margin-right: 0;
padding-left: 0;
padding-right: 0;
}

.wp-block-latest-comments__comment a {
box-shadow: 0 1px 0 0 rgba(0,0,0,0);
}
Expand Down
22 changes: 22 additions & 0 deletions libre-2/css/editor-blocks.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
a {
box-shadow: 0 1px 0 0 currentColor;
color: #404040;
text-decoration: none;
transition: 0.2s;
}

/* Quote */
.wp-block-quote:not(.is-large):not(.is-style-large) {
border: 0;
}

/* Pullquote */
.wp-block-pullquote {
border: 0;
}

.wp-block-pullquote .wp-block-pullquote__citation {
font-size: inherit;
font-style: italic;
text-transform: none;
}
1 change: 1 addition & 0 deletions libre-2/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ function libre_2_setup() {
array(
'style.css',
'/css/blocks.css',
'/css/editor-blocks.css',
libre_2_fonts_url(),
)
);
Expand Down

0 comments on commit 35833a5

Please sign in to comment.