MediaWiki:Common.css: различия между версиями

Remove unsupported :root block and keep literal red link accent rules
Simplify link accent CSS to ResourceLoader-safe selectors
Строка 101: Строка 101:
}
}
/* mafiawiki-global-link-accent */
/* mafiawiki-global-link-accent */
.mw-body a:not(.new),
.mw-body a,
.mw-body-content a:not(.new),
.mw-body-content a,
.mw-parser-output a:not(.new),
.mw-parser-output a,
#mw-panel a:not(.new),
#mw-panel a,
.vector-header-container a:not(.new),
.vector-header-container a,
.vector-sticky-header a:not(.new),
.vector-sticky-header a,
.mw-portlet a:not(.new) {
.mw-portlet a {
   color: #cc0000 !important;
   color: #cc0000;
}
}


.mw-body a:not(.new):visited,
.mw-body a:visited,
.mw-body-content a:not(.new):visited,
.mw-body-content a:visited,
.mw-parser-output a:not(.new):visited,
.mw-parser-output a:visited,
#mw-panel a:not(.new):visited,
#mw-panel a:visited,
.vector-header-container a:not(.new):visited,
.vector-header-container a:visited,
.vector-sticky-header a:not(.new):visited,
.vector-sticky-header a:visited,
.mw-portlet a:not(.new):visited {
.mw-portlet a:visited {
   color: #7a0000 !important;
   color: #7a0000;
}
}


.mw-body a:not(.new):hover,
.mw-body a:hover,
.mw-body-content a:not(.new):hover,
.mw-body-content a:hover,
.mw-parser-output a:not(.new):hover,
.mw-parser-output a:hover,
#mw-panel a:not(.new):hover,
#mw-panel a:hover,
.vector-header-container a:not(.new):hover,
.vector-header-container a:hover,
.vector-sticky-header a:not(.new):hover,
.vector-sticky-header a:hover,
.mw-portlet a:not(.new):hover,
.mw-portlet a:hover,
.mw-body a:not(.new):focus,
.mw-body a:focus,
.mw-body-content a:not(.new):focus,
.mw-body-content a:focus,
.mw-parser-output a:not(.new):focus,
.mw-parser-output a:focus,
#mw-panel a:not(.new):focus,
#mw-panel a:focus,
.vector-header-container a:not(.new):focus,
.vector-header-container a:focus,
.vector-sticky-header a:not(.new):focus,
.vector-sticky-header a:focus,
.mw-portlet a:not(.new):focus {
.mw-portlet a:focus {
   color: #990000 !important;
   color: #990000;
}
}