No edit summary
No edit summary
 
(18 intermediate revisions by one other user not shown)
Line 1: Line 1:
/* <pre> */
/* 1st PAGE HEADING CHANGES */


/* Ensure the body background image is fully visible */
#firstHeading,
.firstHeading,
.mw-first-heading {
    max-width: 90%; /* Adjust width to split the difference */
    margin: 0 auto; /* Center-align */
    text-align: center; /* Center-align the heading text */
    box-sizing: border-box; /* Include padding in width calculations */
}
 
h1#firstHeading {
    font-size: 3em; /* Larger font size for emphasis */
    color: #c1c1c1; /* Light grey for consistency */
    text-align: left; /* Left-aligned text */
    border-bottom: 2px solid #c1c1c1; /* Light grey underline like other headers */
    padding-bottom: 10px; /* Space between text and underline */
    margin-bottom: 20px; /* Space between the underline and the page body */
    padding-top: 30px; /* Space above the header */
}
 
/* Mobile-specific adjustments */
@media (max-width: 768px) {
    #firstHeading,
    .firstHeading,
    .mw-first-heading {
        max-width: 100%; /* Full width on mobile */
        text-align: left; /* Left-align the heading text */
        margin: 0; /* Remove centering */
    }
   
    h1#firstHeading {
        text-align: left; /* Ensure text is left-aligned */
        margin-left: 0; /* Remove any left margin */
    }
}
 
/* TEXT/FONT STYLES OF PAGE DETAILS */
 
/* General Text Styling */
body, p, span, div {
    color: #c1c1c1; /* Light grey for default text */
    font-family: Georgia, Times, serif; /* Serif font for default text */
    line-height: 1.5;
}
 
 
/* Header Styling (H1-H6) */
h1, h2, h3, h4, h5, h6 {
    color: #c1c1c1; /* Default light grey for headers */
    font-family: Georgia, Times, serif; /* Serif font for headers */
    line-height: 1.3;
    margin-top: 1em;
    margin-bottom: 0.25em; /* Reduced space between header and content */
    padding-bottom: 2px; /* Minimal padding for underline */
}
 
/* Underline for H1 and H2 */
h1, h2 {
    border-bottom: 1px solid #c1c1c1; /* Light grey underline */
}
/* Hyperlinks in Headers */
h1 .mw-headline a, h2 .mw-headline a, h3 .mw-headline a {
    color: #66D9EF; /* Bright light cyan for unvisited header links (existing page) */
    font-family: Georgia, Times, serif; /* Match header font */
}
 
h1 .mw-headline a:visited, h2 .mw-headline a:visited, h3 .mw-headline a:visited {
    color: #499dad; /* Light cyan for visited header links (existing page) */
    font-family: Georgia, Times, serif; /* Match header font */
}
 
h1 .mw-headline a.new, h2 .mw-headline a.new, h3 .mw-headline a.new {
    color: #d44; /* Red for headers linking to non-existent pages */
    font-family: Georgia, Times, serif; /* Match header font */
}
 
/* Headers Without Links */
h1 .mw-headline:not(a), h2 .mw-headline:not(a), h3 .mw-headline:not(a) {
    color: #c1c1c1; /* Light grey for headers without links */
}
 
/* Hyperlink Colors (General) */
a, .mw-body a.external, .mw-body a.extiw {
    color: #66D9EF; /* Bright light cyan for unvisited links */
    text-decoration: none; /* No underline */
    font-family: Georgia, Times, serif; /* Ensure consistency */
}
 
a:visited, .mw-body a.external:visited, .mw-body a.extiw:visited {
    color: #499dad; /* Light cyan for visited links */
    text-decoration: none;
}
 
a.new, #p-personal a.new {
    color: #d44; /* Red for non-existent links */
    text-decoration: none;
}
 
/* Hyperlink Hover Effect */
a:hover, .mw-body a:hover {
    color: #33d4d4; /* Slightly brighter cyan on hover */
    text-decoration: underline;
}
 
/* Horizontal Rule Styling */
hr {
    color: #222; /* Darker grey line */
    border: none;
    border-top: 1px solid #222;
    margin: 1em 0;
}
 
/* Input and Textarea Styling */
input, textarea {
    background-color: #4c4c4c; /* Dark grey background */
    border-color: #4c4c4c;
    color: #c1c1c1; /* Light grey text */
    font-family: Georgia, Times, serif; /* Ensure consistent font */
}
 
/* Navigation Menu Styling */
div#mw-head div.vectorMenu h3 span, div.vectorMenu li a {
    color: #66D9EF; /* Bright light cyan for links in the navigation menu */
    font-family: Georgia, Times, serif; /* Consistent font */
}
 
div.vectorMenu li.selected a, div.vectorMenu li.selected a:visited {
    color: #499dad; /* Light cyan for visited links */
    text-decoration: none;
}
 
/* General Page Background and Body Content */
html, body {
    font-family: Georgia, Times, serif; /* Default body font */
    background-color: #2a2a2a; /* Dark grey background */
    margin: 0;
    padding: 0;
}
 
.mw-body {
    color: #c1c1c1; /* Light grey text */
    font-family: Georgia, Times, serif; /* Default body text font */
    background-color: #333; /* Darker grey for content background */
}
 
.mw-body p {
    line-height: inherit;
    margin: 0.5em 0 1.5em 0; /* Add more spacing below paragraphs */
}
 
/* Table of Contents and Sidebar Styling */
#toc, div.toc, ul#filetoc, li.gallerybox div.thumb {
    background-color: #4c4c4c;
    border-color: #666; /* Medium grey for borders */
    font-family: Georgia, Times, serif; /* Consistent font */
}


.mw-ui-button {  
div.thumbinner, .catlinks {
background-color: #212121 !important;
    background-color: #4c4c4c;
border: 2px solid #333333 !important;
    border-color: #666;
outline: none !important;
}
text-align: center;
 
cursor: pointer;
code {
    border: none;
    background-color: inherit;
    color: inherit;
    font-family: monospace; /* Explicitly set for code blocks */
}
}


.mw-ui-button:hover {
 
     border-color: #eceada !important;
 
/* PAGE BACKGROUND */
 
/* Apply background to the html element */
html {
    height: 100%; /* Full height of the viewport */
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    overflow-y: hidden; /* Prevent unintended vertical scrolling */
    background: url('https://wiki.cosmicsky.net/images/thumb/4/48/BackgroundThree.png/1600px-BackgroundThree.png?20240916194629') no-repeat center center fixed;
     background-size: cover;
}
}


