diff options
author | Jonas Smedegaard <dr@jones.dk> | 2014-01-21 13:29:12 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2014-01-21 13:29:12 +0100 |
commit | ca5da59e35e411a831e6dbb15db02b62134b18bc (patch) | |
tree | a002f3dfbf35b6ceeeba5e02cb547cd52990ddcf | |
parent | 737c3c3140a4cb03b370eb09cc65caac899a2f9d (diff) |
Merge img directive styling: avoid img.img altogether and extend captions styling.
-rw-r--r-- | style.scss | 22 |
1 files changed, 8 insertions, 14 deletions
@@ -16,11 +16,17 @@ @include ikiwiki-debug; @include ikiwiki-plugin-highlight; @include ikiwiki-plugin-color; -// from excluded ikiwiki-plugin-img +// based on ikiwiki-plugin-img +// - img.img styling +// + left-aligned +// + vertical margin +// + line-height .img caption { + margin: -1em 0 1.5em; + line-height: 175%; font-size: 80%; caption-side: bottom; - text-align: center; + text-align: left; } // shell // layout @@ -213,18 +219,6 @@ img { height: auto; } -// Override _ikiwiki.style.css -img.img { - margin: 0 1em 1em 0; -} - -.img caption { - text-align: left; - line-height: 175%; - margin-bottom: 1.5em; - margin-top: -1em; -} - #content img.deco { display: block; clear: both; |