Remove custom gallery and caption CSS

This commit is contained in:
Ben Dwyer 2021-02-19 11:20:44 +00:00
parent 2d0273bc28
commit 41b0f5092a

View file

@ -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
--------------------------------------------------------------*/
@ -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,