From 283499cc981004380ede2b081469d96260f394a0 Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Mon, 16 Jul 2007 15:51:08 +0000 Subject: [PATCH] * RELEASE-NOTES from last commit * (bug 1629) Stop section edit links from being shoved down by other floats, using a one-line CSS fix that should have no other effects * Move some editsection rules into shared.css (some more header stuff is still left scattered around and should probably be centralized before that document structure is mercilessly purged as evil and un-semantic) --- RELEASE-NOTES | 6 ++++++ skins/chick/main.css | 2 -- skins/common/oldshared.css | 2 -- skins/common/shared.css | 12 +++++++++++- skins/monobook/main.css | 5 ----- skins/simple/main.css | 5 +---- 6 files changed, 18 insertions(+), 14 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 9a211943b0..a2664fad02 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -143,6 +143,11 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * Introduced 'ContributionsToolLinks' hook; see docs/hooks.txt for more information * Add a message if category is empty +* Add CSS compatibility for Opera 9.5 +* Remove largely untested handheld stylesheet, which was causing more trouble + than good. Proper handheld support will be added at a future date. For now, + display should be acceptable either with CSS turned off or when using a so- + phisticated handheld browser. == Bugfixes since 1.10 == @@ -300,6 +305,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 10560) Adding a space between category letter heading and "continues" * Don't allow retrieving non-JavaScript/CSS pages with "text/css" or "text/javascript" MIME types +* (bug 1629) Stop section edit links from being shoved down by other floats == API changes since 1.10 == diff --git a/skins/chick/main.css b/skins/chick/main.css index 7a785bdfab..876f3c7d9e 100644 --- a/skins/chick/main.css +++ b/skins/chick/main.css @@ -52,8 +52,6 @@ h1, h2, h3, h4, h5, h6 { } .editsection { font-weight: normal; - float: right; - margin-left: 5px; } h1 { font-size: 188%; } h1 .editsection { font-size: 53.2%; } diff --git a/skins/common/oldshared.css b/skins/common/oldshared.css index 1d70985370..27d93a0359 100644 --- a/skins/common/oldshared.css +++ b/skins/common/oldshared.css @@ -19,8 +19,6 @@ h1, h2, h3, h4, h5, h6 { font-weight: bolder } /* Make edit sections (which are inside h# tags) normal-sized */ .editsection { font-weight: normal; - float: right; - margin-left: 5px; } h1 .editsection { font-size: 50% } h2 .editsection { font-size: 66.7% } diff --git a/skins/common/shared.css b/skins/common/shared.css index 4a4a86f859..f980603a5c 100644 --- a/skins/common/shared.css +++ b/skins/common/shared.css @@ -22,4 +22,14 @@ div#mw-js-message { background-color: #fcfcfc; } - +/* Edit section links */ +.editsection { + float: right; + margin-left: 5px; +} +h1, h2, h3, h4, h5, h6 { + /* CSS voodoo magic: floats can interfere with each other unless we create + a new block formatting context for them to live in. The most harmless + way to do that in CSS2.1 is to use overflow: hidden. */ + overflow: hidden; +} diff --git a/skins/monobook/main.css b/skins/monobook/main.css index 4f6b99cdb0..50a3c0ccc1 100644 --- a/skins/monobook/main.css +++ b/skins/monobook/main.css @@ -137,11 +137,6 @@ h5 .editsection { font-weight: normal; } h6 { font-size: 80%; } h6 .editsection { font-size: 125%; font-weight: normal; } -.editsection { - float: right; - margin-left: 5px; -} - ul { line-height: 1.5em; list-style-type: square; diff --git a/skins/simple/main.css b/skins/simple/main.css index 4dc0ea1382..c159b1f457 100644 --- a/skins/simple/main.css +++ b/skins/simple/main.css @@ -10,12 +10,9 @@ h1, h2, h3, h4, h5, h6 { font-weight: bolder } /* Now the custom parts */ -/* Make edit sections (which are inside h# tags) normal-sized - and otherwise format */ +/* Make edit sections (which are inside h# tags) normal-sized */ .editsection { font-weight: normal; - float: right; - margin-left: 5px; } h1 .editsection { font-size: 50% } h2 .editsection { font-size: 66.7% } -- 2.20.1