| Index: trunk/phase3/includes/resourceloader/ResourceLoaderUserOptionsModule.php |
| — | — | @@ -97,7 +97,11 @@ |
| 98 | 98 | // Underline: 2 = browser default, 1 = always, 0 = never |
| 99 | 99 | if ( $options['underline'] < 2 ) { |
| 100 | 100 | $rules[] = "a { text-decoration: " . |
| 101 | | - ( $options['underline'] ? 'underline !important' : 'none' ) . "; }"; |
| | 101 | + ( $options['underline'] ? 'underline' : 'none' ) . "; }"; |
| | 102 | + } else { |
| | 103 | + # The scripts of these languages are very hard to read with underlines |
| | 104 | + $rules[] = 'a:lang(ar), a:lang(ckb), a:lang(fa),a:lang(kk-arab), ' . |
| | 105 | + 'a:lang(mzn), a:lang(ps), a:lang(ur) { text-decoration: none; }'; |
| 102 | 106 | } |
| 103 | 107 | if ( $options['highlightbroken'] ) { |
| 104 | 108 | $rules[] = "a.new, #quickbar a.new { color: #ba0000; }\n"; |
| Index: trunk/phase3/skins/common/shared.css |
| — | — | @@ -52,17 +52,6 @@ |
| 53 | 53 | direction: rtl; |
| 54 | 54 | } |
| 55 | 55 | |
| 56 | | -/* The scripts of these languages are very hard to read with underlines */ |
| 57 | | -[lang="ar"] a, |
| 58 | | -[lang="ckb"] a, |
| 59 | | -[lang="fa"] a, |
| 60 | | -[lang="kk-arab"] a, |
| 61 | | -[lang="mzn"] a, |
| 62 | | -[lang="ps"] a, |
| 63 | | -[lang="ur"] a { |
| 64 | | - text-decoration: none; |
| 65 | | -} |
| 66 | | - |
| 67 | 56 | /* Default style for semantic tags */ |
| 68 | 57 | abbr, |
| 69 | 58 | acronym, |