MediaWiki:Common.less/links.less: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(Created page with "→================= link colors =================: →-------------------- internal links --------------------: a { color: @LINK_COLOR; &:visited, &:active { color: @LINK_COLOR; } &.new { color: @REDLINK_COLOR; &:visited { color: @REDLINK_COLOR; } } } // interwiki link .mw-parser-output a.extiw, // external links .mw-parser-output a.external { color: @LINK_COLOR; &:visited, &:active { color: @LINK_COLOR; } } // recolo...") |
No edit summary Tag: Reverted |
||
Line 1: | Line 1: | ||
/* ================= link colors ================= *//* -------------------- internal links -------------------- */a { color: @LINK_COLOR; &:visited, &:active { color: @LINK_COLOR; } &.new { color: @REDLINK_COLOR; &:visited { color: @REDLINK_COLOR; } }}// interwiki link.mw-parser-output a.extiw,// external links.mw-parser-output a.external { color: @LINK_COLOR; &:visited, &:active { color: @LINK_COLOR; }}// recolor internal purge links classified by MediaWiki as external.jsPurgeLink a.external { color: @LINK_COLOR;} |
|||
/* ================= |
|||
link colors |
|||
================= */ |
|||
/* -------------------- |
|||
internal links |
|||
-------------------- */ |
|||
a { |
|||
color: @LINK_COLOR; |
|||
&:visited, |
|||
&:active { |
|||
color: @LINK_COLOR; |
|||
} |
|||
&.new { |
|||
color: @REDLINK_COLOR; |
|||
&:visited { |
|||
color: @REDLINK_COLOR; |
|||
} |
|||
} |
|||
} |
|||
// interwiki link |
|||
.mw-parser-output a.extiw, |
|||
// external links |
|||
.mw-parser-output a.external { |
|||
color: @LINK_COLOR; |
|||
&:visited, |
|||
&:active { |
|||
color: @LINK_COLOR; |
|||
} |
|||
} |
|||
// recolor internal purge links classified by MediaWiki as external |
|||
.jsPurgeLink a.external { |
|||
color: @LINK_COLOR; |
|||
} |
Revision as of 17:12, 17 October 2024
/* ================= link colors ================= *//* -------------------- internal links -------------------- */a { color: @LINK_COLOR; &:visited, &:active { color: @LINK_COLOR; } &.new { color: @REDLINK_COLOR; &:visited { color: @REDLINK_COLOR; } }}// interwiki link.mw-parser-output a.extiw,// external links.mw-parser-output a.external { color: @LINK_COLOR; &:visited, &:active { color: @LINK_COLOR; }}// recolor internal purge links classified by MediaWiki as external.jsPurgeLink a.external { color: @LINK_COLOR;}