From 9433a9ede03a88de09171cce72c3f80170b5036e Mon Sep 17 00:00:00 2001 From: "Mark A. Hershberger" Date: Sat, 14 May 2011 22:10:10 +0000 Subject: [PATCH] =?utf8?q?Fix=20Bug=2028979=20=E2=80=94=20=E2=80=9Cremove?= =?utf8?q?=20some=20CSS=20for=20abbr=20and=20acronym=20tags=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The and 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|NN]]. 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 --- skins/chick/main.css | 6 ------ skins/common/shared.css | 6 ++++++ skins/vector/screen.css | 12 ++---------- 3 files changed, 8 insertions(+), 16 deletions(-) diff --git a/skins/chick/main.css b/skins/chick/main.css index 4d84d1ae41..23c690224b 100644 --- a/skins/chick/main.css +++ b/skins/chick/main.css @@ -146,12 +146,6 @@ select { 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; diff --git a/skins/common/shared.css b/skins/common/shared.css index 28e78acc28..2bedd47ac6 100644 --- a/skins/common/shared.css +++ b/skins/common/shared.css @@ -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 */ diff --git a/skins/vector/screen.css b/skins/vector/screen.css index 2ba3de2d10..5174985389 100644 --- a/skins/vector/screen.css +++ b/skins/vector/screen.css @@ -765,16 +765,8 @@ p { 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; -- 2.20.1