MediaWiki:Vector.css: Difference between revisions
MediaWiki interface page
More actions
Blanked the page Tags: Blanking Manual revert Reverted |
No edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
/* Set main background color */ | |||
body, | |||
#content, | |||
#p-personal, | |||
#p-navigation, | |||
#p-search, | |||
#footer { | |||
background-color: #0B151D !important; /* Override theme background */ | |||
} | |||
/* Ensure text is readable */ | |||
body, | |||
#content, | |||
#p-personal, | |||
#p-navigation, | |||
#p-search, | |||
#footer, | |||
#content p, | |||
#content h1, | |||
#content h2, | |||
#content h3, | |||
#content h4, | |||
#content h5, | |||
#content h6, | |||
#p-personal a, | |||
#p-navigation a, | |||
#p-search a, | |||
#footer a { | |||
color: #FFFFFF !important; /* Override text color to white */ | |||
} | |||
/* Adjust sidebar */ | |||
#mw-panel { | |||
background-color: #0B151D !important; /* Sidebar background */ | |||
border-right: 1px solid #FFFFFF; /* Optional: border for the sidebar */ | |||
} | |||
/* Style header */ | |||
#p-personal, | |||
#p-personal .p-body, | |||
#p-logo, | |||
#p-logo a { | |||
background-color: #0B151D !important; /* Header background */ | |||
color: #FFFFFF !important; /* Header text color */ | |||
} | |||
/* Style footer */ | |||
#footer { | |||
background-color: #0B151D !important; /* Footer background */ | |||
color: #FFFFFF !important; /* Footer text color */ | |||
} | |||
/* Adjust links */ | |||
a { | |||
color: #1E90FF !important; /* Optional: link color */ | |||
} | |||
/* Ensure tables fit the theme */ | |||
.wikitable { | |||
background-color: #121212 !important; /* Table background */ | |||
border: 1px solid #0B151D !important; /* Table border */ | |||
color: #FFFFFF !important; /* Table text color */ | |||
} | |||
Revision as of 16:17, 27 October 2024
/* Set main background color */
body,
#content,
#p-personal,
#p-navigation,
#p-search,
#footer {
background-color: #0B151D !important; /* Override theme background */
}
/* Ensure text is readable */
body,
#content,
#p-personal,
#p-navigation,
#p-search,
#footer,
#content p,
#content h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content h6,
#p-personal a,
#p-navigation a,
#p-search a,
#footer a {
color: #FFFFFF !important; /* Override text color to white */
}
/* Adjust sidebar */
#mw-panel {
background-color: #0B151D !important; /* Sidebar background */
border-right: 1px solid #FFFFFF; /* Optional: border for the sidebar */
}
/* Style header */
#p-personal,
#p-personal .p-body,
#p-logo,
#p-logo a {
background-color: #0B151D !important; /* Header background */
color: #FFFFFF !important; /* Header text color */
}
/* Style footer */
#footer {
background-color: #0B151D !important; /* Footer background */
color: #FFFFFF !important; /* Footer text color */
}
/* Adjust links */
a {
color: #1E90FF !important; /* Optional: link color */
}
/* Ensure tables fit the theme */
.wikitable {
background-color: #121212 !important; /* Table background */
border: 1px solid #0B151D !important; /* Table border */
color: #FFFFFF !important; /* Table text color */
}