https://bugzilla.wikimedia.org/show_bug.cgi?id=41404
--- Comment #3 from Munaf Assaf <[email protected]> 2012-11-05 20:56:17 UTC --- (In reply to comment #2) > The MonoBook skin starts with body { font-size: x-small; } and scales the text > up in the following containers. But the PostEdit code is inserted outside of > this containers right after the opening <body> tag and adds font-size: 0.8em; > on top of this. This is why it ends with 8px (calculated font size) in the > MonoBook skin but 13px in the Vector skin. > > Possible solution: > > .postedit { font-size: 13px; } > > Preferred. This guarantees it will look the same in all skins. All web > browsers > are able to scale px font sizes. > > An other possible solution: > > .skin-monobook .postedit { font-size: 125%; } > > This way you need to add code for every skin. I'm wary of direct px sizing of text in the .postedit element because em is ideal for i18n (though I know nothing of i18n typography yet, just that they prefer em). I'm also thinking that doing skin-specific sizing might be a bit much work/risk. Would it be completely silly to just reset the em-sizing in .postedit-container to 13px? .postedit-container { font-size: 13px; } .postedit { font-size: 1em; } I realize this is effectively the same as your first solution, TMg. I just want to be sure there isn't an obscure i18n typography risk with directly setting .postedit { font-size: 13px; }. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
