Nothing Special   »   [go: up one dir, main page]

Jump to content

User:MJL/global.css: Difference between revisions

From Meta, a Wikimedia project coordination wiki
Content deleted Content added
temp clear
Tags: Blanking Reverted
Undo revision 25430639 by MJL (talk) didn't work
Tag: Undo
Line 1: Line 1:
/* Never Recolor Links */
/* by MJL */
/* Documentation at [[User:MJL/NeverRecolorLinks]] */

/* Always Blue Links */
a:visited,
#mw-panel .portal .body li a:visited,
.skin-vector .vector-menu-portal .body li a:visited,
.skin-vector .vector-menu-content li a:visited {
color: #0645ad;
}

.skin-vector .vector-menu-tabs li a:active {
color: #0645ad!important;
}

.external:visited, .extiw:visited {
color: #36b!important;
}

.skin-vector #mw-imagepage-section-globalusage a:visited {
color: #0645ad!important;
}

/* Minerva */
.skin-minerva a:visited {
color: #3366cc;
}

.skin-minerva .external:visited,
.skin-minerva .extiw:visited {
color: #3366cc!important;
}

.skin-minerva .last-modified-bar a:visited,
.skin-minerva .page-actions-menu__list-item a:visited,
.skin-minerva .last-modified-bar__text,
.skin-minerva .modified-enhancement {
color: #54595d!important;
}

.skin-minerva .last-modified-bar.active a:visited,
.skin-minerva .notification-count.notification-unseen {
color: #fff!important;
}

/* Always Red Links */
a.new:visited,
#p-personal a.new:visited {
color:#d33;
}

.wikipagelink {
color: #0000ee!important;
}

.skin-vector .vector-menu-tabs .new a:visited {
color: #a55858;
}

.skin-vector .skin-vector-legacy a.new:visited,
.skin-vector .mw-parser-output a.new:visited {
color: #ba0000!important;
}

/* Always Black links */
.skin-vector .vector-menu-tabs .selected a:visited,
.skin-vector .vector-menu-tabs .selected a.skin-vector,
.skin-vector .vector-menu-tabs .selected a.skin-vector:visited,
.skin-minerva .ext-related-articles-card-list a:visited {
color: #202122;
}

.skin-vector .vector-menu-tabs .selected a.skin-vector:active,
.skin-vector .vector-menu-tabs .selected a:active {
color: #202122!important;
}

.minerva__tab-container a:visited {
color: #54595d;
}

/* Adding support for Modern */
.skin-modern #mw_portlets .portlet .pbody a:visited,
.skin-modern #mw_contentwrapper a:visited,
.skin-modern a:visited {
color: #036;
}

/* Always Gray links */
.skin-modern .mw-footer a,
.skin-modern .mw-footer a:hover,
.skin-modern .mw-footer a:visited {
color: #444!important;
}

/* New Vector support */
.vector-feature-page-tools-disabled .vector-main-menu-group .vector-menu-content li a:visited,
.vector-feature-page-tools-disabled .vector-main-menu-action-item .vector-menu-content li a:visited {
color: #3366cc;
}

.skin-vector-2022 a:visited,
.skin-vector-2022 #mw-panel .portal .body li a:visited,
.skin-vector.skin-vector-2022 .vector-menu-portal .body li a:visited,
.skin-vector.skin-vector-2022 .vector-menu-content li a:visited {
color: #3366cc;
}

.skin-vector.skin-vector-2022 .vector-menu-tabs li a:active {
color: #0645ad!important;
}

.skin-vector.skin-vector-2022 #mw-imagepage-section-globalusage a:visited {
color: #3366cc;
}

.skin-vector.skin-vector-2022 a.new:visited,
.skin-vector.skin-vector-2022 .mw-parser-output a.new:visited {
color: #dd3333!important;
}

.skin-vector.skin-vector-2022 .vector-menu-tabs .selected a:visited {
color: #202122;
}

.skin-vector.skin-vector-2022 .vector-menu-tabs .selected a.mw-redirect:visited {
color: #202122!important;
}

.skin-vector-2022 .autocomment a:visited {
color: #72777d;
}

.skin-vector:not(.skin-vector-legacy) .wb-langlinks-link a,
.skin-vector:not(.skin-vector-legacy) .wb-langlinks-link a:visited {
color: #3366cc!important;
}

/* Always Active links */
a:active {
color: #faa700;
}

.skin-minerva .last-modified-bar a:active,
.skin-vector a.mw-redirect.mw-disambig:active,
.skin-vector a.mw-redirect:active,
.skin-vector a.mw-disambig:active,
.skin-minerva #mw-mf-page-left ul.hlist li a:active {
color: #faa700!important;
}

a.mw-selflink:active,
a.mw-selflink:visited {
color: inherit!important;
}

.skin-minerva .mw-parser-output a.extiw:active,
.skin-minerva .mw-parser-output a.external:active {
color: #bb6633!important;
}

#mw-mf-page-left ul li a:active {
color: #54595d!important;
}

