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

MediaWiki:Common.css

MediaWiki interface page
Revision as of 13:58, 6 August 2024 by Elias (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* 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;
}