aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_docgen/priv/css
diff options
context:
space:
mode:
authorMariano Guerra <[email protected]>2016-10-31 20:52:21 +0000
committerMariano Guerra <[email protected]>2017-03-13 11:51:52 +0100
commitcf92c3a9d202b9b9c1fc999910a5c977063389e0 (patch)
tree694030a8427012703e930af8b96a3b15b0488913 /lib/erl_docgen/priv/css
parent17cdba11569e0e2b846fceba17f06bc87c2df4d5 (diff)
downloadotp-cf92c3a9d202b9b9c1fc999910a5c977063389e0.tar.gz
otp-cf92c3a9d202b9b9c1fc999910a5c977063389e0.tar.bz2
otp-cf92c3a9d202b9b9c1fc999910a5c977063389e0.zip
center images, make image caption markup semantic
Diffstat (limited to 'lib/erl_docgen/priv/css')
-rw-r--r--lib/erl_docgen/priv/css/otp_doc.css10
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css
index 1f3b9bfb29..8edb067df8 100644
--- a/lib/erl_docgen/priv/css/otp_doc.css
+++ b/lib/erl_docgen/priv/css/otp_doc.css
@@ -177,16 +177,20 @@ footer { }
font-size: 1.5em;
}
-.doc-table-wrapper{
+.doc-table-wrapper, .doc-image-wrapper{
width: 100%;
}
-.doc-table{
+.doc-image-wrapper{
+ text-align: center;
+}
+
+.doc-table, .doc-image{
min-width: 50%;
margin: 0 auto;
}
-.doc-table-caption{
+.doc-table-caption, .doc-image-caption{
margin-top: 1em;
font-style: italic;
text-align: center;