From: Minh Nguyễn Date: Wed, 5 Aug 2015 06:42:37 +0000 (-0700) Subject: mediawiki.legacy: Use CSS3 underlining for X-Git-Tag: 1.31.0-rc.0~10486^2 X-Git-Url: http://git.cyclocoop.org/%22.%20generer_url_ecrire%28%22sites_tous%22%2C%22%22%29.%20%22?a=commitdiff_plain;h=161785f3bf7203dfce99a5f65dda520cb94bd19b;p=lhc%2Fweb%2Fwiklou.git mediawiki.legacy: Use CSS3 underlining for Where supported, set text-decoration-style instead of border-bottom-style to avoid double-underlining due to Firefox’s user agent style sheet. Bug: T107560 Change-Id: I6fb2d2b8016c1f3164999e25cbc058ccd9a2f121 --- diff --git a/resources/src/mediawiki.legacy/shared.css b/resources/src/mediawiki.legacy/shared.css index 27c3841571..2bf8c25ca4 100644 --- a/resources/src/mediawiki.legacy/shared.css +++ b/resources/src/mediawiki.legacy/shared.css @@ -78,6 +78,14 @@ abbr[title], cursor: help; } +@supports (text-decoration: underline dotted) { + abbr[title], + .explain[title] { + border-bottom: initial; + text-decoration: underline dotted; + } +} + /* Colored watchlist and recent changes numbers */ .mw-plusminus-pos { color: #006400; /* dark green */