MediaWiki:Common.less/links.less

From Old School Near-Reality Wiki
< MediaWiki:Common.less
Revision as of 22:34, 4 October 2022 by Jacmob (talk | contribs) (Created page with "// <pre> →‎================= 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; } }...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

//

/* =================
      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;
}