MediaWiki:Common.less/links.less
< MediaWiki:Common.less
Jump to navigation
Jump to search
Revision as of 11:56, 20 December 2018 by Corey (talk | contribs) (Corey changed the content model of the page MediaWiki:Common.less/links.less from "wikitext" to "CSS")
Note: After saving, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
// <pre>
/* =================
link colors
================= */
@internal-link-color: saturate( darken( @steel-blue, 6% ), 8% );
@external-link-color: lighten( spin( @internal-link-color, 15% ), 5% );
/* --------------------
internal links
-------------------- */
a,
image a,
div.vectorTabs li a, /* top tabs */
div.vectorMenu li a, /* top tabs dropdown */
#mw-panel .portal .body li a /* sidebar */ {
color: @internal-link-color;
&:visited,
&:active {
color: @internal-link-color;
}
// redlinks
&.new {
color: #ba0000;
&:visited {
color: #ba0000;
}
}
}
/* --------------------
external links
-------------------- */
.mw-body-content a.external,
.mw-body-content a.extiw, /* interwiki link */ {
color: @external-link-color;
&:visited,
&:active {
color: @external-link-color;
}
}