MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Created page with "→CSS placed here will be applied to all skins: →Main Page Banner Container: .mp-banner { background: linear-gradient(135deg, #3366cc, #244891); color: #ffffff; padding: 30px 20px; margin-bottom: 20px; border-radius: 4px; text-align: center; box-shadow: 0 2px 4px rgba(0,0,0,0.1); } →Banner Text Styles: .mp-banner h1 { color: #ffffff !important; margin: 0 0 10px 0 !important; border: none !important; font-size: 2.2e..." |
Attempt to add Minecraftia font |
||
| Line 24: | Line 24: | ||
font-size: 1.2em; | font-size: 1.2em; | ||
opacity: 0.9; | opacity: 0.9; | ||
} | |||
/* Minecraftia font */ | |||
@font-face { | |||
font-family: "Minecraftia"; | |||
src: url("resources/assets/Minecraftia.ttf"); | |||
} | } | ||
Latest revision as of 16:35, 8 August 2026
/* CSS placed here will be applied to all skins */
/* Main Page Banner Container */
.mp-banner {
background: linear-gradient(135deg, #3366cc, #244891);
color: #ffffff;
padding: 30px 20px;
margin-bottom: 20px;
border-radius: 4px;
text-align: center;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
/* Banner Text Styles */
.mp-banner h1 {
color: #ffffff !important;
margin: 0 0 10px 0 !important;
border: none !important;
font-size: 2.2em;
}
.mp-banner p {
margin: 0;
font-size: 1.2em;
opacity: 0.9;
}
/* Minecraftia font */
@font-face {
font-family: "Minecraftia";
src: url("resources/assets/Minecraftia.ttf");
}