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.
/* General page styling adjustments */ /* Hide the sidebar/navigation drawer on the left side of the header */ #mw-mf-page-left { display: none !important; /* Completely hide the sidebar */ } /* If you also want to hide the icon that opens the sidebar */ #mw-mf-main-menu-button { display: none !important; /* Hide the button/icon that toggles the sidebar */ } /* Remove any borders, padding, or margins above .minerva-header */ .minerva-header { border-top: none !important; /* Ensure no top border */ margin-top: 0 !important; /* Remove any top margin */ padding-top: 0 !important; /* Remove any top padding */ box-shadow: none !important; /* Remove shadow if it's causing the line */ } /* Ensure the parent container of .minerva-header doesn't add extra space */ .header-container { border-top: none !important; /* No top border */ margin-top: 0 !important; /* Remove any top margin */ padding-top: 0 !important; /* Remove any top padding */ box-shadow: none !important; /* Remove any shadow */ } /* Hide the "last modified" bar */ .last-modified-bar, .last-modified-bar__text, .modified-enhancement { display: none !important; /* Completely hide the elements */ } /* Remove the white lines associated with the last edited bar */ .last-modified-bar, .last-modified-bar__text, .modified-enhancement { border: none !important; /* Remove borders */ } /* <pre> */ :root { /* General colors and background */ --body-main: transparent; /* Fully transparent main background */ --body-light: transparent; /* Fully transparent lighter grey */ --body-mid: transparent; /* Fully transparent medium grey */ --body-dark: transparent; /* Fully transparent dark grey */ --body-border: rgba(68, 68, 68, 0.5); /* Semi-transparent border color */ --body-background-color: transparent; /* Fully transparent body background */ /* Buttons and interactive elements */ --button-background: rgba(51, 51, 51, 0.8); --button-color: #fff; --button-border: rgba(85, 85, 85, 0.7); --button-dark: rgba(42, 42, 42, 0.8); --button-light: rgba(68, 68, 68, 0.7); /* Sidebar or menus */ --sidebar: rgba(39, 39, 39, 0.8); /* Other UI elements */ --search-box: rgba(50, 50, 50, 0.9); --thumb-bg: transparent; /* Fully transparent thumbnails */ --thumb-caption-bg: transparent; --sourceeditor-input-background: transparent; --sourceeditor-background: transparent; --sourceeditor-border: rgba(68, 68, 68, 0.7); --codemirror-gutter-background: transparent; /* Background image */ --body-background-image: url('https://wiki.cosmicsky.net/images/thumb/4/48/BackgroundThree.png/1600px-BackgroundThree.png?20240916194629'); } body { background-color: transparent; /* Body is fully transparent */ background-image: var(--body-background-image); /* Set background image */ background-attachment: fixed; background-position: center; background-repeat: no-repeat; background-size: cover; /* Cover the entire screen */ color: var(--text-color); /* Ensure text remains visible */ margin: 0; /* Remove default body margin */ padding: 0; /* Remove default padding */ width: 100%; /* Allow full width of the viewport */ max-width: none; /* Ensure no restriction on width */ } /* Sticky header spans site width */ .header-container { position: sticky; /* Make it stick to the top */ top: 0; /* Stick to the very top */ z-index: 1000; /* Ensure it stays above other elements */ background-color: rgba(30, 30, 30, 0.35); /* 50% transparency */ box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* Add shadow for better visibility */ display: flex; /* Flex layout for header elements */ align-items: center; /* Center header items vertically */ justify-content: space-between; /* Distribute space between header elements */ } /* Buttons and page alignment */ .page-buttons-box { display: flex; justify-content: center; /* Center the buttons */ align-items: center; gap: 10px; /* Space between buttons */ background-color: rgba(42, 42, 42, 0.9); /* Background for the button box */ border: 1px solid rgba(68, 68, 68, 0.7); /* Border around the button box */ border-radius: 8px; /* Rounded corners */ padding: 10px; /* Padding inside the box */ margin-bottom: 15px; /* Space below the button box */ box-sizing: border-box; /* Include padding and borders in width */ } /* Remove unnecessary left padding from pages */ #mw-page-base, #content, .mw-body { background-color: transparent !important; /* Fully transparent */ color: var(--background-text-color); /* Text remains readable */ border: none; /* Remove borders around the page */ box-shadow: none; /* Remove any shadows that obscure transparency */ } /* General page styling adjustments */ body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; } .mw-page-title-main .mw-namespace { display: none; } .page-header h1.firstHeading { display: none; } /* Main page-specific adjustments */ body.page-Main_Page .mw-body { padding-left: 1em; padding-right: 1em; } /* WIKITABLE */ /* General Wikitable Styling */ table.wikitable { width: 100%; /* Ensures table spans the available width */ max-width: none; /* Removes any fixed width constraint */ border-collapse: separate; border-spacing: 0; border: 4px solid #2b2b2b; border-radius: 8px; overflow: visible; /* Ensures tooltip can extend beyond table */ font-family: "Georgia", serif; color: #c1c1c1; background-color: #4c4c4c; } table.wikitable th, table.wikitable td { padding: 12px 16px; border: 1px solid #666666; color: #c1c1c1; font-size: 1.15em; } table.wikitable tr:nth-child(even) { background-color: #333333; } table.wikitable tr:nth-child(odd) { background-color: #4d4d4d; } table.wikitable th { background-color: #595959; color: #ffffff; font-weight: bold; font-size: 1.3em; font-family: "Georgia", serif; border: 1px solid #666666; } /* Tooltip table styling */ .tooltip-table { border-collapse: separate; width: auto; overflow: visible; border-radius: 8px; } .tooltip-table td { position: relative; text-align: center; vertical-align: middle; padding: 0; width: 48px; height: 48px; border: 1px solid black; overflow: visible; box-sizing: border-box; } .tooltip-cell .tooltip-text { visibility: hidden; width: 375px; max-width: none; padding: 0 !important; margin: 0; background: transparent !important; border: none; position: absolute; z-index: 1000; top: -10px; left: 100%; opacity: 0; transition: opacity 0.3s; box-sizing: border-box; white-space: nowrap; pointer-events: none; } .tooltip-cell:hover .tooltip-text { visibility: visible; opacity: 1; pointer-events: auto; } /* Tooltip image within the cell */ .tooltip-cell img { display: inline-block; margin: 0 auto; padding: 0; width: 48px; /* Fixed size for tooltip images */ height: 48px; border: none; background: none; object-fit: contain; /* Maintain aspect ratio */ } /* Tooltip text image styling */ .tooltip-cell .tooltip-text img { width: 48px; /* Ensure the image stays at 48px width */ height: 48px; /* Ensure height matches width for square aspect */ display: block; margin: 0 auto; border: none !important; background: none; object-fit: contain; /* Prevents distortion */ } /* Prevent global image scaling from affecting tooltip images */ img.tooltip-cell img { max-width: none !important; height: 48px !important; /* Ensures height is fixed */ width: 48px !important; /* Ensures width is fixed */ } /* Style the page action menu container */ .page-actions-menu { border: 5px solid rgba(255, 255, 255, 0.25); /* Thin, transparent white border */ border-radius: 8px; /* Rounded corners */ padding: 4px; /* Adjust padding to fit buttons inside */ display: flex; justify-content: space-between; background-color: #333; /* Dark background for the menu */ position: absolute; /* Position the menu absolutely */ top: 20px; /* Adjust the distance from the top (slightly above the page name) */ right: 10px; /* Move the menu to the right */ z-index: 1000; /* Ensure it's above other elements */ } /* Remove space from the right and make the border wrap the buttons */ .page-actions-menu__list { display: flex; gap: 0; /* No gap between buttons */ margin: 0; /* Remove any default margin */ padding: 0; /* Remove any default padding */ } /* Style each button in the menu */ .page-actions-menu__list-item { list-style: none; margin: 0; /* Remove default margin */ padding: 0; /* Remove default padding */ } /* Make the icon and text white */ .page-actions-menu__list-item a, .page-actions-menu__list-item img { color: white; /* White text */ filter: brightness(0) invert(1); /* Invert the icon color to white */ } /* Ensure the "More" button and three dots are white */ .page-actions-menu__list-item#p-more a, .page-actions-menu__list-item#p-more img { color: white; filter: brightness(0) invert(1); } /* Optional: Hover effect for better interaction */ .page-actions-menu__list-item:hover { background-color: #444; /* Slightly lighter background on hover */ cursor: pointer; } /* Optional: Adjust the size of the icons */ .page-actions-menu__list-item img { width: 16px; /* Set a uniform size for the icons */ height: 16px; /* Set a uniform height for the icons */ } /* Fix the "More" button pop-up's background and text color */ #mw-ui-popups .mw-ui-popup { background-color: rgba(50, 50, 50, 0.9); /* Darker background */ color: white; /* White text */ border-radius: 8px; /* Rounded corners for the pop-up */ } /* Hide the Language button from the page action menu */ .language-selector { display: none !important; /* Hide the Language button */ } /* Style for the 'No results found' message */ .mw-search-nonefound { font-size: 18px; /* Adjust font size */ color: #e0e0e0; /* Set text color */ margin-bottom: 15px; /* Add some space below the message */ } /* Style for the 'Create the page' message */ .mw-search-createlink { font-size: 18px; /* Adjust font size */ color: #62a0ea; /* Link color */ font-weight: bold; /* Make it stand out */ margin-top: 10px; /* Add some space above */ } /* Style for the 'Create the page' link */ .mw-search-createlink a.new { color: #62a0ea; /* Set link color */ text-decoration: none; /* Remove underline */ } .mw-search-createlink a.new:hover { text-decoration: underline; /* Add underline on hover */ } /* Ensure the visual clear divs do not interfere with layout */ .mw-search-visualclear { clear: both; display: block; } /* FOOTER FOOTER FOOTER FOOTER FOOTER FOOTER */ /* FOOTER */ /* Style the main footer container */ .post-content.footer-content { position: relative; /* For pseudo-element positioning */ width: 100vw; /* Full width of the viewport */ max-width: 100%; /* Prevent any unintended clipping */ height: 150px; /* Reduced height for the footer */ display: flex; /* Use flexbox for layout */ justify-content: space-between; /* Space out child elements */ align-items: flex-start; /* Align items to the top */ padding: 40px 0; /* Reduced padding for inner content */ color: white; /* Default text color */ z-index: 1000; /* Ensure it appears above other elements */ margin: 0 auto; /* Center align the footer if necessary */ overflow: hidden; /* Ensure no overflow outside the footer */ } /* Add the background image as a pseudo-element */ .post-content.footer-content::before { content: ""; /* Empty content for the pseudo-element */ position: absolute; top: 0; left: 0; width: 100%; /* Cover the full width of the container */ height: 100%; /* Cover the full height of the container */ background-image: url('https://wiki.cosmicsky.net/images/thumb/a/ad/FooterBackground2.png/1200px-FooterBackground2.png?20241208044913'); /* Custom background image */ background-repeat: no-repeat; /* Prevent background tiling */ background-position: center; /* Center the image */ background-size: cover; /* Ensure the image covers the width */ z-index: -1; /* Place the background behind other elements */ } /* Branding box styles */ .minerva-footer-logo { position: relative; width: 300px; /* Adjust branding box width */ height: 120px; /* Reduced branding box height */ margin-left: 120px; /* Left-align the branding box */ margin-bottom: 10px; /* Add bottom padding */ overflow: hidden; /* Ensure no extra content shows */ text-indent: -9999px; /* Hide the "MediaWiki" text */ border: none; /* Remove the line under the branding box */ } .minerva-footer-logo::before { content: ""; /* Pseudo-element for the branding logo */ position: absolute; top: 0; left: 0; width: 100%; /* Cover the branding box */ height: 100%; background: url('https://wiki.cosmicsky.net/images/6/62/CosmicLogo.png?20240913203127') no-repeat center center; /* Branding logo */ background-size: contain; /* Ensure the image scales correctly */ cursor: pointer; /* Indicate interactivity */ } /* Privacy policy and misc info placement */ #footer-places { position: absolute; /* Position relative to the footer */ bottom: 15px; /* Adjust bottom padding */ right: 15px; /* Adjust right padding */ text-align: right; /* Align text to the right */ list-style: none; /* Remove list bullets */ margin: 0; /* Remove default margin */ padding: 0; /* Remove default padding */ } /* HEADER SPACING ADJUSTMENTS */ /* Sticky header container */ .header-container { width: 100vw; /* Ensure the header spans the full viewport width */ position: fixed; /* Keep the header fixed at the top */ top: 0; /* Align to the top of the viewport */ left: 0; /* Align to the left edge */ margin: 0; /* Remove any margin */ padding: 0; /* Remove padding to avoid gaps */ box-sizing: border-box; /* Include padding and border in width calculations */ background-color: rgba(10, 10, 10, 0.35); /* Transparent background */ border-bottom: none; /* Remove any borders */ box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* Subtle shadow for depth */ z-index: 1000; /* Ensure it appears above all other content */ height: 60px; /* Set a fixed height for the header */ overflow: hidden; /* Prevent vertical and horizontal scrolls */ } /* Push body content down to prevent overlap with the header */ body { margin-top: 60px; /* Add margin equal to header height */ } /* Inner header content */ .minerva-header { width: 100%; /* Allow the content to span the full width of the header container */ max-width: 1200px; /* Constrain the inner content for larger screens */ margin: 0 auto; /* Center the inner content */ display: flex; justify-content: space-between; /* Distribute child elements */ align-items: center; /* Vertically align items */ padding: 0 15px; /* Add horizontal padding */ height: 100%; /* Match the height of the parent */ box-sizing: border-box; /* Include padding in width */ } /* Branding box adjustments */ .branding-box { flex: 0 1 auto; /* Allow resizing without collapsing */ font-size: 1.8em; /* Increase font size for prominence */ margin: 0; /* Remove margin to avoid shifting */ padding: 10px 20px; /* Add padding for desktop */ text-align: left; /* Align content to the left */ display: flex; align-items: center; /* Vertically center content */ } /* Center-align the search bar */ .minerva-search-form { flex: 1; /* Use flexible space between branding and navigation */ display: flex; justify-content: center; /* Center the search bar and button */ align-items: center; /* Vertically align items */ position: relative; /* For proper alignment */ max-width: 500px; /* Limit maximum width */ margin: 0 auto; /* Center-align the form */ height: 40px; /* Ensure consistent height */ } /* Search bar styling */ input.search { width: calc(100% - 50px); /* Adjust width dynamically to account for the button */ max-width: 400px; /* Limit search bar width */ height: 100%; /* Match the height of its parent */ border: 1px solid rgba(68, 68, 68, 0.8); /* Dark grey border */ border-radius: 5px; /* Rounded corners */ background-color: rgba(30, 30, 30, 0.9); /* Consistent dark background */ color: white; /* White text */ padding: 0 15px; /* Ensure proper padding inside */ text-align: left; /* Left-align the input text */ box-sizing: border-box; /* Include padding and border in width */ } /* Adjust placeholder text alignment */ input.search::placeholder { color: rgba(200, 200, 200, 0.7); /* Placeholder in light grey */ text-align: left; /* Left-align placeholder text */ } /* Adjust search button alignment */ #searchIcon { height: 100%; /* Match the height of the search bar */ width: 50px; /* Fixed button width */ margin-left: 5px; /* Space between search bar and button */ background-color: rgba(30, 30, 30, 0.9); /* Consistent dark background */ border: 1px solid rgba(68, 68, 68, 0.8); /* Match border with search bar */ border-radius: 5px; /* Rounded corners */ display: flex; align-items: center; /* Vertically align content */ justify-content: center; /* Center the icon inside the button */ } /* Responsive adjustments for smaller devices */ @media (max-width: 768px) { .header-container { width: 100vw; /* Ensure the header spans full width */ padding: 0; /* Remove padding */ } .minerva-header { max-width: 100%; /* Allow full width on mobile */ padding: 0 10px; /* Add padding for smaller screens */ } .branding-box { flex: 1 100%; /* Branding spans full width */ text-align: left; /* Left-align branding */ padding: 10px 0; /* Add vertical padding */ margin-bottom: 10px; /* Add space below branding */ } .minerva-search-form { flex: 1 100%; /* Search bar spans full width */ margin-bottom: 10px; /* Add spacing below search bar */ height: 40px; /* Ensure consistent height */ } input.search { width: calc(100% - 50px); /* Adjust width for button */ max-width: 90%; /* Reduce max width for mobile */ height: 100%; /* Match parent height */ } #searchIcon { margin-left: 0; /* Remove extra margin for mobile alignment */ width: 50px; /* Fixed width for button */ height: 100%; /* Match parent height */ } }