MediaWiki:Minerva.css: Difference between revisions

From Melvor Idle
No edit summary
No edit summary
Line 6: Line 6:
.content .infobox,
.content .infobox,
.toggle-list__list,
.toggle-list__list,
#mw-mf-page-center {
#mw-mf-page-center,
.toggle-list__list {
background-color: #282f37;
background-color: #282f37;
}
}
Line 42: Line 43:
#mw-mf-page-left ul li a,
#mw-mf-page-left ul li a,
.toggle-list-item__label,
.toggle-list-item__label,
.minerva__tab-container .minerva__tab {
.minerva__tab-container .minerva__tab,
.toggle-list-item__label {
    color: #eee;
    color: #eee;
}
}

Revision as of 03:39, 20 November 2023

@media (prefers-color-scheme: dark) {
	#content {
		background-color:#2c343f;
		border-color:#2c343f
	}
	.content .infobox,
	.toggle-list__list,
	#mw-mf-page-center,
	.toggle-list__list {
		background-color: #282f37;
	}
	.image {
		background-color: transparent;
	}
	.header-container.header-chrome {
	    background-color: #282f37;
	    box-shadow: inset 0 -1px 3px rgba(0, 0, 0, 0.1);
	}
	.minerva-footer,
	.last-modified-bar {
		background-color: #282f37;
	}
	.header-container .branding-box {
    	opacity: 1;
	}
	.search-box .search {
	    background-color: #313e59;
	    border-color: #313e59;
	    box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.1);
	}
	.search-box .search::placeholder {
	    color: #cbd9f4;
	}
	.search-box .search {
		color: #cbd9f4;
	}
	#mw-mf-page-left {
	    background-color: #282f37;
	}
	#mw-mf-page-left ul li {
	    background-color: #353d48;
	}
	#mw-mf-page-left ul li a,
	.toggle-list-item__label,
	.minerva__tab-container .minerva__tab,
	.toggle-list-item__label {
	    color: #eee;
	}
	#mw-mf-page-left ul.hlist li a {
	    color: #78a5ff;
	}
	.mw-ui-icon:not(.mw-ui-icon-mf-upTriangle-constructive):not(.mw-ui-icon-mf-upTriangle-destructive):not(.mw-ui-icon-mf-spinner):before {
	    filter: brightness(0) invert(1);
	}
}
@media (max-width: 720px) {
	.content table {
		width: auto!important;
	}
}
.content table {
    margin: 0.2rem;
}
	
#mw-mf-page-left ul.hlist li a span {
    font-size: 0.8125rem;
}