From 3fac1c65a691b5fcee4fc51b2bc7d5affb3c90dc Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Mon, 10 Sep 2007 00:45:32 +0000 Subject: [PATCH] Refactor Monobook CSS for headers a bit. Section edit links were showing up with inconsistent sizes in Opera on Linux because of rounding errors. There should be no changes other than increased consistency/preservation of original intent. --- RELEASE-NOTES | 1 + skins/monobook/main.css | 30 ++++++++++++------------------ 2 files changed, 13 insertions(+), 18 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index a5c9eae785..03e5052c49 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -31,6 +31,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 7027) Shift handling of deletion permissions-checking to getUserPermissionsErrors. * Login and signup forms are now more correct for right-to-left languages. +* Fix inconsistent section edit link size for some browsers. === API changes in 1.12 === diff --git a/skins/monobook/main.css b/skins/monobook/main.css index 3c089ded74..1e153f085c 100644 --- a/skins/monobook/main.css +++ b/skins/monobook/main.css @@ -114,28 +114,22 @@ hr { h1, h2, h3, h4, h5, h6 { color: black; background: none; - font-weight: normal; margin: 0; padding-top: .5em; padding-bottom: .17em; - border-bottom: 1px solid #aaa; + font-size: 100%; } -h1 { font-size: 188%; } -h1 .editsection { font-size: 53%; } -h2 { font-size: 150%; } -h2 .editsection { font-size: 67%; } -h3, h4, h5, h6 { - border-bottom: none; - font-weight: bold; +h1, h2 { + border-bottom: 1px solid #aaa; + font-weight: normal; } -h3 { font-size: 132%; } -h3 .editsection { font-size: 76%; font-weight: normal; } -h4 { font-size: 116%; } -h4 .editsection { font-size: 86%; font-weight: normal; } -h5 { font-size: 100%; } -h5 .editsection { font-weight: normal; } -h6 { font-size: 80%; } -h6 .editsection { font-size: 125%; font-weight: normal; } +h1 .mw-headline { font-size: 188%; } +h2 .mw-headline { font-size: 150%; } +h3 .mw-headline { font-size: 132%; } +h4 .mw-headline { font-size: 116%; } +h5 .mw-headline { font-size: 100%; } +h6 .mw-headline { font-size: 80%; } +.editsection { font-weight: normal; } ul { line-height: 1.5em; @@ -1584,4 +1578,4 @@ div#mw-recreate-deleted-warn ul li { text-align: center; vertical-align: middle; font-size: 90%; -} \ No newline at end of file +} -- 2.20.1