MediaWiki:Vector.css

From WikiFictionAI
Revision as of 06:57, 6 August 2024 by Cruebel (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.
/* All CSS here will be loaded for users of the Vector skin */
body {
    background-image: url('https://wikifiction.s3.amazonaws.com/static/Light_Background.png');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    /* Additional CSS properties for background positioning and color can be added here */
}

//.vector-toc {
//    display: none;
//}

/* Hide the entire TOC navigation in the Vector skin */
.vector-toc-landmark {
    display: none !important;
}


/* Make the page containers transparent */
.mw-page-container-inner,
.mw-page-container {
    background-color: rgba(255, 255, 255, 0); /* White background with 0% opacity */
    font-size: 16px !important; /* Adjust the size as needed */
}

/* Ensure the main menu and all its child elements have a transparent background */
.vector-main-menu,
.vector-main-menu * {
    background-color: rgba(255, 255, 255, 0) !important;
}

/* Set consistent font size for the main menu and list items for all users */
.vector-main-menu .mw-list-item,
.vector-main-menu .mw-list-item a {
    font-size: 14px !important; /* Adjust the size as needed */
}

/* Hide the main menu until we build it based on login status and then display it via JS */
#mw-panel {
    //display: none;
}