/* Ensure body inherits full height and uses the background */
body {
body {
     background: url('https://wiki.cosmicsky.net/images/thumb/4/48/BackgroundThree.png/1600px-BackgroundThree.png?20240916194629') no-repeat center center fixed, var(--body-background-color);
     height: 100%; /* Match the height of the html element */
     background-size: cover;
    margin: 0;
    padding: 0;
    display: flex; /* Allow flex layout for consistent child alignment */
    flex-direction: column; /* Stack children vertically */
    overflow-x: hidden; /* Prevent horizontal scrolling */
     overflow-y: auto; /* Allow scrolling within body only */
     color: var(--text-color);
     color: var(--text-color);
     font-family: Georgia, 'Times New Roman', Times, serif;
     font-family: Georgia, 'Times New Roman', Times, serif;
}
/* Extend the viewport container */
.mw-mf-viewport {
    flex: 1; /* Ensure it grows to fill the remaining space */
    display: block; /* Avoid flex container issues */
    background: transparent !important; /* Ensure no background overlay */
    overflow: visible; /* Avoid additional scroll bars */
}
/* Button Styling */
.mw-ui-button {   
    background-color: #212121 !important;
    border: 2px solid #333333 !important;
    outline: none !important;
    text-align: center;
    cursor: pointer;
}
.mw-ui-button:hover {
    border-color: #eceada !important;
}
}


Line 28: Line 224:
     border: none !important; /* Remove borders */
     border: none !important; /* Remove borders */
     padding: 0; /* Ensure no unnecessary padding adds opacity */
     padding: 0; /* Ensure no unnecessary padding adds opacity */
    flex: 1; /* Allow it to stretch and fill the viewport */
    overflow: visible; /* Prevent extra scrolling */
}
}


/* Content areas: transparent */
/* Content areas: transparent */
.content, .pre-content, .mw-parser-output {
.content, .pre-content, .mw-parser-output, .mw-body {
     background-color: transparent !important; /* Fully transparent content */
     background-color: transparent !important; /* Fully transparent content */
     box-shadow: none !important; /* Remove any shadows */
     box-shadow: none !important; /* Remove any shadows */
Line 37: Line 235:
     padding: 15px; /* Optional padding for readability */
     padding: 15px; /* Optional padding for readability */
     color: var(--text-color); /* Ensure text remains readable */
     color: var(--text-color); /* Ensure text remains readable */
    z-index: auto; /* Prevent overlapping stacking context */
    flex: 1; /* Allow these areas to grow and fill the remaining space */
}
}


Line 43: Line 243:
     position: sticky;
     position: sticky;
     top: 0;
     top: 0;
     background: rgba(30, 30, 30, 0.5) !important; /* Keep 50% transparent */
     background: rgba(10, 10, 10, 0.35) !important; /* Transparent header */
     box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* Add shadow for visibility */
     box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* Maintain shadow for visibility */
     border-bottom: 1px solid rgba(68, 68, 68, 0.7); /* Subtle bottom border */
     border-bottom: 1px solid rgba(68, 68, 68, 0.7); /* Subtle bottom border */
     z-index: 1000; /* Ensure header stays above all other elements */
     z-index: 1000; /* Ensure header stays above all other elements */
     height: 120px; /* Increased header height */
     height: 120px; /* Header height */
     display: flex; /* Use flexbox for layout */
     display: flex; /* Use flexbox for layout */
     align-items: center; /* Vertically center the items */
     align-items: center; /* Vertically center the items */
     justify-content: space-between; /* Distribute space between elements */
     justify-content: space-between; /* Distribute space between elements */
     padding: 0; /* Remove unnecessary padding */
     padding: 0; /* Remove unnecessary padding */
    overflow-x: hidden; /* Prevent header overflow */
}
}


Line 63: Line 264:
}
}


/* Left-align the menu icon (three lines) */
/* Adjust the branding box to ensure it properly covers the icon */
.menu-icon {
    position: relative;
    left: 10px; /* Slight spacing from the left edge */
    font-size: 36px; /* Make the menu icon larger */
    margin-right: 15px; /* Add spacing between the icon and the branding */
}
 
/* Enlarge the branding/logo area */
.branding-box {
.branding-box {
     display: flex;
     display: flex;
Line 77: Line 270:
     align-items: center;
     align-items: center;
     margin: 0 20px; /* Add spacing around the logo */
     margin: 0 20px; /* Add spacing around the logo */
     width: 350px; /* Widen the logo area */
     width: auto; /* Adjust width dynamically */
    max-width: 350px; /* Limit maximum width for responsiveness */
    height: 100px; /* Adjust the height of the logo */
    box-sizing: border-box; /* Ensure the padding is included in the width */
}
}


/* Enlarge the branding/logo area and prevent it from overflowing */
.branding-box a {
.branding-box a {
     display: inline-block;
     display: block;
     width: 100%; /* Use full width of the branding box */
     width: 100%;
     height: 100px; /* Adjust the height of the logo */
     height: 100%;
     background: url('https://wiki.cosmicsky.net/images/6/62/CosmicLogo.png?20240913203127') no-repeat center center; /* Custom logo */
     background: url('https://wiki.cosmicsky.net/images/6/62/CosmicLogo.png?20240913203127') no-repeat center center;
     background-size: contain; /* Ensure the logo scales properly */
     background-size: contain;
     text-indent: -9999px; /* Hide text */
     text-indent: -9999px;
     overflow: hidden;
     overflow: hidden;
}
}


/* Mobile-specific adjustments */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden; /* Prevent horizontal scrolling */
    }


    .mw-mf-viewport {
        min-height: 100%; /* Ensure the viewport container spans the full height */
        overflow: visible; /* Avoid clipping on mobile */
    }
    .branding-box {
        margin: 0; /* Remove extra spacing */
        width: auto; /* Allow flexibility on mobile */
        max-width: 200px; /* Smaller logo for mobile */
        height: 80px; /* Reduce height on mobile */
        align-self: flex-start; /* Align branding to the left */
    }
    .header-container.header-chrome {
        height: auto; /* Adjust height dynamically for smaller devices */
        flex-direction: column; /* Stack items vertically on mobile */
        align-items: flex-start; /* Left-align items */
    }
}
/* Adjust the page heading wrapper to match a slightly narrower body width */
.pre-content.heading-holder {
    width: 90%; /* Make it slightly less wide */
    max-width: none; /* Remove width restriction */
    margin: 0 auto; /* Center the wrapper */
    padding: 0; /* Remove unnecessary padding */
    box-sizing: border-box; /* Include padding in width calculations */
}
}
/* More Button and Icon */
 
#page-actions-overflow-toggle span.minerva-icon--ellipsis {
/* Optional: Adjust tagline alignment and width */
     filter: brightness(0) invert(1) !important; /* Ensure the three dots are white */
.page-heading .tagline {
    width: 100%; /* Match the heading width */
    margin: 0; /* Remove default margins */
    text-align: left; /* Keep tagline left-aligned */
    font-size: 1rem; /* Adjust font size */
    color: #ccc; /* Optional: Subtle text color for tagline */
}
 
/* Style the main content area to match the narrower width */
#mw-content-text,
#bodyContent {
     width: 90%; /* Match the narrower width for larger screens */
    max-width: none; /* Remove restrictions on maximum width */
    margin: 0 auto; /* Center the content */
    padding-top: 5px; /* Add space between the header and content */
    box-sizing: border-box; /* Include padding in width calculations */
}
}


#page-actions-overflow-toggle span {
/* Hide the "Page" and "Discussion" buttons */
     color: white !important; /* Ensure the "More" button text is white */
#p-associated-pages {
     display: none !important; /* Remove the entire button container */
}
}


