changeset 3623:c02522af6533

Center the message icons and fix their spacing
author Radomir Dopieralski <moindev@sheep.art.pl>
date Mon, 19 May 2008 19:12:01 +0200
parents 29ae93c888f2
children 2b577967030b
files wiki/htdocs/modern/css/common.css
diffstat 1 files changed, 15 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/wiki/htdocs/modern/css/common.css	Mon May 19 16:44:53 2008 +0200
+++ b/wiki/htdocs/modern/css/common.css	Mon May 19 19:12:01 2008 +0200
@@ -466,9 +466,21 @@
     font-size: 1em;
     color: black;
 }
-#message .info:before {content: url('../img/icon-info.png'); margin: 0 0.2em;}
-#message .warning:before {content: url('../img/alert.png'); margin: 0 0.2em;}
-#message .error:before {content: url('../img/icon-error.png'); margin: 0 0.2em;}
+#message .info:before {
+    content: url('../img/icon-info.png');
+    margin: 0 0.5em 0 0.25em;
+    vertical-align: middle;
+}
+#message .warning:before {
+    content: url('../img/alert.png');
+    margin: 0 0.5em 0 0.125em;
+    vertical-align: middle;
+}
+#message .error:before {
+    content: url('../img/icon-error.png'); 
+    margin: 0 0.5em 0 0.125em;
+    vertical-align: middle;
+}
 
 
 /* admonition start */