Jump to content

MediaWiki:Common.css: Difference between revisions

From Utopia Game
No edit summary
No edit summary
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */


/* Global background gradient */
/* Global background gradient - fixed to viewport */
body {
body {
     background: linear-gradient(0deg, #001D3D 0%, #000814 40%) !important;
     background: linear-gradient(0deg, #001D3D 0%, #000814 40%) !important;
     background-attachment: fixed !important;
     background-attachment: fixed !important;
    background-size: 100% 100% !important;
     color: #FFFFFF !important;
     color: #FFFFFF !important;
}
}


/* Main content area background */
/* Main page background to show gradient */
#content,
#mw-page-base {
.mw-body {
     background: linear-gradient(0deg, #001D3D 0%, #000814 40%) !important;
     background: transparent !important;
     background-attachment: fixed !important;
     color: #FFFFFF !important;
}
}


/* Ensure all text is white */
/* Content wrapper background */
#bodyContent,
#content {
.mw-body-content {
     background: transparent !important;
     color: #FFFFFF !important;
}
}


/* Links styling for readability on dark background */
.mw-body {
a {
     background: transparent !important;
     color: #FFC300 !important;
}
}


a:visited {
/* Sidebar background */
     color: #FFD60A !important;
#mw-panel {
     background: transparent !important;
}
}


a:hover {
/* Default text color */
    color: #FFFFFF !important;
#bodyContent,
}
.mw-body-content,
 
#mw-content-text {
/* Tables and sections */
.wikitable {
    background: rgba(0, 29, 61, 0.6) !important;
     color: #FFFFFF !important;
     color: #FFFFFF !important;
}
.wikitable th {
    background: #003566 !important;
    color: #FFC300 !important;
}
.wikitable td {
    color: #FFFFFF !important;
}
/* Navigation and sidebar */
#mw-panel,
.vector-menu-portal {
    background: transparent !important;
    color: #FFFFFF !important;
}
#mw-panel a {
    color: #FFC300 !important;
}
}

Revision as of 18:12, 24 January 2026

/* CSS placed here will be applied to all skins */

/* Global background gradient - fixed to viewport */
body {
    background: linear-gradient(0deg, #001D3D 0%, #000814 40%) !important;
    background-attachment: fixed !important;
    background-size: 100% 100% !important;
    color: #FFFFFF !important;
}

/* Main page background to show gradient */
#mw-page-base {
    background: linear-gradient(0deg, #001D3D 0%, #000814 40%) !important;
    background-attachment: fixed !important;
}

/* Content wrapper background */
#content {
    background: transparent !important;
}

.mw-body {
    background: transparent !important;
}

/* Sidebar background */
#mw-panel {
    background: transparent !important;
}

/* Default text color */
#bodyContent,
.mw-body-content,
#mw-content-text {
    color: #FFFFFF !important;
}