/* Dropdown List Items Background and Text */
/* Mobile-specific adjustments */
.toggle-list__list {
@media (max-width: 768px) {
     background-color: rgba(50, 50, 50, 0.9) !important; /* Dark background for the list */
     .pre-content.heading-holder,
    color: white !important; /* White text for the dropdown items */
    #mw-content-text,
    #bodyContent {
        width: 100%; /* Full width on mobile */
        margin: 0; /* Remove centering margin */
        padding: 0; /* Remove unnecessary padding */
    }
}
}


/* Individual List Items */
 
.toggle-list-item__anchor {
 
 
 
 
/* SEARCH BAR EDITS */
 
/* Fix background for the entire search results container */
.suggestions-results {
    background-color: rgba(30, 30, 30, 0.95) !important; /* Dark background */
    border: none !important; /* Remove any borders */
    color: white !important; /* Ensure all text is white */
    border-radius: 5px; /* Rounded corners */
    padding: 5px; /* Add padding */
    margin: 0 auto; /* Center the dropdown */
    max-width: 900px; /* Match the search bar width */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); /* Add subtle shadow */
}
 
/* Fix individual suggestion results */
.suggestions-result {
    background-color: rgba(42, 42, 42, 0.9); /* Slightly lighter background */
     color: white !important; /* Ensure text is white */
     color: white !important; /* Ensure text is white */
     background-color: transparent !important; /* Transparent background for the anchor items */
     padding: 10px; /* Add padding */
    border-radius: 4px; /* Rounded corners */
    margin-bottom: 5px; /* Space between results */
    cursor: pointer; /* Pointer on hover */
    border: none !important; /* Remove white border */
}
}


.toggle-list-item__anchor:hover {
.suggestions-result:hover {
     background-color: rgba(70, 70, 70, 0.8) !important; /* Lighter background when hovered */
     background-color: rgba(60, 60, 60, 0.9); /* Slightly lighter on hover */
}
}


/* Icon color inside the list items */
/* Fix for the special box in the search results */
.toggle-list-item__anchor span.minerva-icon {
.suggestions-special {
     filter: brightness(0) invert(1) !important; /* Ensure icons are white */
    background-color: rgba(30, 30, 30, 0.9) !important; /* Dark background */
    color: white !important; /* Ensure all text is white */
    border-radius: 5px; /* Rounded corners */
    padding: 10px;
    margin-top: 5px; /* Space above */
     box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* Subtle shadow */
    border: none !important; /* Remove any borders */
}
}


/* Popup Menu Styling */
/* Special box text styling */
.mw-ui-popup {
.suggestions-special .special-label,
    background-color: rgba(50, 50, 50, 0.9) !important; /* Dark background for the pop-up */
.suggestions-special .special-query {
     color: white !important; /* White text for pop-up */
     color: white !important; /* Ensure all text inside is white */
    border-radius: 8px !important; /* Rounded corners */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3) !important; /* Subtle shadow */
}
}


/* Fix for the heading and body of the pop-up */
/* Search bar styling */
.mw-ui-popup .mw-ui-popup-heading,
input.search {
.mw-ui-popup .mw-ui-popup-body {
    width: 70%; /* Make the search bar wider */
    max-width: 900px; /* Limit the maximum width */
    height: 50px; /* Make it taller */
    font-size: 18px; /* Larger text size */
    padding: 10px 15px; /* Padding inside the search bar */
    background-color: rgba(30, 30, 30, 0.9) !important; /* Dark background */
     color: white !important; /* White text */
     color: white !important; /* White text */
     background-color: rgba(50, 50, 50, 0.9) !important; /* Dark background */
     border: 1px solid rgba(68, 68, 68, 0.8); /* Use dark grey border */
    border-radius: 5px; /* Rounded corners */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* Subtle shadow */
}
}


/* Ensure pop-up menu items are styled with proper background */
input.search:focus {
.mw-ui-popup .mw-ui-popup-body .mw-ui-menu li {
     outline: none !important; /* Remove focus outline */
     color: white !important; /* White text */
     border-color: rgba(90, 90, 90, 0.9); /* Slightly lighter grey border when focused */
     background-color: rgba(50, 50, 50, 0.9) !important; /* Dark background */
}
 
input.search::placeholder {
    color: rgba(200, 200, 200, 0.7) !important; /* Light grey placeholder text */
}
}


/* Ensure items in the pop-up list change color on hover */
/* Adjust search button to match the search bar */
.mw-ui-popup .mw-ui-popup-body .mw-ui-menu li:hover {
.search-container button#searchIcon {
     background-color: rgba(70, 70, 70, 0.8) !important; /* Lighter background on hover */
    margin-left: 10px; /* Spacing between search bar and button */
     cursor: pointer; /* Make the cursor change to indicate interactivity */
    height: 50px; /* Match height with search bar */
     background-color: rgba(30, 30, 30, 0.9); /* Dark background */
    border: 1px solid rgba(68, 68, 68, 0.8); /* Use dark grey border */
    color: white; /* White icon color */
    padding: 8px 12px; /* Adjust button size */
     border-radius: 5px; /* Rounded corners */
    cursor: pointer;
}
}
/* Make the header span the full width of the page */
 
.header-container {
.search-container button#searchIcon:hover {
     width: 100vw; /* Full width of the viewport */
     background-color: rgba(60, 60, 60, 0.9); /* Slightly lighter on hover */
    max-width: none; /* Remove any max-width restriction */
     border-color: rgba(90, 90, 90, 0.9); /* Adjust border on hover */
    padding: 0 50px; /* Add padding to ensure spacing on the sides */
     display: flex; /* Flexbox layout for header items */
    justify-content: space-between; /* Space out items evenly */
    align-items: center; /* Center items vertically */
}
}


/* Make the branding/logo area wider */
 
.branding-box {
 
     width: auto; /* Let the logo area expand */
/* Remove space between the title underline and content */
     padding: 0 20px; /* Add padding around the logo */
.mw-parser-output {
     margin-top: -10px; /* Move content closer to the title underline */
     padding-top: 0; /* Ensure no padding at the top of content */
}
}


/* Enlarge the logo */
/* Completely remove padding for main content */
.branding-box img {
.content, .pre-content {
     width: 300px; /* Set a larger width for the logo */
     padding-top: 0 !important; /* Ensure no padding above the main content */
     height: auto; /* Maintain aspect ratio */
     margin-top: -10px !important; /* Move content closer to the title */
}
}


/* Increase the size of the menu icon */
/* Optional: Remove any additional global spacing */
.menu-icon {
body.page-Main_Page .mw-body {
     font-size: 48px; /* Increase size of the menu icon */
     margin-top: 0 !important; /* Eliminate extra margin on the main body */
     margin-right: 15px; /* Add spacing between the icon and branding */
     padding-top: 0 !important; /* Tighten top padding globally */
}
}


/* Adjust layout of the header to space out items */
/* TOC Underline Fix */
.minerva-header {
 
    display: flex;
 
    justify-content: space-between; /* Space out header items */
/* Remove underline from TOC heading */
     align-items: center; /* Vertically center items */
#mw-toc-heading {
     width: 100%; /* Make sure header spans full width */
     border-bottom: none !important; /* Remove underline */
     margin-bottom: 0; /* Adjust spacing if necessary */
}
}




