From: River Tarnell Date: Thu, 24 Jan 2008 01:23:22 +0000 (+0000) Subject: using font-sizes in points breaks text resizing in IE. instead, set the font size... X-Git-Tag: 1.31.0-rc.0~49815 X-Git-Url: https://git.cyclocoop.org/admin/%7B%7Blocalurl:Special:UserLogin%7D%7D?a=commitdiff_plain;h=042a6c3ebc9a70cfd4651d4284452a9430db7eb3;p=lhc%2Fweb%2Fwiklou.git 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. --- 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 {