MediaWiki:Common.css: Difference between revisions
Appearance
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 */ | ||
body { | body { | ||
background: linear-gradient(0deg, #001D3D | background: linear-gradient(0deg, #001D3D 0%, #000814 40%) !important; | ||
background- | background-attachment: fixed !important; | ||
color:#FFFFFF; | color: #FFFFFF !important; | ||
} | |||
/* Main content area background */ | |||
#content, | |||
.mw-body { | |||
background: transparent !important; | |||
color: #FFFFFF !important; | |||
} | |||
/* Ensure all text is white */ | |||
#bodyContent, | |||
.mw-body-content { | |||
color: #FFFFFF !important; | |||
} | |||
/* Links styling for readability on dark background */ | |||
a { | |||
color: #FFC300 !important; | |||
} | |||
a:visited { | |||
color: #FFD60A !important; | |||
} | |||
a:hover { | |||
color: #FFFFFF !important; | |||
} | |||
/* Tables and sections */ | |||
.wikitable { | |||
background: rgba(0, 29, 61, 0.6) !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:10, 24 January 2026
/* CSS placed here will be applied to all skins */
/* Global background gradient */
body {
background: linear-gradient(0deg, #001D3D 0%, #000814 40%) !important;
background-attachment: fixed !important;
color: #FFFFFF !important;
}
/* Main content area background */
#content,
.mw-body {
background: transparent !important;
color: #FFFFFF !important;
}
/* Ensure all text is white */
#bodyContent,
.mw-body-content {
color: #FFFFFF !important;
}
/* Links styling for readability on dark background */
a {
color: #FFC300 !important;
}
a:visited {
color: #FFD60A !important;
}
a:hover {
color: #FFFFFF !important;
}
/* Tables and sections */
.wikitable {
background: rgba(0, 29, 61, 0.6) !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;
}