/* Style the navigation menu items */
 
.toggle-list-item__anchor {
/* LEFT MENU POP UP STYLING */
     font-size: 18px; /* Larger font for menu items */
 
     padding: 12px 20px; /* Add padding for bigger clickable area */
 
/* Menu container */
#mw-mf-page-left {
     background-color: #2c2c2c; /* Dark grey background for the entire menu */
    color: white; /* White text for all items */
     border-right: 1px solid #444; /* Optional border for separation */
}
}


/* Style the user menu items */
/* Target all list items */
.minerva-user-menu li a {
#mw-mf-page-left ul.toggle-list__list {
     font-size: 18px; /* Larger font for user menu items */
     list-style: none; /* Remove bullet points */
     padding: 12px; /* Add padding for bigger clickable area */
    margin: 0;
     padding: 0;
}
}


/* Adjust user menu and notifications section */
/* Ensure links (buttons) always have dark grey backgrounds */
.minerva-user-navigation {
#mw-mf-page-left .toggle-list-item__anchor {
     padding-right: 20px; /* Add spacing to the right */
     display: flex; /* Align text and icons horizontally */
    align-items: center;
    padding: 10px 15px; /* Add padding for better button size */
    background-color: #2c2c2c !important; /* Force dark grey background */
    color: white; /* White text */
    text-decoration: none; /* Remove underlines */
    border-bottom: 1px solid #444; /* Optional separators */
    font-weight: bold; /* Make text bold */
}
}


/* Remove the default margin for the header */
/* Remove any parent white background influence */
.minerva-header .minerva-user-navigation,
#mw-mf-page-left .toggle-list-item {
.minerva-header .search-container {
     background-color: #2c2c2c !important; /* Force dark grey for list items */
     margin: 0; /* Ensure no extra margin is applied */
}
}


/* Center the main menu and user navigation */
/* Hover effect for links */
.minerva-header .minerva-user-navigation {
#mw-mf-page-left .toggle-list-item__anchor:hover {
     margin-left: auto; /* Push to the right side */
     background-color: #444; /* Slightly lighter grey */
    color: white; /* White text remains */
}
}


/* Make the header more spacious and increase the font size of the menu */
/* Icons within menu */
.navigation-drawer {
#mw-mf-page-left .minerva-icon {
     font-size: 18px; /* Larger text for menu items */
    margin-right: 10px; /* Add spacing between icon and text */
     padding: 15px 20px; /* Add more padding to menu items */
     font-size: 16px; /* Adjust icon size */
     color: white; /* Ensure icons are white */
}
}
.searchresults .mw-search-createlink{
 
     display: block;
/* Text labels in buttons */
#mw-mf-page-left .toggle-list-item__label {
     text-decoration: none; /* No underline */
    color: white; /* White text for button labels */
}
}


/* Menu headings */
#mw-mf-page-left h2 {
    color: white; /* White text for headings */
    padding: 10px 15px; /* Add padding */
    margin: 0;
    border-bottom: 1px solid #444; /* Subtle heading separator */
}


/* Force styles on any conflicting elements */
#mw-mf-page-left .toggle-list-item,
#mw-mf-page-left .toggle-list-item__anchor,
#mw-mf-page-left ul.toggle-list__list li {
    background-color: #2c2c2c !important; /* Force dark grey background for all states */
    color: white; /* Ensure white text */
    border: none; /* Remove extra borders if present */
}
/* TOC TOC TOC TOC TOC TOC TOC TOC TOC */
/* TOC TOC TOC TOC TOC TOC TOC TOC TOC */


Line 230: Line 555:
     border-radius: 8px; /* Rounded corners */
     border-radius: 8px; /* Rounded corners */
     border: 1px solid rgba(68, 68, 68, 0.8); /* Subtle border */
     border: 1px solid rgba(68, 68, 68, 0.8); /* Subtle border */
     padding: 15px;
     padding: 5px;
     margin: 0 0 20px 0; /* Left align with bottom spacing */
     margin: 0 0 10px 0; /* Left align with bottom spacing */
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Depth */
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Depth */
     text-align: left;
     text-align: left;
Line 255: Line 580:
}
}


/* Styling for the three-line icon */
.toctogglelabel::before {
.toctogglelabel::before {
     content: "\2630"; /* Three-line icon */
     content: "\2630"; /* Three-line icon */
Line 260: Line 586:
     cursor: pointer;
     cursor: pointer;
     color: white;
     color: white;
    display: inline-block; /* Ensure proper alignment */
    margin-right: 5px; /* Adjust spacing from the text */
    padding-left: 14px; /* Adjust left padding to align better */
    padding-top: 11px; /* Adjust top padding for vertical alignment */
}
}


Line 281: Line 611:
     grid-auto-flow: column; /* Flow into columns */
     grid-auto-flow: column; /* Flow into columns */
     column-gap: 20px; /* Spacing between columns */
     column-gap: 20px; /* Spacing between columns */
     row-gap: 10px; /* Spacing between rows */
     row-gap: 2px; /* Much smaller spacing between rows */
}
}


Line 289: Line 619:
     position: relative;
     position: relative;
     padding-left: 25px; /* Space for numbers */
     padding-left: 25px; /* Space for numbers */
    margin: 0; /* Remove any margin from list items */
}
}


Line 304: Line 635:
     text-decoration: none;
     text-decoration: none;
     font-size: 14px;
     font-size: 14px;
    padding: 4px 12px; /* Reduced vertical padding */
    display: inline-block; /* Ensures padding is respected */
    border-radius: 6px; /* Rounded corners for the button effect */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth transition */
}
}


/* Highlight effect for TOC items when hovered (button effect) */
#toc ul li a:hover {
#toc ul li a:hover {
     color: #62a0ea; /* Highlight color on hover */
     color: white; /* Keep text white on hover */
    background-color: #62a0ea; /* Blue background for button effect */
    padding-left: 12px; /* Slight left padding to show effect */
    transform: scale(1.05); /* Slight zoom effect */
}
}


Line 340: Line 679:
}
}


/* END TOC EDITS END TOC EDITS END TOC EDITS END TOC EDITS */
/* MORE BUTTON DROPDOWN */


/* Adjust the page heading wrapper to match a slightly narrower body width */
.pre-content.heading-holder {
    width: 90%; /* Make it slightly less wide */
    max-width: none; /* Remove width restriction */
    margin: 0 auto; /* Center the wrapper */
    padding: 0; /* Remove unnecessary padding */
    box-sizing: border-box; /* Include padding in width calculations */
}


/* Style the page heading */
.page-heading {
    width: 100%; /* Ensure it stretches within the .heading-holder */
    margin: 0; /* Remove default margins */
    padding: 0; /* Remove default padding */
    box-sizing: border-box; /* Consistent box-sizing */
}


/* Style for the page title (keep left-aligned) */
/* Style for the toggle list background and text */
h1#firstHeading {
#p-tb {
     font-size: 3em; /* Larger font size for emphasis */
     background-color: #333333; /* Dark grey background */
     color: white; /* White text color */
     color: white; /* White text */
    text-align: left; /* Ensure the text stays left-aligned */
    border-bottom: 2px solid rgba(68, 68, 68, 0.7); /* Maintain existing underline */
    padding-bottom: 20px; /* Space between text and underline */
    margin-bottom: 5px; /* Add 5px of padding below the header */
    padding-top: 30px; /* Space above the header */
}
}


