MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
(Removed the background on Auto mode to remove confusion for different devices.)
No edit summary
 
(13 intermediate revisions by the same user not shown)
Line 12: Line 12:
:root.skin-citizen-dark {
:root.skin-citizen-dark {
   body {
   body {
         background-image: url('images/6/61/LM2_Modding_Wiki_-_Wallpaper_(Dark_Green%2C_Low-Res.).png');
         background-image: url('images/LM2M_serverGraphics_iconWallpaper_final.png');
         background-repeat: repeat;
         background-repeat: repeat;
         background-size: 512px;
         background-size: 512px;
Line 28: Line 28:


/* Custom Fonts */
/* Custom Fonts */
@font-face {
 
/* Alor -- Old */
/* @font-face {
     font-family: 'Alor';
     font-family: 'Alor';
     src: url('fonts/Alor-Normal.eot');
     src: url('fonts/Alor-Normal.eot');
Line 48: Line 50:
         url('fonts/AlorNarrowNormal.ttf') format('truetype');
         url('fonts/AlorNarrowNormal.ttf') format('truetype');
     font-weight: normal;
     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-style: normal;
     font-display: swap;
     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-body,
Line 60: Line 122:
.mw-allpages-table-form,
.mw-allpages-table-form,
.mw-allpages-nav {
.mw-allpages-nav {
font-family: 'Alor Narrow' !important;
font-family: 'ITC Serif Gothic Std' !important;
text-shadow: 2px 2px 2px black
}
}

Latest revision as of 22:34, 26 July 2025

/* 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/LM2M_serverGraphics_iconWallpaper_final.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;
text-shadow: 2px 2px 2px black
}