MediaWiki:Common.css

MediaWiki interface page

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 */

/* Background Image */
:root {
/* Image used when in Auto mode */
  body {
        background-image: url('WallpaperBG.png');
        background-repeat: repeat;
        background-size: 512px;
       }
}

/* Image used when in Dark mode */
:root.skin-citizen-dark {
  body {
        background-image: url('resources/assets/wallpaper-dark_low.png');
        background-repeat: repeat;
        background-size: 512px;
       }
}

/* Image used when in Light mode */
:root.skin-citizen-light {
  body {
        background-image: url('resources/assets/wallpaper-light_low.png');
        background-repeat: repeat;
        background-size: 512px;
       }
}

/* Custom Fonts */
@font-face {
    font-family: 'Alor';
    src: url('fonts/Alor-Normal.eot');
    src: url('fonts/Alor-Normal.eot?#iefix') format('embedded-opentype'),
        url('fonts/Alor-Normal.woff2') format('woff2'),
        url('fonts/Alor-Normal.woff') format('woff'),
        url('fonts/Alor-Normal.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Alor Narrow';
    src: url('fonts/AlorNarrowNormal.eot');
    src: url('fonts/AlorNarrowNormal.eot?#iefix') format('embedded-opentype'),
        url('fonts/AlorNarrowNormal.woff2') format('woff2'),
        url('fonts/AlorNarrowNormal.woff') format('woff'),
        url('fonts/AlorNarrowNormal.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


.mw-body,
.mw-headline,
.mw-label,
.mw-input,
.mw-body-content,
.mw-allpages-table-form,
.mw-allpages-nav {
font-family: 'Alor Narrow' !important;
}