Просмотр исходного кода

fixed: margin around <figure> (#3832)

* fix CSS

* Minor whitespace

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
maTh 4 лет назад
Родитель
Сommit
c80e081bb0
2 измененных файлов с 18 добавлено и 0 удалено
  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: '🔇';
 }