http://www.mediawiki.org/wiki/Special:Code/MediaWiki/88118
Revision: 88118
Author: mah
Date: 2011-05-14 22:10:10 +0000 (Sat, 14 May 2011)
Log Message:
-----------
Fix Bug 28979 ?\226?\128?\148 ?\226?\128?\156remove some CSS for abbr and
acronym tags?\226?\128?\157
The <abbr> and <acronym> tags were whitelisted with bug 671, but
there are some CSS rules for them since long, long times. They can
be found in the first versions of chick, monobook and are carried
on to vector skin.
Often these tags are used in links, e.g. [[Normalnull|<abbr
title="meter above see level">NN</abbr>]]. But in here the
color:black; makes the text unrecognizable as a hyperlink
(together with the senseful cursor:help; rule).
When these rules where meant to override some crazy
browserdependent default settings, they should be be changed to
"inherit".
from Bergi
Modified Paths:
--------------
trunk/phase3/skins/chick/main.css
trunk/phase3/skins/common/shared.css
trunk/phase3/skins/vector/screen.css
Modified: trunk/phase3/skins/chick/main.css
===================================================================
--- trunk/phase3/skins/chick/main.css 2011-05-14 22:06:47 UTC (rev 88117)
+++ trunk/phase3/skins/chick/main.css 2011-05-14 22:10:10 UTC (rev 88118)
@@ -146,12 +146,6 @@
color: black;
vertical-align: top;
}
-abbr, acronym, .explain {
- border-bottom: 1px dotted black;
- color: black;
- background: none;
- cursor: help;
-}
q {
font-family: Times, "Times New Roman", serif;
font-style: italic;
Modified: trunk/phase3/skins/common/shared.css
===================================================================
--- trunk/phase3/skins/common/shared.css 2011-05-14 22:06:47 UTC (rev
88117)
+++ trunk/phase3/skins/common/shared.css 2011-05-14 22:10:10 UTC (rev
88118)
@@ -4,6 +4,12 @@
* another, but don't ignore the poor pre-Monobook users either.
*/
+/* Default style for semantic tags */
+abbr, acronym, .explain {
+ border-bottom: 1px dotted black;
+ cursor: help;
+}
+
/* Colored watchlist and recent changes numbers */
.mw-plusminus-pos { color: #006400; } /* dark green */
.mw-plusminus-neg { color: #8b0000; } /* dark red */
Modified: trunk/phase3/skins/vector/screen.css
===================================================================
--- trunk/phase3/skins/vector/screen.css 2011-05-14 22:06:47 UTC (rev
88117)
+++ trunk/phase3/skins/vector/screen.css 2011-05-14 22:10:10 UTC (rev
88118)
@@ -765,16 +765,8 @@
margin: .4em 0 .5em 0;
line-height: 1.5em;
}
- p img {
- margin: 0;
- }
-abbr,
-acronym,
-.explain {
- border-bottom: 1px dotted black;
- color: black;
- background: none;
- cursor: help;
+p img {
+ margin: 0;
}
q {
font-family: Times, "Times New Roman", serif;
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs