Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Vector.css

MediaWiki interface page
Revision as of 16:17, 27 October 2024 by Aio (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* 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 */
}