MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 59: | Line 59: | ||
} | } | ||
@font-face { | |||
font-family: 'Chiaro'; | |||
src: url('/fonts/FOT-ChiaroStd-B.woff') format('woff'); | |||
font-weight: normal; | |||
font-style: normal; | |||
font-display: swap; | |||
} | |||
body { | |||
font-family: 'Chiaro', sans-serif; | |||
} | |||
h1, h2, h3, h4, h5, h6 { | h1, h2, h3, h4, h5, h6 { | ||
font-family: 'Comic Mystery', sans-serif; | font-family: 'Comic Mystery', sans-serif; | ||
} | } | ||
Revision as of 15:05, 8 October 2024
/* CSS placed here will be applied to all skins */
/* Background Image */
/* Image used when in Light mode */
:root.skin-citizen-light {
body {
background-image: url('resources/assets/WallpaperBG-Light.png');
background-repeat: repeat;
background-size: 512px;
}
}
/* Image used in Dark mode */
:root.skin-citizen-dark {
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;
}
body {
font-family: 'Chiaro', sans-serif;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Comic Mystery', sans-serif;
}