Gutenberg css fixes

This commit is contained in:
Alexander Agnarson 2020-03-24 14:08:42 +01:00
parent 6e37a237ad
commit f9713b578a

View file

@ -246,7 +246,7 @@ input, textarea, button, select, label { font-family: inherit; }
.entry ol ul ol li { list-style: decimal; } .entry ol ul ol li { list-style: decimal; }
.entry dt { font-weight: 600;} .entry dt { font-weight: 600;}
.entry address { margin-bottom: 1em; } .entry address { margin-bottom: 1em; }
.entry blockquote { position: relative; color: #777; font-style: italic; margin: 0 0 20px 0; padding-left: 50px; } .entry blockquote { position: relative; font-style: italic; margin: 0 0 20px 0; padding-left: 50px; }
.entry blockquote p { margin-bottom: 0.75em; } .entry blockquote p { margin-bottom: 0.75em; }
.entry blockquote:before { content: "\f10d"; color: #ccc; font-size: 32px; font-style: normal; font-family: "Font Awesome 5 Free"; font-weight: 900; text-align: center; position: absolute; left: 0; top: 0; } .entry blockquote:before { content: "\f10d"; color: #ccc; font-size: 32px; font-style: normal; font-family: "Font Awesome 5 Free"; font-weight: 900; text-align: center; position: absolute; left: 0; top: 0; }
.entry blockquote.twitter-tweet:before { content: "\f099"; } .entry blockquote.twitter-tweet:before { content: "\f099"; }
@ -330,6 +330,23 @@ h1, h2, h3, h4, h5, h6 { color: #444; font-weight: 600; -ms-word-wrap: break-wor
.heading i { font-size: 22px; margin-right: 6px; } .heading i { font-size: 22px; margin-right: 6px; }
/* ------------------------------------------------------------------------- *
* Gutenberg
/* ------------------------------------------------------------------------- */
.entry .wp-block-image figcaption,
.entry .wp-block-audio figcaption,
.entry .wp-block-embed figcaption { font-size: 14px; text-align: center; }
.entry .wp-block-gallery { padding: 0; margin-left: 0; }
.entry .wp-block-gallery .blocks-gallery-grid { margin: 0; padding: 0; }
.entry .wp-block-gallery .blocks-gallery-item figcaption { box-sizing: border-box; }
.entry .wp-block-quote { margin-bottom: 20px; }
.entry .wp-block-quote.is-large { padding-left: 50px; }
.entry .wp-block-pullquote.alignleft { margin-right: 2em; }
.entry .wp-block-pullquote.alignright { margin-left: 2em; }
.entry .wp-block-pullquote blockquote { padding-left: 50px; text-align: left; }
.entry .wp-block-pullquote blockquote p { line-height: 1.4em; }
/* ------------------------------------------------------------------------- * /* ------------------------------------------------------------------------- *
* Base Structure * Base Structure
/* ------------------------------------------------------------------------- */ /* ------------------------------------------------------------------------- */