MediaWiki:Common.css

MediaWiki interface page
Revision as of 01:51, 20 January 2024 by Lionir (talk | contribs) (Replaced content with "→‎CSS placed here will be applied to all skins: .infobox { border-radius: var( --border-radius--medium ); background-color: var( --color-surface-2 ); float: right; width: 100%; max-width: 400px; } .infobox__title { color: var( --color-base--emphasized ); font-weight: var( --font-weight-semibold ); font-size: var( --font-size-h3 ); } .infobox-image { max-width: 100%; height: auto; } .infobox-table th { text-align: right;...")

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 */
.infobox {
    border-radius: var( --border-radius--medium );
    background-color: var( --color-surface-2 );
    float: right;
    width: 100%;
    max-width: 400px;
}
.infobox__title {
    color: var( --color-base--emphasized );
    font-weight: var( --font-weight-semibold );
    font-size: var( --font-size-h3 );
}
.infobox-image {
    max-width: 100%;
    height: auto;
}
.infobox-table th {
    text-align: right;
    vertical-align: top;
    width: 120px;
}
.infobox-table td {
    vertical-align: top;
}