From b3543eb21150a8f52e363ce33da2f030d3c34272 Mon Sep 17 00:00:00 2001 From: Holger Just Date: Sat, 5 Dec 2015 23:50:58 +0100 Subject: [PATCH] Add styles for figures and image placement --- source/stylesheets/application.css.scss | 29 +++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/source/stylesheets/application.css.scss b/source/stylesheets/application.css.scss index 3518076..207bb18 100644 --- a/source/stylesheets/application.css.scss +++ b/source/stylesheets/application.css.scss @@ -25,6 +25,35 @@ display: none; } +.left { + float: left; + margin: 0 1rem .75rem 0; +} +.right { + float: right; + padding: 0 0 .75rem 1rem; +} + +.post-content figure { + p { + margin: 0; + } + + img { + padding: .4em 0; + } +} + +figcaption { + display: block; + + font-style: normal; + text-align: center; + + font-size: 1.4rem; + line-height: 1.75em; +} + .license { display: block; width: 45%;