|
|
| (65 intermediate revisions by the same user not shown) |
| Line 1: |
Line 1: |
| /* CSS placed here will be applied to all skins */
| | .vector-menu-content a { |
| /* Make Vector-2022 header fully transparent */
| | color: var(--zx-text-muted) !important; |
| .vector-header { | |
| background-color: transparent !important; | |
| } | | } |
| | | .vector-main-menu a:hover, |
| /* Make header elements (search box, tabs, etc.) transparent as well */
| | .vector-menu-content a:hover { |
| .vector-header-container,
| | color: var(--zx-gold-bright) !important; |
| .vector-search-box, | |
| .vector-user-links,
| |
| .vector-menu-tabs,
| |
| .vector-menu-tabs .vector-menu-content,
| |
| .vector-menu-dropdown .vector-menu-content {
| |
| background-color: transparent !important;
| |
| } | | } |
| | | .vector-menu-heading { |
| /* Ensure dropdown menus are still visible when expanded */
| | font-family: var(--zx-font-display) !important; |
| .vector-menu-dropdown .vector-menu-content-list {
| | color: var(--zx-gold) !important; |
| background-color: rgba(255, 255, 255, 0.9) !important;
| | text-transform: uppercase; |
| }
| | letter-spacing: 0.2em; |
| /* Add animated GIF above sidebar navigation */
| | font-size: 11px !important; |
| #mw-panel:before {
| |
| content: "";
| |
| display: block;
| |
| width: 100%;
| |
| height: 100px; /* Adjust based on your GIF height */
| |
| background-image: url("https://wiki.zenithxi.com/db/resources/assets/animatedlogo.gif");
| |
| background-repeat: no-repeat;
| |
| background-position: center;
| |
| background-size: contain;
| |
| margin-bottom: 10px;
| |
| }
| |
| /* Import Roboto font from Google Fonts */
| |
| @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
| |
| | |
| /* Change the main font for the entire wiki to Roboto */
| |
| body, #content, #bodyContent, h1, h2, h3, h4, h5, h6, div, p, ul, li, td, th {
| |
| font-family: 'Roboto', sans-serif !important; | |
| }
| |
| .mw-logo-wordmark {
| |
| font-size: 28px !important;
| |
| font-weight: 500 !important;
| |
| text-transform: uppercase !important;
| |
| }
| |
| /* Add transparency to the content container */
| |
| /* Add transparency to the main content area in Vector-2022 */
| |
| .vector-body {
| |
| background-color: rgba(255, 255, 255, 0.8) !important;
| |
| }
| |
| | |
| /* Make sure the content container itself is also transparent */
| |
| .vector-body-before-content,
| |
| .vector-body-content,
| |
| .vector-body-after-content {
| |
| background-color: rgba(255, 255, 255, 0.8) !important; | |
| }
| |
| | |
| | |
| /* Add 50% transparent background image to the page container in Vector-2022 */
| |
| .vector-column-start,
| |
| .vector-column-end,
| |
| .mw-page-container {
| |
| position: relative !important;
| |
| background-color: transparent !important;
| |
| }
| |
| | |
| /* Create pseudo-element with the background image at 50% opacity */
| |
| .mw-page-container:before {
| |
| content: "" !important;
| |
| position: fixed !important;
| |
| top: 0 !important;
| |
| left: 0 !important;
| |
| width: 100% !important;
| |
| height: 100% !important;
| |
| background-image: url('https://wiki.zenithxi.com/db/resources/assets/light-bg2.jpg') !important;
| |
| background-size: cover !important; | |
| background-position: center !important; | |
| background-attachment: fixed !important;
| |
| opacity: 0.15 !important; /* This makes the background image 50% transparent */
| |
| z-index: -1 !important; /* This puts it behind the content */ | |
| } | | } |
| | .mw-logo { display: none !important; } |
.vector-menu-content a {
color: var(--zx-text-muted) !important;
}
.vector-main-menu a:hover,
.vector-menu-content a:hover {
color: var(--zx-gold-bright) !important;
}
.vector-menu-heading {
font-family: var(--zx-font-display) !important;
color: var(--zx-gold) !important;
text-transform: uppercase;
letter-spacing: 0.2em;
font-size: 11px !important;
}
.mw-logo { display: none !important; }