MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| (19 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
/* Background Image */ | /* Background Image */ | ||
:root { | |||
/* Image used when in Light mode */ | |||
:root..skin-theme-clientpref-light { | |||
body { | body { | ||
background-image: url('resources/assets/WallpaperBG.png'); | background-image: url('resources/assets/WallpaperBG-Light.png'); | ||
background-repeat: repeat; | background-repeat: repeat; | ||
background-size: 512px; | background-size: 512px; | ||
| Line 10: | Line 14: | ||
} | } | ||
:root.skin- | |||
/* Image used in Dark mode */ | |||
:root..skin-theme-clientpref-night { | |||
body { | body { | ||
background-image: url('resources/assets/WallpaperBG.png'); | background-image: url('resources/assets/WallpaperBG-Darker.png'); | ||
background-repeat: repeat; | background-repeat: repeat; | ||
background-size: 512px; | background-size: 512px; | ||
| Line 19: | Line 26: | ||
/* Image class that makes it take up 80% of the page's width */ | |||
img.80width { | |||
width: 80%; | |||
height: auto; | |||
} | |||
@font-face { | |||
font-family: 'Pop Happiness'; | |||
src: url('/fonts/FOT-PopHappinessStd-EB.woff2') format('woff2'), | |||
url('/fonts/FOT-PopHappinessStd-EB.woff') format('woff'); | |||
font-weight: normal; | |||
font-style: normal; | |||
font-display: swap; | |||
} | |||
@font-face { | @font-face { | ||
font-family: 'Comic Mystery'; | font-family: 'Comic Mystery'; | ||
src: url(' | src: url('/fonts/FOT-ComicMysteryStd-DB.woff') format('woff'); | ||
font-weight: normal; | font-weight: normal; | ||
font-style: normal; | font-style: normal; | ||
| Line 33: | Line 52: | ||
@font-face { | @font-face { | ||
font-family: ' | font-family: 'Mystery'; | ||
src: url(' | src: url('/fonts/FOT-MysteryStd-DB.woff') format('woff'); | ||
font-weight: normal; | |||
font-style: normal; | |||
font-display: swap; | |||
} | |||
@font-face { | |||
font-family: 'Chiaro'; | |||
src: url('/fonts/FOT-ChiaroStd-B.woff') format('woff'); | |||
font-weight: normal; | |||
font-style: normal; | |||
font-display: swap; | |||
} | |||
@font-face { | |||
font-family: 'Matisse Eleganto Pro'; | |||
src: url('/fonts/FOT-MatisseElegantoPro-B.woff') format('woff'); | |||
font-weight: normal; | font-weight: normal; | ||
font-style: normal; | font-style: normal; | ||
font-display: swap; | font-display: swap; | ||
} | |||
h1, h2, h3, h4, h5, h6 { | |||
font-family: 'Comic Mystery', sans-serif; | |||
} | } | ||
Latest revision as of 14:43, 6 July 2025
/* CSS placed here will be applied to all skins */
/* Background Image */
/* Image used when in Light mode */
:root..skin-theme-clientpref-light {
body {
background-image: url('resources/assets/WallpaperBG-Light.png');
background-repeat: repeat;
background-size: 512px;
}
}
/* Image used in Dark mode */
:root..skin-theme-clientpref-night {
body {
background-image: url('resources/assets/WallpaperBG-Darker.png');
background-repeat: repeat;
background-size: 512px;
}
}
/* Image class that makes it take up 80% of the page's width */
img.80width {
width: 80%;
height: auto;
}
@font-face {
font-family: 'Pop Happiness';
src: url('/fonts/FOT-PopHappinessStd-EB.woff2') format('woff2'),
url('/fonts/FOT-PopHappinessStd-EB.woff') format('woff');
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Comic Mystery';
src: url('/fonts/FOT-ComicMysteryStd-DB.woff') format('woff');
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Mystery';
src: url('/fonts/FOT-MysteryStd-DB.woff') format('woff');
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Chiaro';
src: url('/fonts/FOT-ChiaroStd-B.woff') format('woff');
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Matisse Eleganto Pro';
src: url('/fonts/FOT-MatisseElegantoPro-B.woff') format('woff');
font-weight: normal;
font-style: normal;
font-display: swap;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Comic Mystery', sans-serif;
}