MediaWiki:Common.less/links.less: Difference between revisions

From Brighter Shores Wiki
Jump to navigation Jump to search
Content added Content deleted
(base cp from rsw)
 
No edit summary
 
Line 16: Line 16:


&.new {
&.new {
color: @REDLINK_COLOR;
color: @REDLINK_COLOR !important;


&:visited {
&:visited {
color: @REDLINK_COLOR;
color: @REDLINK_COLOR !important;
}
}
}
}

Latest revision as of 20:03, 20 May 2024

/* =================
      link colors
   ================= */

/* --------------------
      internal links
   -------------------- */

a {
	color: @LINK_COLOR;

	&:visited,
	&:active {
		color: @LINK_COLOR;
	}

	&.new {
		color: @REDLINK_COLOR !important;

		&:visited {
			color: @REDLINK_COLOR !important;
		}
	}
}

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