MediaWiki:Vector.css: Difference between revisions
No edit summary Tags: Manual revert Reverted |
No edit summary Tag: Manual revert |
||
| Line 19: | Line 19: | ||
/* Make the page containers transparent */ | /* Make the page containers transparent */ | ||
.mw-page-container-inner, | /*.mw-page-container-inner, | ||
.mw-page-container { | .mw-page-container { | ||
background-color: rgba(255, 255, 255, 0); /* White background with 0% opacity */ | background-color: rgba(255, 255, 255, 0); /* White background with 0% opacity */ | ||
font-size: 16px !important; /* Adjust the size as needed */ | font-size: 16px !important; /* Adjust the size as needed */ | ||
} | }*/ | ||
/* Ensure the main menu and all its child elements have a transparent background */ | /* Ensure the main menu and all its child elements have a transparent background */ | ||
.vector-main-menu, | /*.vector-main-menu, | ||
.vector-main-menu * { | .vector-main-menu * { | ||
background-color: rgba(255, 255, 255, 0) !important; | background-color: rgba(255, 255, 255, 0) !important; | ||
} | }*/ | ||
/* Set consistent font size for the main menu and list items for all users */ | /* Set consistent font size for the main menu and list items for all users */ | ||
Revision as of 04:55, 5 September 2024
/* 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;
}
/* Fix personal URLs showing up in dropdown in mobile view (<720 pixels)
/* Hide collapsible items at all widths */
.vector-user-menu .user-links-collapsible-item {
display: none !important;
}
/* Ensure the logo is responsive by overriding the min-width (fixes header overflow issue for mobile screen sizes)*/
.mw-logo {
min-width: auto; /* Remove the fixed min-width */
}