projects
/
working
/
eg-antora.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00992a6
)
fix vertical alignment of images
author
Dan Allen
<dan@opendevise.com>
Sat, 12 Dec 2020 09:46:59 +0000
(
02:46
-0700)
committer
Dan Allen
<dan@opendevise.com>
Sat, 12 Dec 2020 09:47:10 +0000
(
02:47
-0700)
src/css/doc.css
patch
|
blob
|
history
diff --git
a/src/css/doc.css
b/src/css/doc.css
index
e3c80b9
..
d974fa7
100644
(file)
--- a/
src/css/doc.css
+++ b/
src/css/doc.css
@@
-329,14
+329,16
@@
align-items: center;
}
-.doc .imageblock img {
- display: block;
-}
-
.doc .imageblock img,
.doc .image > img {
+ display: inline-block;
height: auto;
max-width: 100%;
+ vertical-align: middle;
+}
+
+.doc .image:not(.left):not(.right) > img {
+ margin-top: -0.2em;
}
#preamble .abstract blockquote {