/* Optional: Adjust tagline alignment and width */
/* Style for the individual items */
.page-heading .tagline {
#p-tb .toggle-list-item {
    width: 100%; /* Match the heading width */
     background-color: #333333; /* Dark grey background for each item */
    margin: 0; /* Remove default margins */
     color: white; /* White text */
    text-align: left; /* Keep tagline left-aligned */
     font-size: 1rem; /* Adjust font size */
     color: #ccc; /* Optional: Subtle text color for tagline */
}
}


/* Style the main content area to match the narrower width */
/* Style for the anchor tags (links) */
#mw-content-text,
#p-tb .toggle-list-item__anchor {
#bodyContent {
     color: white; /* White text for links */
     width: 90%; /* Match the narrower width */
     text-decoration: none; /* Remove underline from links */
     max-width: none; /* Remove restrictions on maximum width */
     display: flex; /* To keep icon and text aligned */
     margin: 0 auto; /* Center the content */
     align-items: center; /* Center align the icon and text */
     padding-top: 5px; /* Add space between the header and content */
    box-sizing: border-box; /* Include padding in width calculations */
}
}


/* Hide the "Page" and "Discussion" buttons */
/* Hover effect for the links */
#p-associated-pages {
#p-tb .toggle-list-item__anchor:hover {
     display: none !important; /* Remove the entire button container */
     background-color: #555555; /* Slightly lighter grey on hover */
}
}


 
/* Style for the icons */
 
#p-tb .minerva-icon {
/* SEARCH BAR EDITS */
     margin-right: 8px; /* Space between icon and text */
 
/* Fix background for the entire search results container */
.suggestions-results {
     background-color: rgba(30, 30, 30, 0.95) !important; /* Dark background */
    border: none !important; /* Remove any borders */
    color: white !important; /* Ensure all text is white */
    border-radius: 5px; /* Rounded corners */
    padding: 5px; /* Add padding */
    margin: 0 auto; /* Center the dropdown */
    max-width: 900px; /* Match the search bar width */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); /* Add subtle shadow */
}
}


/* Fix individual suggestion results */
/* Style for the label text */
.suggestions-result {
#p-tb .toggle-list-item__label {
     background-color: rgba(42, 42, 42, 0.9); /* Slightly lighter background */
     font-size: 14px; /* Optional: adjust font size */
    color: white !important; /* Ensure text is white */
    padding: 10px; /* Add padding */
    border-radius: 4px; /* Rounded corners */
    margin-bottom: 5px; /* Space between results */
    cursor: pointer; /* Pointer on hover */
    border: none !important; /* Remove white border */
}
}


.suggestions-result:hover {
/* END TOC EDITS END TOC EDITS END TOC EDITS END TOC EDITS */
    background-color: rgba(60, 60, 60, 0.9); /* Slightly lighter on hover */
}
 
/* Fix for the special box in the search results */
.suggestions-special {
    background-color: rgba(30, 30, 30, 0.9) !important; /* Dark background */
    color: white !important; /* Ensure all text is white */
    border-radius: 5px; /* Rounded corners */
    padding: 10px;
    margin-top: 5px; /* Space above */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* Subtle shadow */
    border: none !important; /* Remove any borders */
}
 
/* Special box text styling */
.suggestions-special .special-label,
.suggestions-special .special-query {
    color: white !important; /* Ensure all text inside is white */
}
 
/* Search bar styling */
input.search {
    width: 70%; /* Make the search bar wider */
    max-width: 900px; /* Limit the maximum width */
    height: 50px; /* Make it taller */
    font-size: 18px; /* Larger text size */
    padding: 10px 15px; /* Padding inside the search bar */
    background-color: rgba(30, 30, 30, 0.9) !important; /* Dark background */
    color: white !important; /* White text */
    border: 1px solid rgba(68, 68, 68, 0.8); /* Use dark grey border */
    border-radius: 5px; /* Rounded corners */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* Subtle shadow */
}
 
input.search:focus {
    outline: none !important; /* Remove focus outline */
    border-color: rgba(90, 90, 90, 0.9); /* Slightly lighter grey border when focused */
}
 
input.search::placeholder {
    color: rgba(200, 200, 200, 0.7) !important; /* Light grey placeholder text */
}
 
/* Adjust search button to match the search bar */
.search-container button#searchIcon {
    margin-left: 10px; /* Spacing between search bar and button */
    height: 50px; /* Match height with search bar */
    background-color: rgba(30, 30, 30, 0.9); /* Dark background */
    border: 1px solid rgba(68, 68, 68, 0.8); /* Use dark grey border */
    color: white; /* White icon color */
    padding: 8px 12px; /* Adjust button size */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer;
}
 
.search-container button#searchIcon:hover {
    background-color: rgba(60, 60, 60, 0.9); /* Slightly lighter on hover */
    border-color: rgba(90, 90, 90, 0.9); /* Adjust border on hover */
}
 
 
 
/* Further reduce space below the page name */
h1#firstHeading {
    margin-bottom: 5px; /* Minimized space below the title */
    padding-bottom: 2px; /* Tighter padding for the underline */
    border-bottom: 2px solid rgba(68, 68, 68, 0.7); /* Keep the underline consistent */
}
 
/* Remove space between the title underline and content */
.mw-parser-output {
    margin-top: -10px; /* Move content closer to the title underline */
    padding-top: 0; /* Ensure no padding at the top of content */
}
 
/* Completely remove padding for main content */
.content, .pre-content {
    padding-top: 0 !important; /* Ensure no padding above the main content */
    margin-top: -10px !important; /* Move content closer to the title */
}
 
/* Optional: Remove any additional global spacing */
body.page-Main_Page .mw-body {
    margin-top: 0 !important; /* Eliminate extra margin on the main body */
    padding-top: 0 !important; /* Tighten top padding globally */
}

Latest revision as of 03:52, 22 March 2025

/* 1st PAGE HEADING CHANGES */

#firstHeading,
.firstHeading,
.mw-first-heading {
    max-width: 90%; /* Adjust width to split the difference */
    margin: 0 auto; /* Center-align */
    text-align: center; /* Center-align the heading text */
    box-sizing: border-box; /* Include padding in width calculations */
}

h1#firstHeading {
    font-size: 3em; /* Larger font size for emphasis */
    color: #c1c1c1; /* Light grey for consistency */
    text-align: left; /* Left-aligned text */
    border-bottom: 2px solid #c1c1c1; /* Light grey underline like other headers */
    padding-bottom: 10px; /* Space between text and underline */
    margin-bottom: 20px; /* Space between the underline and the page body */
    padding-top: 30px; /* Space above the header */
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    #firstHeading,
    .firstHeading,
    .mw-first-heading {
        max-width: 100%; /* Full width on mobile */
        text-align: left; /* Left-align the heading text */
        margin: 0; /* Remove centering */
    }
    
    h1#firstHeading {
        text-align: left; /* Ensure text is left-aligned */
        margin-left: 0; /* Remove any left margin */
    }
}

