ソースを参照

Remove custom gallery and caption CSS

Ben Dwyer 4 年 前
コミット
41b0f5092a
1 ファイル変更0 行追加42 行削除
  1. 0 42
      libre-2/css/blocks.css

+ 0 - 42
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,