Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Tag: Reverted
Line 39: Line 39:
  background-color: var(--background-color-overlay) !important;
  background-color: var(--background-color-overlay) !important;
  color: var(--color-base--emphasized) !important;
  color: var(--color-base--emphasized) !important;
}
.wikitable {
    border: 1px solid black;
    border-collapse: collapse;
}
.wikitable th, .wikitable td {
    border: 1px solid black;
}
@media (prefers-color-scheme: dark) {
    .wikitable {
        border: 1px solid white;
    }
    .wikitable th, .wikitable td {
        border: 1px solid white;
    }
}
}

Revision as of 23:24, 10 February 2025

/* CSS placed here will be applied to all skins */

/* Planning to make a new infobox, infobox-2 is the old one */ /* Don't remember why - as far as I can tell infobox-2 looks good for now, hit me (Elias) up if you notice any problems with it */

.infobox-2 { /*Gets overridden by the floatright class, not sure why*/
 margin-left:auto;
 margin-right:auto;
}

.infobox-2 th, .infobox-2 td {
    vertical-align: top;
}

.infobox-2 td {
text-align: right;
}

/*This should make the [Mark this page as patrolled] appear under the whole page. Could put it to scroll rather than hidden to make it easy to notice if something's cut off, but I'm scared people might think that's intended (and it's so ugly...)*/
/* .mw-parser-output {
 overflow: hidden;
} */
/*I'll never use it, just make it invisible for now:*/
.patrollink {
 display: none;
}

/*Page forms... gotta figure out a good way to style this. !important is not it.*/
#pfForm * {
 background-color: var(--background-color-overlay) !important;
 color: var(--color-base--emphasized) !important;
}

.pf-select2-dropdown * {
 background-color: var(--background-color-overlay--lighter) !important;
 var(--color-base--emphasized) !important;
}

.templateForm, .templateForm * {
 background-color: var(--background-color-overlay) !important;
 color: var(--color-base--emphasized) !important;
}

.wikitable {
    border: 1px solid black;
    border-collapse: collapse;
}
.wikitable th, .wikitable td {
    border: 1px solid black;
}
@media (prefers-color-scheme: dark) {
    .wikitable {
        border: 1px solid white;
    }
    .wikitable th, .wikitable td {
        border: 1px solid white;
    }
}