/* TEXT/FONT STYLES OF PAGE DETAILS */

/* General Text Styling */
body, p, span, div {
    color: #c1c1c1; /* Light grey for default text */
    font-family: Georgia, Times, serif; /* Serif font for default text */
    line-height: 1.5;
}


/* Header Styling (H1-H6) */
h1, h2, h3, h4, h5, h6 {
    color: #c1c1c1; /* Default light grey for headers */
    font-family: Georgia, Times, serif; /* Serif font for headers */
    line-height: 1.3;
    margin-top: 1em;
    margin-bottom: 0.25em; /* Reduced space between header and content */
    padding-bottom: 2px; /* Minimal padding for underline */
}

/* Underline for H1 and H2 */
h1, h2 {
    border-bottom: 1px solid #c1c1c1; /* Light grey underline */
}
/* Hyperlinks in Headers */
h1 .mw-headline a, h2 .mw-headline a, h3 .mw-headline a {
    color: #66D9EF; /* Bright light cyan for unvisited header links (existing page) */
    font-family: Georgia, Times, serif; /* Match header font */
}

h1 .mw-headline a:visited, h2 .mw-headline a:visited, h3 .mw-headline a:visited {
    color: #499dad; /* Light cyan for visited header links (existing page) */
    font-family: Georgia, Times, serif; /* Match header font */
}

h1 .mw-headline a.new, h2 .mw-headline a.new, h3 .mw-headline a.new {
    color: #d44; /* Red for headers linking to non-existent pages */
    font-family: Georgia, Times, serif; /* Match header font */
}

/* Headers Without Links */
h1 .mw-headline:not(a), h2 .mw-headline:not(a), h3 .mw-headline:not(a) {
    color: #c1c1c1; /* Light grey for headers without links */
}

/* Hyperlink Colors (General) */
a, .mw-body a.external, .mw-body a.extiw {
    color: #66D9EF; /* Bright light cyan for unvisited links */
    text-decoration: none; /* No underline */
    font-family: Georgia, Times, serif; /* Ensure consistency */
}

a:visited, .mw-body a.external:visited, .mw-body a.extiw:visited {
    color: #499dad; /* Light cyan for visited links */
    text-decoration: none;
}

a.new, #p-personal a.new {
    color: #d44; /* Red for non-existent links */
    text-decoration: none;
}

/* Hyperlink Hover Effect */
a:hover, .mw-body a:hover {
    color: #33d4d4; /* Slightly brighter cyan on hover */
    text-decoration: underline;
}

/* Horizontal Rule Styling */
hr {
    color: #222; /* Darker grey line */
    border: none;
    border-top: 1px solid #222;
    margin: 1em 0;
}

/* Input and Textarea Styling */
input, textarea {
    background-color: #4c4c4c; /* Dark grey background */
    border-color: #4c4c4c;
    color: #c1c1c1; /* Light grey text */
    font-family: Georgia, Times, serif; /* Ensure consistent font */
}

/* Navigation Menu Styling */
div#mw-head div.vectorMenu h3 span, div.vectorMenu li a {
    color: #66D9EF; /* Bright light cyan for links in the navigation menu */
    font-family: Georgia, Times, serif; /* Consistent font */
}

div.vectorMenu li.selected a, div.vectorMenu li.selected a:visited {
    color: #499dad; /* Light cyan for visited links */
    text-decoration: none;
}

/* General Page Background and Body Content */
html, body {
    font-family: Georgia, Times, serif; /* Default body font */
    background-color: #2a2a2a; /* Dark grey background */
    margin: 0;
    padding: 0;
}

.mw-body {
    color: #c1c1c1; /* Light grey text */
    font-family: Georgia, Times, serif; /* Default body text font */
    background-color: #333; /* Darker grey for content background */
}

.mw-body p {
    line-height: inherit;
    margin: 0.5em 0 1.5em 0; /* Add more spacing below paragraphs */
}

/* Table of Contents and Sidebar Styling */
#toc, div.toc, ul#filetoc, li.gallerybox div.thumb {
    background-color: #4c4c4c;
    border-color: #666; /* Medium grey for borders */
    font-family: Georgia, Times, serif; /* Consistent font */
}

div.thumbinner, .catlinks {
    background-color: #4c4c4c;
    border-color: #666;
}

code {
    border: none;
    background-color: inherit;
    color: inherit;
    font-family: monospace; /* Explicitly set for code blocks */
}



/* PAGE BACKGROUND */

/* Apply background to the html element */
html {
    height: 100%; /* Full height of the viewport */
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    overflow-y: hidden; /* Prevent unintended vertical scrolling */
    background: url('https://wiki.cosmicsky.net/images/thumb/4/48/BackgroundThree.png/1600px-BackgroundThree.png?20240916194629') no-repeat center center fixed;
    background-size: cover;
}

/* Ensure body inherits full height and uses the background */
body {
    height: 100%; /* Match the height of the html element */
    margin: 0;
    padding: 0;
    display: flex; /* Allow flex layout for consistent child alignment */
    flex-direction: column; /* Stack children vertically */
    overflow-x: hidden; /* Prevent horizontal scrolling */
    overflow-y: auto; /* Allow scrolling within body only */
    color: var(--text-color);
    font-family: Georgia, 'Times New Roman', Times, serif;
}

/* Extend the viewport container */
.mw-mf-viewport {
    flex: 1; /* Ensure it grows to fill the remaining space */
    display: block; /* Avoid flex container issues */
    background: transparent !important; /* Ensure no background overlay */
    overflow: visible; /* Avoid additional scroll bars */
}

/* Button Styling */
.mw-ui-button {    
    background-color: #212121 !important;
    border: 2px solid #333333 !important;
    outline: none !important;
    text-align: center;
    cursor: pointer;
}

.mw-ui-button:hover {
    border-color: #eceada !important;
}

/* Main page container: fully transparent */
#mw-mf-page-center {
    background-color: transparent !important; /* Remove the grey background */
    box-shadow: none !important; /* Remove shadows */
    border: none !important; /* Remove borders */
    padding: 0; /* Ensure no unnecessary padding adds opacity */
    flex: 1; /* Allow it to stretch and fill the viewport */
    overflow: visible; /* Prevent extra scrolling */
}

/* Content areas: transparent */
.content, .pre-content, .mw-parser-output, .mw-body {
    background-color: transparent !important; /* Fully transparent content */
    box-shadow: none !important; /* Remove any shadows */
    border: none !important; /* Remove borders */
    padding: 15px; /* Optional padding for readability */
    color: var(--text-color); /* Ensure text remains readable */
    z-index: auto; /* Prevent overlapping stacking context */
    flex: 1; /* Allow these areas to grow and fill the remaining space */
}

