MediaWiki:Vector-darkmode.less/files.less

From Old School Near-Reality Wiki
< MediaWiki:Vector-darkmode.less
Revision as of 22:06, 4 October 2022 by Jacmob (talk | contribs) (Created page with "// <pre> →‎======================== images ========================: .thumbimage { background: @cloud-burst; } // standard thumbnail caption .thumbcaption { color: @dark-text; background: @dark-wikitable-background; border: none; } // transparency grid #file img, #file img:hover, .filehistory a img, table.filehistory img { background-image: url('filepath://Dark_mode_checkered_transparency.png'); } // gallery li.gallerybox div.thu...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

//

/* ========================
            images
   ======================== */

.thumbimage {
    background: @cloud-burst;
}

// standard thumbnail caption
.thumbcaption {
    color: @dark-text;
    background: @dark-wikitable-background;
    border: none;
}

// transparency grid
#file img,
#file img:hover,
.filehistory a img,
table.filehistory img {
    background-image: url('filepath://Dark_mode_checkered_transparency.png');
}

// gallery
li.gallerybox div.thumb {
    background: @cloud-burst;
    border-color: transparent;
}

// gallery caption
div.gallerytext {
    color: @dark-text;
}

// top bar on file pages
#filetoc {
    background-color: #313e59;
    border-radius:3px;
    border:none;
}

// Removes border around images
.thumb.tright,
.thumb.tleft {
    border: none;
}

/* ========================
          JSON pages
   ======================== */

.mw-json {
	th {
	    background: #222e45;
	}
	td {
	    background: #313e59
	}
	.value {
	    background: #2e5e05;
	}
}