Jump to content

User:Dendodge/common.css: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Allow inline styles to override colours
m Terrible idea
Line 1: Line 1:
*:not(.legend-color):not([style]) {
*:not(.legend-color) {
color: #ccc !important;
color: #ccc !important;
background-color: #333 !important;
background-color: #333 !important;

Revision as of 14:49, 13 January 2020

*:not(.legend-color) {
    color: #ccc !important;
    background-color: #333 !important;
}
a:not(.legend-color), a *:not(.legend-color) {
    color: #30b7f3 !important;
}
a.external:not(.legend-color), a.external *:not(.legend-color) {
    color: #63ff33 !important;
}

img:not(.legend-color) {
    filter: invert(100%) hue-rotate(180deg);
    background-color: rgba(0, 0, 0, 0) !important;
}
img:hover:not(.legend-color),
img[src$=jpg]:not(.legend-color),
img[src$=JPG]:not(.legend-color),
img[src$=jpeg]:not(.legend-color),
img[src$=JPEG]:not(.legend-color),
img[src*=flag]:not(.legend-color),
img[src*=Flag]:not(.legend-color) {
    filter: none !important;
    background-color: #fff !important;
}
ul {
    list-style-image: none;
}
.mw-body-content {
    font-size: 140%;
    font-family: "Linux Libertine O", "Linux Libertine", "Source Serif Pro", serif;
}
.mw-body {
    border: none;
}
.mw-body-content p,
li,
dd {
    max-width: 60ch;
}
.floatleft,
.floatright,
.tleft,
.tright {
    float: right !important;
    right: 0 !important;
}
.citation-comment {
    display: inline !important;
}