/* Sticky header with custom layout and spacing adjustments */
.header-container.header-chrome {
    position: sticky;
    top: 0;
    background: rgba(10, 10, 10, 0.35) !important; /* Transparent header */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* Maintain shadow for visibility */
    border-bottom: 1px solid rgba(68, 68, 68, 0.7); /* Subtle bottom border */
    z-index: 1000; /* Ensure header stays above all other elements */
    height: 120px; /* Header height */
    display: flex; /* Use flexbox for layout */
    align-items: center; /* Vertically center the items */
    justify-content: space-between; /* Distribute space between elements */
    padding: 0; /* Remove unnecessary padding */
    overflow-x: hidden; /* Prevent header overflow */
}

/* Remove default padding or centering restrictions */
.header-container .branding-box,
.header-container .search-container,
.header-container .menu-icon {
    margin: 0 !important; /* Reset all margins */
    padding: 0 !important; /* Reset all padding */
    flex-shrink: 0; /* Prevent elements from shrinking */
}

/* Adjust the branding box to ensure it properly covers the icon */
.branding-box {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 20px; /* Add spacing around the logo */
    width: auto; /* Adjust width dynamically */
    max-width: 350px; /* Limit maximum width for responsiveness */
    height: 100px; /* Adjust the height of the logo */
    box-sizing: border-box; /* Ensure the padding is included in the width */
}

/* Enlarge the branding/logo area and prevent it from overflowing */
.branding-box a {
    display: block;
    width: 100%;
    height: 100%;
    background: url('https://wiki.cosmicsky.net/images/6/62/CosmicLogo.png?20240913203127') no-repeat center center;
    background-size: contain;
    text-indent: -9999px;
    overflow: hidden;
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden; /* Prevent horizontal scrolling */
    }

    .mw-mf-viewport {
        min-height: 100%; /* Ensure the viewport container spans the full height */
        overflow: visible; /* Avoid clipping on mobile */
    }

    .branding-box {
        margin: 0; /* Remove extra spacing */
        width: auto; /* Allow flexibility on mobile */
        max-width: 200px; /* Smaller logo for mobile */
        height: 80px; /* Reduce height on mobile */
        align-self: flex-start; /* Align branding to the left */
    }

    .header-container.header-chrome {
        height: auto; /* Adjust height dynamically for smaller devices */
        flex-direction: column; /* Stack items vertically on mobile */
        align-items: flex-start; /* Left-align items */
    }
}

/* Adjust the page heading wrapper to match a slightly narrower body width */
.pre-content.heading-holder {
    width: 90%; /* Make it slightly less wide */
    max-width: none; /* Remove width restriction */
    margin: 0 auto; /* Center the wrapper */
    padding: 0; /* Remove unnecessary padding */
    box-sizing: border-box; /* Include padding in width calculations */
}

/* Optional: Adjust tagline alignment and width */
.page-heading .tagline {
    width: 100%; /* Match the heading width */
    margin: 0; /* Remove default margins */
    text-align: left; /* Keep tagline left-aligned */
    font-size: 1rem; /* Adjust font size */
    color: #ccc; /* Optional: Subtle text color for tagline */
}

/* Style the main content area to match the narrower width */
#mw-content-text,
#bodyContent {
    width: 90%; /* Match the narrower width for larger screens */
    max-width: none; /* Remove restrictions on maximum width */
    margin: 0 auto; /* Center the content */
    padding-top: 5px; /* Add space between the header and content */
    box-sizing: border-box; /* Include padding in width calculations */
}

/* Hide the "Page" and "Discussion" buttons */
#p-associated-pages {
    display: none !important; /* Remove the entire button container */
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    .pre-content.heading-holder,
    #mw-content-text,
    #bodyContent {
        width: 100%; /* Full width on mobile */
        margin: 0; /* Remove centering margin */
        padding: 0; /* Remove unnecessary padding */
    }
}






/* SEARCH BAR EDITS */

/* Fix background for the entire search results container */
.suggestions-results {
    background-color: rgba(30, 30, 30, 0.95) !important; /* Dark background */
    border: none !important; /* Remove any borders */
    color: white !important; /* Ensure all text is white */
    border-radius: 5px; /* Rounded corners */
    padding: 5px; /* Add padding */
    margin: 0 auto; /* Center the dropdown */
    max-width: 900px; /* Match the search bar width */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); /* Add subtle shadow */
}

/* Fix individual suggestion results */
.suggestions-result {
    background-color: rgba(42, 42, 42, 0.9); /* Slightly lighter background */
    color: white !important; /* Ensure text is white */
    padding: 10px; /* Add padding */
    border-radius: 4px; /* Rounded corners */
    margin-bottom: 5px; /* Space between results */
    cursor: pointer; /* Pointer on hover */
    border: none !important; /* Remove white border */
}

.suggestions-result:hover {
    background-color: rgba(60, 60, 60, 0.9); /* Slightly lighter on hover */
}

/* Fix for the special box in the search results */
.suggestions-special {
    background-color: rgba(30, 30, 30, 0.9) !important; /* Dark background */
    color: white !important; /* Ensure all text is white */
    border-radius: 5px; /* Rounded corners */
    padding: 10px;
    margin-top: 5px; /* Space above */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* Subtle shadow */
    border: none !important; /* Remove any borders */
}

/* Special box text styling */
.suggestions-special .special-label,
.suggestions-special .special-query {
    color: white !important; /* Ensure all text inside is white */
}

/* Search bar styling */
input.search {
    width: 70%; /* Make the search bar wider */
    max-width: 900px; /* Limit the maximum width */
    height: 50px; /* Make it taller */
    font-size: 18px; /* Larger text size */
    padding: 10px 15px; /* Padding inside the search bar */
    background-color: rgba(30, 30, 30, 0.9) !important; /* Dark background */
    color: white !important; /* White text */
    border: 1px solid rgba(68, 68, 68, 0.8); /* Use dark grey border */
    border-radius: 5px; /* Rounded corners */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* Subtle shadow */
}

input.search:focus {
    outline: none !important; /* Remove focus outline */
    border-color: rgba(90, 90, 90, 0.9); /* Slightly lighter grey border when focused */
}

input.search::placeholder {
    color: rgba(200, 200, 200, 0.7) !important; /* Light grey placeholder text */
}

/* Adjust search button to match the search bar */
.search-container button#searchIcon {
    margin-left: 10px; /* Spacing between search bar and button */
    height: 50px; /* Match height with search bar */
    background-color: rgba(30, 30, 30, 0.9); /* Dark background */
    border: 1px solid rgba(68, 68, 68, 0.8); /* Use dark grey border */
    color: white; /* White icon color */
    padding: 8px 12px; /* Adjust button size */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer;
}

.search-container button#searchIcon:hover {
    background-color: rgba(60, 60, 60, 0.9); /* Slightly lighter on hover */
    border-color: rgba(90, 90, 90, 0.9); /* Adjust border on hover */
}



/* Remove space between the title underline and content */
.mw-parser-output {
    margin-top: -10px; /* Move content closer to the title underline */
    padding-top: 0; /* Ensure no padding at the top of content */
}

/* Completely remove padding for main content */
.content, .pre-content {
    padding-top: 0 !important; /* Ensure no padding above the main content */
    margin-top: -10px !important; /* Move content closer to the title */
}

/* Optional: Remove any additional global spacing */
body.page-Main_Page .mw-body {
    margin-top: 0 !important; /* Eliminate extra margin on the main body */
    padding-top: 0 !important; /* Tighten top padding globally */
}

