MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary Tag: Reverted |
||
| Line 11: | Line 11: | ||
.mc-font { | .mc-font { | ||
font-family: Minecraftia; | font-family: Minecraftia; | ||
} | |||
body { | |||
background: #ffffff; | |||
font-family: "Trebuchet MS", sans-serif; | |||
padding: 0; | |||
} | |||
/* Quote container */ | |||
.quote-box { | |||
display: flex; | |||
gap: 20px; | |||
background: rgb(230, 230, 230); | |||
border: 4px solid #647C8C; | |||
padding: 20px; | |||
max-width: 800px; | |||
} | |||
/* Player column */ | |||
.quote-box .player { | |||
width: 150px; | |||
text-align: center; | |||
flex-shrink: 0; | |||
} | |||
/* Player head image */ | |||
.quote-box .player-head { | |||
width: 100%; | |||
image-rendering: pixelated; | |||
border: 3px solid #647C8C; | |||
} | |||
/* Player name */ | |||
.quote-box .player-name { | |||
margin-top: 8px; | |||
font-weight: bold; | |||
color: #000000; | |||
font-size: 18px; | |||
} | |||
/* Optional title */ | |||
.quote-box .player-title { | |||
margin-top: 4px; | |||
font-size: 14px; | |||
color: #000000; | |||
opacity: 0.65; | |||
font-style: italic; | |||
} | |||
.quote-box .quote { | |||
color: #000000; | |||
font-size: 14px; | |||
line-height: 1.2; | |||
display: flex; | |||
align-items: center; | |||
} | } | ||
Revision as of 07:00, 16 March 2026
/* CSS placed here will be applied to all skins */
html.client-darkmode #p-logo {
filter: invert(1) hue-rotate(180deg);
}
@font-face {
font-family: Minecraftia;
src: url('https://wiki.crafters.one/mediawiki/resources/assets/Minecraftia.ttf');
}
.mc-font {
font-family: Minecraftia;
}
body {
background: #ffffff;
font-family: "Trebuchet MS", sans-serif;
padding: 0;
}
/* Quote container */
.quote-box {
display: flex;
gap: 20px;
background: rgb(230, 230, 230);
border: 4px solid #647C8C;
padding: 20px;
max-width: 800px;
}
/* Player column */
.quote-box .player {
width: 150px;
text-align: center;
flex-shrink: 0;
}
/* Player head image */
.quote-box .player-head {
width: 100%;
image-rendering: pixelated;
border: 3px solid #647C8C;
}
/* Player name */
.quote-box .player-name {
margin-top: 8px;
font-weight: bold;
color: #000000;
font-size: 18px;
}
/* Optional title */
.quote-box .player-title {
margin-top: 4px;
font-size: 14px;
color: #000000;
opacity: 0.65;
font-style: italic;
}
.quote-box .quote {
color: #000000;
font-size: 14px;
line-height: 1.2;
display: flex;
align-items: center;
}