Jelajahi Sumber

fixed: margin around <figure> (#3832)

* fix CSS

* Minor whitespace

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
maTh 4 tahun lalu
induk
melakukan
c80e081bb0
2 mengubah file dengan 18 tambahan dan 0 penghapusan
  1. 9 0
      p/themes/base-theme/template.css
  2. 9 0
      p/themes/base-theme/template.rtl.css

+ 9 - 0
p/themes/base-theme/template.css

@@ -96,6 +96,15 @@ img.favicon {
 	vertical-align: middle;
 }
 
+.content.thin figure,
+.content.medium figure {
+	margin: 8px 0px;
+}
+
+.content figure figcaption {
+	font-style: italic;
+}
+
 .feed.mute::before {
 	content: '🔇';
 }

+ 9 - 0
p/themes/base-theme/template.rtl.css

@@ -96,6 +96,15 @@ img.favicon {
 	vertical-align: middle;
 }
 
+.content.thin figure,
+.content.medium figure {
+	margin: 8px 0px;
+}
+
+.content figure figcaption {
+	font-style: italic;
+}
+
 .feed.mute::before {
 	content: '🔇';
 }