소스 검색

Apostrophe 2: Adjust some spacing around the comments block. Remove margins from bottom of Gallery block.

Laurel Fulford 6 년 전
부모
커밋
853f72df35
2개의 변경된 파일9개의 추가작업 그리고 6개의 파일을 삭제
  1. 9 3
      apostrophe-2/css/blocks.css
  2. 0 3
      apostrophe-2/css/editor-blocks.css

+ 9 - 3
apostrophe-2/css/blocks.css

@@ -48,6 +48,7 @@ p.has-drop-cap:not(:focus)::first-letter {
 }
 }
 
 
 /* Full Width */
 /* Full Width */
+
 .apostrophe-2-no-sidebar figure.alignfull,
 .apostrophe-2-no-sidebar figure.alignfull,
 .apostrophe-2-no-sidebar .wp-block-cover.alignfull,
 .apostrophe-2-no-sidebar .wp-block-cover.alignfull,
 .apostrophe-2-no-sidebar .wp-block-gallery.alignfull,
 .apostrophe-2-no-sidebar .wp-block-gallery.alignfull,
@@ -122,6 +123,10 @@ p.has-drop-cap:not(:focus)::first-letter {
 	margin-left: auto;
 	margin-left: auto;
 }
 }
 
 
+.wp-block-gallery figcaption {
+	margin-bottom: 0;
+}
+
 /* Quote */
 /* Quote */
 
 
 .wp-block-quote:not(.is-large):not(.is-style-large).alignleft,
 .wp-block-quote:not(.is-large):not(.is-style-large).alignleft,
@@ -369,15 +374,16 @@ hr.wp-block-separator {
 
 
 /* Latest Comments */
 /* Latest Comments */
 
 
+.wp-block-latest-comments {
+	padding: 0;
+}
+
 .editor-block-list__block .wp-block-latest-comments__comment-meta a {
 .editor-block-list__block .wp-block-latest-comments__comment-meta a {
 	box-shadow: none;
 	box-shadow: none;
 	font-weight: 700;
 	font-weight: 700;
 	text-decoration: none;
 	text-decoration: none;
 }
 }
 
 
-.wp-block-latest-comments__comment-date {
-}
-
 .wp-block-latest-comments .wp-block-latest-comments__comment {
 .wp-block-latest-comments .wp-block-latest-comments__comment {
 	border-top: 1px solid #d1d1d1;
 	border-top: 1px solid #d1d1d1;
 	margin-bottom: 0;
 	margin-bottom: 0;

+ 0 - 3
apostrophe-2/css/editor-blocks.css

@@ -726,9 +726,6 @@
 	text-decoration: none;
 	text-decoration: none;
 }
 }
 
 
-.wp-block-latest-comments__comment-date {
-}
-
 .wp-block-latest-comments .wp-block-latest-comments__comment {
 .wp-block-latest-comments .wp-block-latest-comments__comment {
 	border-top: 1px solid #d1d1d1;
 	border-top: 1px solid #d1d1d1;
 	margin-bottom: 0;
 	margin-bottom: 0;