From 042a6c3ebc9a70cfd4651d4284452a9430db7eb3 Mon Sep 17 00:00:00 2001 From: River Tarnell Date: Thu, 24 Jan 2008 01:23:22 +0000 Subject: [PATCH] using font-sizes in points breaks text resizing in IE. instead, set the font size the same way as monobook: body sets font-size: x-small, and text is scaled back to a reasonable size (130%) in the content area. 130% produces correct alignment of #p-personal in all browsers; 127% makes a 1 pixel gap in Safari at some font sizes. --- skins/modern/main.css | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/skins/modern/main.css b/skins/modern/main.css index 4678e728d2..1c38c12ae8 100644 --- a/skins/modern/main.css +++ b/skins/modern/main.css @@ -1,13 +1,21 @@ body { margin: 0 0 0 0; padding: 0 0 0 0; - font-size: 10pt; + /*font-size: 10pt;*/ + font-size: x-small; + font-family: sans-serif; color: black; background-color: #f0f0f0; } +#mw_main, +#p-personal, +#mw_header { + font-size: 130%; +} + #mw_header { position: absolute; top: 0; @@ -155,7 +163,6 @@ textarea { background-color: #dddddd; font-weight: bold; border-bottom: solid 1px #3c78b5; - font-size: 10pt; height: 1.1em; } @@ -322,7 +329,6 @@ h1, h2 { } #preferences h2 { - font-size: 10pt; } .mainLegend { -- 2.20.1