/* Other fixes */
[href="https://creativecommons.org/licenses/by-sa/3.0/"] {
padding-right: 0!important;
background: none!important;
}

Revision as of 21:33, 9 August 2023

/* Never Recolor Links */
/* by MJL */
/* Documentation at [[User:MJL/NeverRecolorLinks]] */

/* Always Blue Links */
a:visited,
#mw-panel .portal .body li a:visited,
.skin-vector .vector-menu-portal .body li a:visited,
.skin-vector .vector-menu-content li a:visited {
	color: #0645ad;
}

.skin-vector .vector-menu-tabs li a:active {
	color: #0645ad!important;
}

.external:visited, .extiw:visited {
	color: #36b!important;
}

.skin-vector #mw-imagepage-section-globalusage a:visited {
	color: #0645ad!important;
}

/* Minerva */
.skin-minerva a:visited {
	color: #3366cc;
}

.skin-minerva .external:visited,
.skin-minerva .extiw:visited {
	color: #3366cc!important;
}

.skin-minerva .last-modified-bar a:visited,
.skin-minerva .page-actions-menu__list-item a:visited,
.skin-minerva .last-modified-bar__text,
.skin-minerva .modified-enhancement {
	color: #54595d!important;
}

.skin-minerva .last-modified-bar.active a:visited,
.skin-minerva .notification-count.notification-unseen {
	color: #fff!important;
}

/* Always Red Links */
a.new:visited,
#p-personal a.new:visited {
	color:#d33;
}

.wikipagelink {
	color: #0000ee!important;
}

.skin-vector .vector-menu-tabs .new a:visited {
	color: #a55858;
}

.skin-vector .skin-vector-legacy a.new:visited,
.skin-vector .mw-parser-output a.new:visited {
	color: #ba0000!important;
}

/* Always Black links */
.skin-vector .vector-menu-tabs .selected a:visited,
.skin-vector .vector-menu-tabs .selected a.skin-vector,
.skin-vector .vector-menu-tabs .selected a.skin-vector:visited,
.skin-minerva .ext-related-articles-card-list a:visited {
	color: #202122;
}

.skin-vector .vector-menu-tabs .selected a.skin-vector:active,
.skin-vector .vector-menu-tabs .selected a:active {
	color: #202122!important;
}

.minerva__tab-container a:visited {
	color: #54595d;
}

/* Adding support for Modern */
.skin-modern #mw_portlets .portlet .pbody a:visited,
.skin-modern #mw_contentwrapper a:visited,
.skin-modern a:visited {
	color: #036;
}

/* Always Gray links */
.skin-modern .mw-footer a,
.skin-modern .mw-footer a:hover,
.skin-modern .mw-footer a:visited {
	color: #444!important;
}

/* New Vector support */
.vector-feature-page-tools-disabled .vector-main-menu-group .vector-menu-content li a:visited,
.vector-feature-page-tools-disabled .vector-main-menu-action-item .vector-menu-content li a:visited {
	color: #3366cc;
}

.skin-vector-2022 a:visited,
.skin-vector-2022 #mw-panel .portal .body li a:visited,
.skin-vector.skin-vector-2022 .vector-menu-portal .body li a:visited,
.skin-vector.skin-vector-2022 .vector-menu-content li a:visited {
	color: #3366cc;
}

.skin-vector.skin-vector-2022 .vector-menu-tabs li a:active {
	color: #0645ad!important;
}

.skin-vector.skin-vector-2022 #mw-imagepage-section-globalusage a:visited {
	color: #3366cc;
}

.skin-vector.skin-vector-2022 a.new:visited,
.skin-vector.skin-vector-2022 .mw-parser-output a.new:visited {
	color: #dd3333!important;
}

.skin-vector.skin-vector-2022 .vector-menu-tabs .selected a:visited {
	color: #202122;
}

.skin-vector.skin-vector-2022 .vector-menu-tabs .selected a.mw-redirect:visited {
	color: #202122!important;
}

.skin-vector-2022 .autocomment a:visited {
	color: #72777d;
}

.skin-vector:not(.skin-vector-legacy) .wb-langlinks-link a,
.skin-vector:not(.skin-vector-legacy) .wb-langlinks-link a:visited {
	color: #3366cc!important;
}

/* Always Active links */
a:active {
	color: #faa700;
}

.skin-minerva .last-modified-bar a:active,
.skin-vector a.mw-redirect.mw-disambig:active,
.skin-vector a.mw-redirect:active,
.skin-vector a.mw-disambig:active,
.skin-minerva #mw-mf-page-left ul.hlist li a:active {
	color: #faa700!important;
}

a.mw-selflink:active,
a.mw-selflink:visited {
	color: inherit!important;
}

.skin-minerva .mw-parser-output a.extiw:active,
.skin-minerva .mw-parser-output a.external:active {
	color: #bb6633!important;
}

#mw-mf-page-left ul li a:active {
	color: #54595d!important;
}

/* Other fixes */
[href="https://creativecommons.org/licenses/by-sa/3.0/"] {
	padding-right: 0!important;
	background: none!important;
}