MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
Line 38: | Line 38: | ||
.mw-logo-wordmark:hover { | .mw-logo-wordmark:hover { | ||
color: #28b017; | color: #28b017; | ||
} | } | ||
.message-box { | .message-box { | ||
Line 119: | Line 63: | ||
border: 1px solid #ccc; | border: 1px solid #ccc; | ||
grid-template-columns: repeat(auto-fill, 50px); | grid-template-columns: repeat(auto-fill, 50px); | ||
} | } | ||
Revision as of 21:43, 31 July 2025
/* 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;
}
}