aboutsummaryrefslogtreecommitdiff
path: root/sass
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2022-06-01 10:48:10 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2022-06-01 15:46:02 +0200
commitfb9bcad20e6fb2c3703eb64f09575b3a3999f69d (patch)
tree77e56c6d6b011b620561eb88cbf91faa285b2378 /sass
parent75f2e96d31aa7c546281e9d7cbda051991244638 (diff)
downloadguide.deuxfleurs.fr-fb9bcad20e6fb2c3703eb64f09575b3a3999f69d.tar.gz
guide.deuxfleurs.fr-fb9bcad20e6fb2c3703eb64f09575b3a3999f69d.zip
Ajout de la médiathèque
Diffstat (limited to 'sass')
-rw-r--r--sass/_markdown.scss18
1 files changed, 18 insertions, 0 deletions
diff --git a/sass/_markdown.scss b/sass/_markdown.scss
index f030b83..73caeb5 100644
--- a/sass/_markdown.scss
+++ b/sass/_markdown.scss
@@ -73,3 +73,21 @@
max-width: 100%;
width: auto;
}
+
+.content img[alt$=">"] {
+ float: right;
+ margin-left: 1rem;
+}
+
+.content img[alt$="<"] {
+ float: left;
+ margin-right: 1rem;
+}
+
+.content img[alt$="><"] {
+ display: block;
+ max-width: 100%;
+ height: auto;
+ margin: auto;
+ float: none!important;
+}