MediaWiki:Common.css

MediaWiki interface page
Revision as of 22:02, 26 July 2025 by CoNesTra (talk | contribs) (Changed main font from Alor to ITC Serif Gothic Std.)

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.
/* 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('images/6/61/LM2_Modding_Wiki_-_Wallpaper_(Dark_Green%2C_Low-Res.).png');
        background-repeat: repeat;
        background-size: 512px;
       }
}

/* Image used when in Light mode */
:root.skin-citizen-light {
  body {
        background-image: url('images/0/01/LM2_Modding_Wiki_-_Wallpaper_(Light%2C_Low-Res.).png');
        background-repeat: repeat;
        background-size: 512px;
       }
}

/* Custom Fonts */

/* Alor -- Old */
/* @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;
} */

/* ITC Serif Gothic Std -- Current */
@font-face {
    font-family: 'ITC Serif Gothic Std';
    src: url('fonts/SerifGothicStd-Bold.eot');
    src: url('fonts/SerifGothicStd-Bold.eot?#iefix') format('embedded-opentype'),
        url('fonts/SerifGothicStd-Bold.woff2') format('woff2'),
        url('fonts/SerifGothicStd-Bold.woff') format('woff'),
        url('fonts/SerifGothicStd-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ITC Serif Gothic Std';
    src: url('fonts/SerifGothicStd-ExtraBold.eot');
    src: url('fonts/SerifGothicStd-ExtraBold.eot?#iefix') format('embedded-opentype'),
        url('fonts/SerifGothicStd-ExtraBold.woff2') format('woff2'),
        url('fonts/SerifGothicStd-ExtraBold.woff') format('woff'),
        url('fonts/SerifGothicStd-ExtraBold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ITC Serif Gothic Std';
    src: url('fonts/SerifGothicStd-Light.eot');
    src: url('fonts/SerifGothicStd-Light.eot?#iefix') format('embedded-opentype'),
        url('fonts/SerifGothicStd-Light.woff2') format('woff2'),
        url('fonts/SerifGothicStd-Light.woff') format('woff'),
        url('fonts/SerifGothicStd-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ITC Serif Gothic Std';
    src: url('fonts/SerifGothicStd-Heavy.eot');
    src: url('fonts/SerifGothicStd-Heavy.eot?#iefix') format('embedded-opentype'),
        url('fonts/SerifGothicStd-Heavy.woff2') format('woff2'),
        url('fonts/SerifGothicStd-Heavy.woff') format('woff'),
        url('fonts/SerifGothicStd-Heavy.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ITC Serif Gothic Std';
    src: url('fonts/SerifGothicStd.eot');
    src: url('fonts/SerifGothicStd.eot?#iefix') format('embedded-opentype'),
        url('fonts/SerifGothicStd.woff2') format('woff2'),
        url('fonts/SerifGothicStd.woff') format('woff'),
        url('fonts/SerifGothicStd.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: 'ITC Serif Gothic Std' !important;
}