r25706 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r25705‎ | r25706 | r25707 >
Date:00:45, 10 September 2007
Author:simetrical
Status:old
Tags:
Comment:
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.
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/skins/monobook/main.css (modified) (history)

Diff [purge]

Index: trunk/phase3/skins/monobook/main.css
@@ -114,28 +114,22 @@
115115 h1, h2, h3, h4, h5, h6 {
116116 color: black;
117117 background: none;
118 - font-weight: normal;
119118 margin: 0;
120119 padding-top: .5em;
121120 padding-bottom: .17em;
 121+ font-size: 100%;
 122+}
 123+h1, h2 {
122124 border-bottom: 1px solid #aaa;
 125+ font-weight: normal;
123126 }
124 -h1 { font-size: 188%; }
125 -h1 .editsection { font-size: 53%; }
126 -h2 { font-size: 150%; }
127 -h2 .editsection { font-size: 67%; }
128 -h3, h4, h5, h6 {
129 - border-bottom: none;
130 - font-weight: bold;
131 -}
132 -h3 { font-size: 132%; }
133 -h3 .editsection { font-size: 76%; font-weight: normal; }
134 -h4 { font-size: 116%; }
135 -h4 .editsection { font-size: 86%; font-weight: normal; }
136 -h5 { font-size: 100%; }
137 -h5 .editsection { font-weight: normal; }
138 -h6 { font-size: 80%; }
139 -h6 .editsection { font-size: 125%; font-weight: normal; }
 127+h1 .mw-headline { font-size: 188%; }
 128+h2 .mw-headline { font-size: 150%; }
 129+h3 .mw-headline { font-size: 132%; }
 130+h4 .mw-headline { font-size: 116%; }
 131+h5 .mw-headline { font-size: 100%; }
 132+h6 .mw-headline { font-size: 80%; }
 133+.editsection { font-weight: normal; }
140134
141135 ul {
142136 line-height: 1.5em;
@@ -1584,4 +1578,4 @@
15851579 text-align: center;
15861580 vertical-align: middle;
15871581 font-size: 90%;
1588 -}
\ No newline at end of file
 1582+}
Index: trunk/phase3/RELEASE-NOTES
@@ -31,6 +31,7 @@
3232 * (bug 7027) Shift handling of deletion permissions-checking to
3333 getUserPermissionsErrors.
3434 * Login and signup forms are now more correct for right-to-left languages.
 35+* Fix inconsistent section edit link size for some browsers.
3536
3637 === API changes in 1.12 ===
3738

Follow-up revisions

RevisionCommit summaryAuthorDate
r25754Merged revisions 25607-25751 via svnmerge from...david23:02, 10 September 2007

Status & tagging log