all repos — h3rald @ cc48a810b92dc5ebb4ac01865581de9267ace36b

The sources of https://h3rald.com

Improved image & figure styling.
h3rald h3rald@h3rald.com
Sat, 04 Jan 2014 18:43:18 +0100
commit

cc48a810b92dc5ebb4ac01865581de9267ace36b

parent

5b7112bfd82b4dca520a9b3086c078ef98300fb1

1 files changed, 17 insertions(+), 0 deletions(-)

jump to
M content/styles/_elements.scsscontent/styles/_elements.scss

@@ -56,6 +56,23 @@ font-weight: 300;

font-size: 20px; } +figure { + margin: 2px; + border: 1px solid #999; + padding: 2px; + color: #999; + font-size: 80%; + text-align: center; +} + +figure[style="float: right;"], img[style^="float:right"]{ + margin-left: 10px; +} + +figure[style="float: left;"], img[style^="float:left"]{ + margin-right: 10px; +} + footer, .navbar { color: #fff; background: #2b3033;