MediaWiki:Common.css: Difference between revisions
Appearance
Created page with "→CSS placed here will be applied to all skins: →Add animated GIF above sidebar navigation: #mw-panel:before { content: ""; display: block; width: 100%; height: 100px; →Adjust based on your GIF height: background-image: url("https://wiki.zenithxi.com/db/resources/assets/animatedlogo.gif"); background-repeat: no-repeat; background-position: center; background-size: contain; margin-bottom: 10px; }" |
No edit summary |
||
| Line 11: | Line 11: | ||
background-size: contain; | background-size: contain; | ||
margin-bottom: 10px; | margin-bottom: 10px; | ||
} | |||
/* Import Roboto font from Google Fonts */ | |||
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap'); | |||
/* Change the main font for the entire wiki to Roboto */ | |||
body, #content, #bodyContent, h1, h2, h3, h4, h5, h6, div, p, ul, li, td, th { | |||
font-family: 'Roboto', sans-serif !important; | |||
} | |||
.mw-logo-wordmark { | |||
font-size: 28px !important; | |||
font-weight: 500 !important; | |||
text-transform: uppercase !important; | |||
} | } | ||
Revision as of 16:26, 2 April 2025
/* CSS placed here will be applied to all skins */
/* Add animated GIF above sidebar navigation */
#mw-panel:before {
content: "";
display: block;
width: 100%;
height: 100px; /* Adjust based on your GIF height */
background-image: url("https://wiki.zenithxi.com/db/resources/assets/animatedlogo.gif");
background-repeat: no-repeat;
background-position: center;
background-size: contain;
margin-bottom: 10px;
}
/* Import Roboto font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
/* Change the main font for the entire wiki to Roboto */
body, #content, #bodyContent, h1, h2, h3, h4, h5, h6, div, p, ul, li, td, th {
font-family: 'Roboto', sans-serif !important;
}
.mw-logo-wordmark {
font-size: 28px !important;
font-weight: 500 !important;
text-transform: uppercase !important;
}