MediaWiki:Vector.css

From aurawatch
Revision as of 11:18, 18 September 2025 by Bob (talk | contribs)
Jump to navigation Jump to search

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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
div.vectorTabs ul li#ca-history {
    display: none;
}
.vector-menu-tabs-legacy li {
    background-color: transparent !important;
    color: #72777d;
    cursor: pointer;
}
.new.mw-list-item {
    background-color: transparent !important;
}
.new.mw-list-item a {
    background-color: transparent !important;
    color: #72777d;
    cursor: pointer;
    font-size: 0.8em;
}
.ca-talk {
    background-color: transparent !important;
    color: #72777d;
    cursor: pointer;
    font-size: 0.8em;
}
.vector-menu-portal .vector-menu-content li a,
.vector-menu-portal .vector-menu-content li a:visited {
    color: #72777d;
}
/* Additional rules to ensure transparency */
.vector-menu-tabs,
.vector-menu-tabs ul,
.vector-menu-tabs li,
.vector-menu-tabs a,
.vector-menu-tabs-legacy,
.vector-menu-tabs-legacy ul,
.vector-menu-tabs-legacy li,
.vector-menu-tabs-legacy a,
#p-namespaces,
#p-namespaces li,
#p-namespaces a,
#ca-nstab-main,
#ca-talk,
.vector-tab-noicon,
.mw-list-item-js {
    background-color: transparent !important;
    background: transparent !important;
    background-image: none !important;
}


.vector-menu-portal,
#mw-panel,
.vector-menu-portal .vector-menu-content {
    background-color: #202020 !important; /* Dark gray color similar to the first image */
}

.vector-menu-portal .vector-menu-heading {
    color: #cccccc;  /* Light gray for headers */
}

/* For the links */
.vector-menu-portal .vector-menu-content a {
    color: #3366bb;  /* Blue color for links */
}

/* Remove any borders that might be present */
.vector-menu-portal {
    border: none !important;
}


body {
    background-image: url('https://i.imgur.com/nBW7bEJ.png') !important;
    background-color: rgba(0, 0, 0, 0.9) !important; /* Semi-transparent black */
    background-blend-mode: overlay !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-attachment: fixed !important;
    background-size: cover !important;
}


#ca-view a, #ca-edit a, #ca-history a {
  color: inherit !important;
  background-color: transparent !important;
}


/* --- fix Parsoid/VE thumbnails --- */

/* 1) Make the image wrapper block-level and remove padding/borders */
.mw-parser-output figure[typeof*="mw:File"] > a,
.mw-parser-output figure[typeof*="mw:Image"] > a {
  display: block !important;       /* prevents the baseline gap */
  line-height: 0 !important;       /* belt-and-suspenders */
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

/* 2) Make the img itself block-level (also prevents baseline gap) */
.mw-parser-output figure[typeof*="mw:"] img.mw-file-element,
.mw-parser-output figure[typeof*="mw:"] img.thumbimage {
  display: block !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* 3) Hide empty captions (otherwise you get a blank bar) */
.mw-parser-output figure[typeof*="mw:"] figcaption:empty {
  display: none !important;
}

/* 4) Legacy thumb markup (non-Parsoid) just in case */
.mw-parser-output .thumb .thumbinner { 
  line-height: 0 !important; 
  background: transparent !important; 
  border: 0 !important; 
  padding: 0 !important; 
}
.mw-parser-output .thumb .thumbinner a.image { 
  display: block !important; 
}
.mw-parser-output .thumb img.thumbimage { 
  display: block !important; 
  background: transparent !important; 
  border: 0 !important; 
}

/* (Optional) captions */
.mw-parser-output .thumbcaption,
.mw-parser-output figure[typeof*="mw:"] .thumbcaption {
  background: transparent !important;
  border: 0 !important;
}