| 1 |
@import 'mediawiki.skin.variables.less'; |
| 2 |
|
| 3 |
/* stylelint-disable selector-class-pattern */ |
| 4 |
|
| 5 |
a.new { |
| 6 |
color: @color-link-new; |
| 7 |
|
| 8 |
&:visited { |
| 9 |
color: @color-link-new--visited; |
| 10 |
} |
| 11 |
} |
| 12 |
|
| 13 |
/* self links */ |
| 14 |
a.mw-selflink { |
| 15 |
color: inherit; |
| 16 |
font-weight: bold; |
| 17 |
text-decoration: inherit; |
| 18 |
|
| 19 |
&:hover { |
| 20 |
cursor: inherit; |
| 21 |
text-decoration: inherit; |
| 22 |
} |
| 23 |
|
| 24 |
&:active, |
| 25 |
&:visited { |
| 26 |
color: inherit; |
| 27 |
} |
| 28 |
} |
| 29 |
|
| 30 |
/* Interwiki & External links */ |
| 31 |
.mw-parser-output { |
| 32 |
a.extiw, |
| 33 |
a.external { |
| 34 |
color: @color-link-external; |
| 35 |
|
| 36 |
&:visited { |
| 37 |
color: @color-link-external--visited; |
| 38 |
} |
| 39 |
|
| 40 |
&:active { |
| 41 |
color: @color-link-external--active; |
| 42 |
} |
| 43 |
} |
| 44 |
} |
| 45 |
|
| 46 |
/* Underline preference */ |
| 47 |
|
| 48 |
.mw-underline-always a { |
| 49 |
text-decoration: underline; |
| 50 |
} |
| 51 |
|
| 52 |
.mw-underline-never a { |
| 53 |
text-decoration: none; |
| 54 |
} |
| 55 |
|
| 56 |
/* Plainlinks - this can be used to switch |
| 57 |
* off special external link styling */ |
| 58 |
.plainlinks a.external { |
| 59 |
background: none !important; /* stylelint-disable-line declaration-no-important */ |
| 60 |
padding: 0 !important; /* stylelint-disable-line declaration-no-important */ |
| 61 |
} |