From 41b0f5092aadb85d4c739150f1c3d2b15616fe7f Mon Sep 17 00:00:00 2001 From: Ben Dwyer Date: Fri, 19 Feb 2021 11:20:44 +0000 Subject: [PATCH] Remove custom gallery and caption CSS --- libre-2/css/blocks.css | 42 ------------------------------------------ 1 file changed, 42 deletions(-) diff --git a/libre-2/css/blocks.css b/libre-2/css/blocks.css index db7e7c2ca..e7159cf3b 100644 --- a/libre-2/css/blocks.css +++ b/libre-2/css/blocks.css @@ -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,