Skip to content

Commit

Permalink
Merge pull request #3305 from Automattic/remove/libre-2-editor-styles
Browse files Browse the repository at this point in the history
Libre 2: Remove editor styles
  • Loading branch information
scruffian authored Feb 22, 2021
2 parents 83fd3a7 + 35833a5 commit f45441b
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 1,035 deletions.
50 changes: 0 additions & 50 deletions libre-2/css/blocks.css
Original file line number Diff line number Diff line change
Expand Up @@ -78,42 +78,6 @@ Description: Used to style Gutenberg Blocks.
margin-right: inherit;
}

/*--------------------------------------------------------------
2.0 General Block Styles
--------------------------------------------------------------*/

/* Captions */

[class^="wp-block-"] figcaption {
color: inherit;
font-size: 14px;
font-style: italic;
position: relative;
}

[class^="wp-block-"]:not(.wp-block-gallery) figcaption {
text-align: left;
}

[class^="wp-block-"]:not(.wp-block-gallery) figcaption::after {
border-top: 1px solid;
clear: both;
content: "";
display: block;
margin-top: .875em;
padding-top: .875em;
width: 25%;
}

[class^="wp-block-"].alignfull:not(.wp-block-gallery) figcaption {
padding-left: 2vw;
padding-right: 2vw;
}

.rtl [class^="wp-block-"]:not(.wp-block-gallery) figcaption {
text-align: right;
}

/*--------------------------------------------------------------
3.0 Blocks - Common Blocks
--------------------------------------------------------------*/
Expand All @@ -125,12 +89,6 @@ p.has-drop-cap:not(:focus)::first-letter {
margin-top: 0.15em;
}

/* Gallery */

.wp-block-gallery {
margin: 0 0 1.75em;
}

/* Quote */

.wp-block-quote p,
Expand Down Expand Up @@ -418,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
Loading

0 comments on commit f45441b

Please sign in to comment.