MediaWiki:Common.css
Appearance
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* Custom Fonts */
@font-face {
font-family: "Rubik";
src: url(https://survivalcraft.wiki/content/Fonts/Rubik.ttf) format("truetype");
}
@font-face {
font-family: "Rubik Italic";
src: url(https://survivalcraft.wiki/content/Fonts/Rubik_Italic.ttf) format("truetype");
}
@font-face {
font-family: "Pericles";
src: url(https://survivalcraft.wiki/content/Fonts/Pericles.ttf) format("truetype");
}
/* Changes the font-family style of all content */
#content, body, h1, h2, h3,h4, h5 {
font-family: 'Rubik' !important;
}
/* Removes all default CSS icons */
#content a.external {
background: none !important;
padding: 0 !important;
}
.mw-heading, h2 {
padding-top: 0 !important;
}
.mw-heading3 h3 {
font-weight: 400;
}
.mw-head-base {
background-color: #dfdbc3;
}
.mw-logo-wordmark {
color: #287308;
font-weight: 600;
}
.mw-logo-wordmark:hover {
color: #28b017;
}
.message-box {
padding: 0.5em 0.5em 0.5em 0.5em;
margin: 1em 0.5em 1em 0.5em;
}
/* Gallery Classes */
.gallery-container {
border: 1px solid #ccc;
width: 260px;
display: inline-block;
}
.gallery-container:hover {
border: 1px solid #777;
}
.gallery-caption {
font-size: 12px;
padding: 15px 8px 15px 8px;
text-align: center;
}
.gallery-grid-container {
display: grid;
border: 1px solid #ccc;
grid-template-columns: repeat(auto-fill, 50px);
}
/* Viewport Containers */
@media(max-width: 850px) {
.game-infobox {
float: none;
}
}