Jump to content

MediaWiki:Common.css: Difference between revisions

From ZenithXI
No edit summary
No edit summary
 
(68 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
.vector-menu-content a {
/* Add animated GIF above sidebar navigation */
     color: var(--zx-text-muted) !important;
#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 */
.vector-main-menu a:hover,
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
.vector-menu-content a:hover {
 
     color: var(--zx-gold-bright) !important;
/* 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 {
.vector-menu-heading {
     font-size: 28px !important;
     font-family: var(--zx-font-display) !important;
    font-weight: 500 !important;
     color: var(--zx-gold) !important;
    text-transform: uppercase !important;
     text-transform: uppercase;
}
     letter-spacing: 0.2em;
/* Add transparency to the content container */
     font-size: 11px !important;
.mw-body,
.vector-body,
#content,
#bodyContent,
.mw-content-container,
.mw-content-container .mw-body {
    background-color: rgba(255, 255, 255, 0.8) !important;
     background: rgba(255, 255, 255, 0.8) !important;
}
 
/* Add background image to the page container */
.mw-page-container {
    background-image: url("https://wiki.zenithxi.com/db/resources/assets/light-bg2.jpg') !important;
     background-size: cover !important;
     background-attachment: fixed !important;
     background-position: center !important;
}
}
.mw-logo { display: none !important; }

Latest revision as of 21:44, 5 July 2026

.vector-menu-content a {
    color: var(--zx-text-muted) !important;
}
.vector-main-menu a:hover,
.vector-menu-content a:hover {
    color: var(--zx-gold-bright) !important;
}
.vector-menu-heading {
    font-family: var(--zx-font-display) !important;
    color: var(--zx-gold) !important;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 11px !important;
}
.mw-logo { display: none !important; }