MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 37: | Line 37: | ||
@font-face { | @font-face { | ||
font-family: 'Comic Mystery'; | font-family: 'Comic Mystery'; | ||
src: url('fonts/ComicMysteryStd-DB-AlphaNum.eot'); | src: url('/fonts/ComicMysteryStd-DB-AlphaNum.eot'); | ||
src: url('fonts/ComicMysteryStd-DB-AlphaNum.eot?#iefix') format('embedded-opentype'), | src: url('/fonts/ComicMysteryStd-DB-AlphaNum.eot?#iefix') format('embedded-opentype'), | ||
url('fonts/ComicMysteryStd-DB-AlphaNum.woff2') format('woff2'), | url('/fonts/ComicMysteryStd-DB-AlphaNum.woff2') format('woff2'), | ||
url('fonts/ComicMysteryStd-DB-AlphaNum.woff') format('woff'), | url('/fonts/ComicMysteryStd-DB-AlphaNum.woff') format('woff'), | ||
url('fonts/ComicMysteryStd-DB-AlphaNum.ttf') format('truetype'); | url('/fonts/ComicMysteryStd-DB-AlphaNum.ttf') format('truetype'); | ||
font-weight: normal; | font-weight: normal; | ||
font-style: normal; | font-style: normal; | ||
| Line 49: | Line 49: | ||
@font-face { | @font-face { | ||
font-family: 'Pop Happiness'; | font-family: 'Pop Happiness'; | ||
src: url('PopHappinessStd-EB-AlphaNum.eot'); | src: url('/fonts/PopHappinessStd-EB-AlphaNum.eot'); | ||
src: url('PopHappinessStd-EB-AlphaNum.eot?#iefix') format('embedded-opentype'), | src: url('/fonts/PopHappinessStd-EB-AlphaNum.eot?#iefix') format('embedded-opentype'), | ||
url('PopHappinessStd-EB-AlphaNum.woff2') format('woff2'), | url('/fonts/PopHappinessStd-EB-AlphaNum.woff2') format('woff2'), | ||
url('PopHappinessStd-EB-AlphaNum.woff') format('woff'), | url('/fonts/PopHappinessStd-EB-AlphaNum.woff') format('woff'), | ||
url('PopHappinessStd-EB-AlphaNum.ttf') format('truetype'); | url('/fonts/PopHappinessStd-EB-AlphaNum.ttf') format('truetype'); | ||
font-weight: normal; | font-weight: normal; | ||
font-style: normal; | font-style: normal; | ||
font-display: swap; | font-display: swap; | ||
} | } | ||
body { | body { | ||
font-family: 'Comic Mystery', sans-serif !important; | font-family: 'Comic Mystery', sans-serif !important; | ||
} | } | ||
Revision as of 14:28, 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: 'Comic Mystery';
src: url('/fonts/ComicMysteryStd-DB-AlphaNum.eot');
src: url('/fonts/ComicMysteryStd-DB-AlphaNum.eot?#iefix') format('embedded-opentype'),
url('/fonts/ComicMysteryStd-DB-AlphaNum.woff2') format('woff2'),
url('/fonts/ComicMysteryStd-DB-AlphaNum.woff') format('woff'),
url('/fonts/ComicMysteryStd-DB-AlphaNum.ttf') format('truetype');
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Pop Happiness';
src: url('/fonts/PopHappinessStd-EB-AlphaNum.eot');
src: url('/fonts/PopHappinessStd-EB-AlphaNum.eot?#iefix') format('embedded-opentype'),
url('/fonts/PopHappinessStd-EB-AlphaNum.woff2') format('woff2'),
url('/fonts/PopHappinessStd-EB-AlphaNum.woff') format('woff'),
url('/fonts/PopHappinessStd-EB-AlphaNum.ttf') format('truetype');
font-weight: normal;
font-style: normal;
font-display: swap;
}
body {
font-family: 'Comic Mystery', sans-serif !important;
}