/* TOC Underline Fix */


/* Remove underline from TOC heading */
#mw-toc-heading {
    border-bottom: none !important; /* Remove underline */
    margin-bottom: 0; /* Adjust spacing if necessary */
}



/* LEFT MENU POP UP STYLING */


/* Menu container */
#mw-mf-page-left {
    background-color: #2c2c2c; /* Dark grey background for the entire menu */
    color: white; /* White text for all items */
    border-right: 1px solid #444; /* Optional border for separation */
}

/* Target all list items */
#mw-mf-page-left ul.toggle-list__list {
    list-style: none; /* Remove bullet points */
    margin: 0;
    padding: 0;
}

/* Ensure links (buttons) always have dark grey backgrounds */
#mw-mf-page-left .toggle-list-item__anchor {
    display: flex; /* Align text and icons horizontally */
    align-items: center;
    padding: 10px 15px; /* Add padding for better button size */
    background-color: #2c2c2c !important; /* Force dark grey background */
    color: white; /* White text */
    text-decoration: none; /* Remove underlines */
    border-bottom: 1px solid #444; /* Optional separators */
    font-weight: bold; /* Make text bold */
}

/* Remove any parent white background influence */
#mw-mf-page-left .toggle-list-item {
    background-color: #2c2c2c !important; /* Force dark grey for list items */
}

/* Hover effect for links */
#mw-mf-page-left .toggle-list-item__anchor:hover {
    background-color: #444; /* Slightly lighter grey */
    color: white; /* White text remains */
}

/* Icons within menu */
#mw-mf-page-left .minerva-icon {
    margin-right: 10px; /* Add spacing between icon and text */
    font-size: 16px; /* Adjust icon size */
    color: white; /* Ensure icons are white */
}

/* Text labels in buttons */
#mw-mf-page-left .toggle-list-item__label {
    text-decoration: none; /* No underline */
    color: white; /* White text for button labels */
}

/* Menu headings */
#mw-mf-page-left h2 {
    color: white; /* White text for headings */
    padding: 10px 15px; /* Add padding */
    margin: 0;
    border-bottom: 1px solid #444; /* Subtle heading separator */
}

/* Force styles on any conflicting elements */
#mw-mf-page-left .toggle-list-item,
#mw-mf-page-left .toggle-list-item__anchor,
#mw-mf-page-left ul.toggle-list__list li {
    background-color: #2c2c2c !important; /* Force dark grey background for all states */
    color: white; /* Ensure white text */
    border: none; /* Remove extra borders if present */
}
/* TOC TOC TOC TOC TOC TOC TOC TOC TOC */

/* TOC Container Styling */
#toc {
    background-color: rgba(50, 50, 50, 0.95); /* Uniform dark gray background */
    border-radius: 8px; /* Rounded corners */
    border: 1px solid rgba(68, 68, 68, 0.8); /* Subtle border */
    padding: 5px;
    margin: 0 0 10px 0; /* Left align with bottom spacing */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Depth */
    text-align: left;
    position: relative;
}

/* TOC Title Section */
.toctitle {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align everything to the left */
    font-size: 18px;
    font-weight: bold;
    color: white;
    margin-bottom: 10px;
}

/* Three-line Button Styling */
.toctogglespan {
    display: inline-flex; /* Keep inline with the title */
    align-items: center; /* Center-align with the title */
    margin-right: 10px;
}

/* Styling for the three-line icon */
.toctogglelabel::before {
    content: "\2630"; /* Three-line icon */
    font-size: 22px; /* Larger size for the button */
    cursor: pointer;
    color: white;
    display: inline-block; /* Ensure proper alignment */
    margin-right: 5px; /* Adjust spacing from the text */
    padding-left: 14px; /* Adjust left padding to align better */
    padding-top: 11px; /* Adjust top padding for vertical alignment */
}

/* Styling for the 'Contents' Heading */
.toctitle h2 {
    font-size: 20px;
    font-weight: bold;
    margin: 0; /* No additional margin to keep aligned */
    color: white;
    text-align: left;
    display: inline; /* Keep inline with the button */
}

/* TOC List Styling */
#toc ul {
    list-style: none; /* Remove default bullets */
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-rows: repeat(6, auto); /* 6 items per column */
    grid-auto-flow: column; /* Flow into columns */
    column-gap: 20px; /* Spacing between columns */
    row-gap: 2px; /* Much smaller spacing between rows */
}

/* Numbering for List Items */
#toc ul li {
    counter-increment: toc-counter; /* Increment counter */
    position: relative;
    padding-left: 25px; /* Space for numbers */
    margin: 0; /* Remove any margin from list items */
}

#toc ul li::before {
    content: counter(toc-counter) "."; /* Add the numbering */
    position: absolute;
    left: 0;
    color: #62a0ea; /* Light blue for numbers */
    font-weight: bold;
}

/* Links in TOC */
#toc ul li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px; /* Reduced vertical padding */
    display: inline-block; /* Ensures padding is respected */
    border-radius: 6px; /* Rounded corners for the button effect */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth transition */
}

/* Highlight effect for TOC items when hovered (button effect) */
#toc ul li a:hover {
    color: white; /* Keep text white on hover */
    background-color: #62a0ea; /* Blue background for button effect */
    padding-left: 12px; /* Slight left padding to show effect */
    transform: scale(1.05); /* Slight zoom effect */
}

/* Nested Lists (H2, H3) */
#toc ul li ul {
    padding-left: 20px;
}

#toc ul li ul li {
    padding-left: 15px;
    font-size: 13px; /* Smaller font for nested items */
}

#toc ul li ul li::before {
    content: counters(toc-counter, ".") "."; /* Nested numbering */
    font-size: 13px;
}

/* Collapse Functionality */
#toc.collapsed ul {
    display: none; /* Hide content when collapsed */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    #toc {
        width: 100%; /* Full width on small screens */
    }
    #toc ul {
        grid-template-rows: repeat(auto-fit, minmax(1fr)); /* Single column on smaller screens */
    }
}

/* MORE BUTTON DROPDOWN */



/* Style for the toggle list background and text */
#p-tb {
    background-color: #333333; /* Dark grey background */
    color: white; /* White text */
}

/* Style for the individual items */
#p-tb .toggle-list-item {
    background-color: #333333; /* Dark grey background for each item */
    color: white; /* White text */
}

/* Style for the anchor tags (links) */
#p-tb .toggle-list-item__anchor {
    color: white; /* White text for links */
    text-decoration: none; /* Remove underline from links */
    display: flex; /* To keep icon and text aligned */
    align-items: center; /* Center align the icon and text */
}

/* Hover effect for the links */
#p-tb .toggle-list-item__anchor:hover {
    background-color: #555555; /* Slightly lighter grey on hover */
}

/* Style for the icons */
#p-tb .minerva-icon {
    margin-right: 8px; /* Space between icon and text */
}

/* Style for the label text */
#p-tb .toggle-list-item__label {
    font-size: 14px; /* Optional: adjust font size */
}

/* END TOC EDITS END TOC EDITS END TOC EDITS END TOC EDITS */