From: David ‘Bombe’ Roden Date: Tue, 12 Apr 2011 12:41:06 +0000 (+0200) Subject: Show images differently. X-Git-Tag: beta-freefall-0.6.2-1~32 X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=commitdiff_plain;h=70ffa07939b79f80257cf5140768e9b90e7e7800 Show images differently. --- diff --git a/src/main/resources/static/css/sone.css b/src/main/resources/static/css/sone.css index a2579e4..b40890a 100644 --- a/src/main/resources/static/css/sone.css +++ b/src/main/resources/static/css/sone.css @@ -558,7 +558,18 @@ textarea { } #sone .image { - float: left; + width: 200px; + height: 150px; + display: table-cell; + vertical-align: middle; + text-align: center; + padding: 0.5ex; +} + +#sone .image img { + padding: 1ex; + border: solid 1px #000; + background-color: #fff; } #sone .backlinks .separator {