Show images differently.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Tue, 12 Apr 2011 12:41:06 +0000 (14:41 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 13 Apr 2011 04:41:06 +0000 (06:41 +0200)
src/main/resources/static/css/sone.css

index a2579e4..b40890a 100644 (file)
@@ -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 {