lib/ecrire/app/assets/stylesheets/admin/preview.scss in ecrire-0.30.3 vs lib/ecrire/app/assets/stylesheets/admin/preview.scss in ecrire-0.31.0
- old
+ new
@@ -32,9 +32,28 @@
p {
margin: 1.5em 0;
}
}
+#PostPreviewContent > article > figure {
+ border: 1px solid $gray-blue;
+
+ img {
+ max-width: 100%;
+ margin: 12px;
+ }
+
+ figcaption {
+ text-align: center;
+ font-style: italic;
+ font-size: 0.8em;
+ color: $light-blue;
+ background-color: $gray-blue;
+ padding: 0.2em 0.4em;
+ }
+}
+
+
#PostPreviewContent pre {
background-color: $light-blue;
font-size: 0.7em;
border-radius: 2px;
overflow: hidden;