MediaWiki:Vector-darkmode.less/files.less

From Old School RuneScape Wiki
Jump to navigation Jump to search
// <pre>
/* ========================
            images
   ======================== */

// no thumb background on osw
//.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;
	}
}