From 417dffcac6db06c01fb65335319776579115e212 Mon Sep 17 00:00:00 2001 From: Zhiming Wang Date: Sat, 30 Jan 2016 14:37:24 -0800 Subject: theme.css: Solve image link over-wide issue display: block spans the entire width of the parent container. Switching to display: inline solves the problem. Fixes #11. --- source/css/theme.css | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'source') diff --git a/source/css/theme.css b/source/css/theme.css index 07491b5c..31052909 100644 --- a/source/css/theme.css +++ b/source/css/theme.css @@ -166,10 +166,18 @@ img { margin: 5px auto; } +.figure { + text-align: center; +} + +.figure img { + display: inline; + margin: 0 0 5px 0; +} + .figure .caption { width: 80%; margin: auto; - text-align: center; font-size: 90%; } -- cgit v1.2.1