Jump to content

User:MJL/ProjectLinkColors.css

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
/* Never Recolor Links */
/* by MJL */
/* Documentation at [[User:MJL/NeverRecolorLinks]] */

@media screen {
	/* Day Mode */
	a:visited {
		color: var(--color-progressive,#36c);
	}
	a:visited:hover {
		color: var(--color-progressive--hover,#447ff5);
	}
	a.new:visited {
		color: #d73333;
	}
	a.new:visited:hover {
		color: #ff4242;
	}

	/* Night Mode */
	.skin-theme-clientpref-night a:visited {
		color: var(--color-progressive,#36c);
	}
	.skin-theme-clientpref-night a:visited:hover {
		color: var(--color-progressive--hover,#447ff5);
	}
	.skin-theme-clientpref-night a.new:visited {
		color: var(--color-destructive,#d73333);
	}
	.skin-theme-clientpref-night a.new:visited:hover {
		color: var(--color-destructive,#d73333);
	}

	/* Redirects Green (Night) */
	.skin-theme-clientpref-night a.mw-redirect,
	.skin-theme-clientpref-night a.mw-redirect:visited {
		color: #2ea00e;
	}
	.skin-theme-clientpref-night a.mw-redirect:hover,
	.skin-theme-clientpref-night a.mw-redirect:visited:hover {
		color: #3ea709;
	}
	.skin-theme-clientpref-night a.mw-redirect:visited:active,
	.skin-theme-clientpref-night a.mw-redirect:active {
		color: #d1f0c2;
	}

	/* Disambiguations Orange (Night) */
	.skin-theme-clientpref-night a.mw-disambig,
	.skin-theme-clientpref-night a.mw-disambig:visited {
		color: #f2936d;
	}
	.skin-theme-clientpref-night a.mw-disambig:hover,
	.skin-theme-clientpref-night a.mw-disambig:visited:hover {
		color: #e9c5af;
	}
	.skin-theme-clientpref-night a.mw-disambig:visited:active,
	.skin-theme-clientpref-night a.mw-disambig:active {
		color: #f0cac2;
	}

	/* Both Gold (Night) */
	.skin-theme-clientpref-night a.mw-disambig.mw-redirect,
	.skin-theme-clientpref-night a.mw-disambig.mw-redirect:visited {
		color: #909a3e;
	}
	.skin-theme-clientpref-night a.mw-disambig.mw-redirect:hover,
	.skin-theme-clientpref-night a.mw-disambig.mw-redirect:visited:hover {
		color: #94b65c;
	}
	.skin-theme-clientpref-night a.mw-disambig.mw-redirect:visited:active,
	.skin-theme-clientpref-night a.mw-disambig.mw-redirect:active {
		color: #e1ddc2;
	}

	/* Echo Alert fix */
	.mw-echo-alert a:visited {
		color: var(--color-emphasized,#000);
	}
	.mw-echo-alert a:visited:hover {
		color: var(--color-emphasized,#000);
	}
	.skin-theme-clientpref-night .mw-echo-alert a:visited {
		color: var(--color-inverted,#101418);
	}
	.skin-theme-clientpref-night .mw-echo-alert a:visited:hover {
		color: var(--color-inverted,#101418);
	}

	/* code display quirks */
	.skin-theme-clientpref-night code.mw-highlight,
	.skin-theme-clientpref-night div.mw-highlight pre {
		background-color: var(--background-color-neutral,#27292d);
		color: inherit;
	}
	.skin-theme-clientpref-night .mw-highlight pre .nv {
		color: #236cbd;
	}
	.skin-theme-clientpref-night .mw-highlight pre .mh {
		color: #8c8c8c;
	}
	.skin-theme-clientpref-night .mw-highlight .linenos {
		color: #dcdcdc;
	}
	.skin-theme-clientpref-night .mw-highlight .linenos:hover {
		color: #5a5e62;
	}

	.skin-theme-clientpref-night .mw-content-ltr.mw-highlight-lines pre,
	.skin-theme-clientpref-night .mw-content-ltr.content .mw-highlight-lines pre {
		box-shadow: inset 2.75em 0 0 #363636;
	}
	.skin-theme-clientpref-night code.mw-highlight .hll,
	.skin-theme-clientpref-night div.mw-highlight pre .hll {
		color: var(--background-color-interactive,#27292d);
	}

	/* Banners */
	.skin-theme-clientpref-night #mw-script-doc {
		background-color: #0d5330!important;
		color: var(--color-notice,#f8f9fa);
	}
	.skin-theme-clientpref-night #mw-script-doc td.mbox-image img {
		border-radius: 5px;
		background-color: var(--color-notice,#f8f9fa);
		padding-right: 1px;
	}

	/* Watchlist star */
	.mw-watchlink .mw-ui-icon-wikimedia-unStar {
		background: var(--color-progressive,#36c);
	}
}