MediaWiki:Common.less/links.less
< MediaWiki:Common.less
Jump to navigation
Jump to search
Revision as of 11:55, 20 December 2018 by Corey (talk | contribs) (Created page with "// <pre> →================= link colors =================: @internal-link-color: saturate( darken( @steel-blue, 6% ), 8% ); @external-link-color: lighten( spin(...")
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.
//
/* ================= 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; } }