Commit 81120183 authored by Erwan BOUSSE's avatar Erwan BOUSSE
Browse files

Add rule to center captions with image is centered

parent 300a54c8
Pipeline #31785 passed with stages
in 4 minutes and 2 seconds
......@@ -117,15 +117,20 @@ You can find image:https://upload.wikimedia.org/wikipedia/commons/3/35/Tux.svg[L
== Putting Images in Their Place (1)
A block image pulled to the right and centered within the block
A floating block image pulled to the right and centered within the block
image::tiger.png[Tiger,200,200,float="right",align="center"]
An image with just a caption:
.A tiger!
image::tiger.png[Tiger,200,200,align="center"]
== Putting Images in Their Place (2)
An inline image pulled to the right of the paragraph text
A floating inline image pulled to the right of the paragraph text
image:linux.svg[Linux,150,150,float="right"]
You can find Linux everywhere these days!
......
......@@ -121,6 +121,12 @@
text-align: center;
}
div.imageblock[style='text-align: center'] + div.title {
text-align: center;
}
// Share style between quotes and verses
%citationArea {
width: 90%;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment