MediaWiki:Vector.css: Difference between revisions

From aurawatch
Jump to navigation Jump to search
No edit summary
No edit summary
Line 86: Line 86:




/* ==== kill white frames around images everywhere (Vector + Vector-legacy) ==== */
/* Parsoid/VE figures: remove the white frame/mat */
 
.mw-parser-output figure[typeof~="mw:File/Thumb"],
/* Article thumbnails */
.mw-parser-output figure[typeof~="mw:Image/Thumb"],
.skin-vector .mw-parser-output div.thumbinner,
.mw-parser-output figure[typeof~="mw:File/Frame"],
.skin-vector-legacy .mw-parser-output div.thumbinner,
.mw-parser-output figure[typeof~="mw:Image/Frame"] {
#mw-content-text .thumbinner,
#content .thumbinner {
   background: transparent !important;
   background: transparent !important;
   border: 0 !important;
   border: 0 !important;
   padding: 0 !important;
   box-shadow: none !important;
}
}


/* The image element inside the thumb */
/* The padded white wrapper is the link around the img */
.skin-vector .mw-parser-output img.thumbimage,
.mw-parser-output figure[typeof~="mw:File/Thumb"] > a,
.skin-vector-legacy .mw-parser-output img.thumbimage,
.mw-parser-output figure[typeof~="mw:Image/Thumb"] > a,
#mw-content-text img.thumbimage,
.mw-parser-output figure[typeof~="mw:File/Frame"] > a,
#content img.thumbimage,
.mw-parser-output figure[typeof~="mw:Image/Frame"] > a {
.mw-parser-output img.mw-file-element,
.mw-parser-output img.thumbborder {
   background: transparent !important;
   background: transparent !important;
   border: 0 !important;
   border: 0 !important;
  padding: 0 !important;
   box-shadow: none !important;
   box-shadow: none !important;
}
}


/* The link wrapper around the image */
/* The actual image */
.mw-parser-output .thumb a.image,
.mw-parser-output figure[typeof*="mw:"] img.mw-file-element,
.mw-parser-output .gallerybox .thumb a {
.mw-parser-output figure[typeof*="mw:"] img.thumbborder {
   background: transparent !important;
   background: transparent !important;
   border: 0 !important;
   border: 0 !important;
  box-shadow: none !important;
}
}


/* Gallery cells + gallery thumbs */
/* Optional: caption styling */
.mw-parser-output table.gallery,
.mw-parser-output figure[typeof*="mw:"] .thumbcaption {
.mw-parser-output table.gallery td,
.mw-parser-output .gallerybox .thumb,
.mw-parser-output .gallerybox .thumb img {
   background: transparent !important;
   background: transparent !important;
   border: 0 !important;
   border: 0 !important;
}
/* File: pages (the large image frame) */
#file,
#file .fullImageLink,
#file .fullMedia,
#file img,
.fullImageLink a img {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
/* (Optional) if a CSS var is used for borders by your skin/extensions */
:root {
  --thumb-border-color: transparent !important;
}
}

Revision as of 11:13, 18 September 2025

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;
}


/* Parsoid/VE figures: remove the white frame/mat */
.mw-parser-output figure[typeof~="mw:File/Thumb"],
.mw-parser-output figure[typeof~="mw:Image/Thumb"],
.mw-parser-output figure[typeof~="mw:File/Frame"],
.mw-parser-output figure[typeof~="mw:Image/Frame"] {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* The padded white wrapper is the link around the img */
.mw-parser-output figure[typeof~="mw:File/Thumb"] > a,
.mw-parser-output figure[typeof~="mw:Image/Thumb"] > a,
.mw-parser-output figure[typeof~="mw:File/Frame"] > a,
.mw-parser-output figure[typeof~="mw:Image/Frame"] > a {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

/* The actual image */
.mw-parser-output figure[typeof*="mw:"] img.mw-file-element,
.mw-parser-output figure[typeof*="mw:"] img.thumbborder {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

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