MediaWiki:DarkMinerva.css: Difference between revisions

From Halopedia, the Halo wiki

No edit summary
No edit summary
Line 33: Line 33:
background-color: #333 !important;
background-color: #333 !important;
color: #fff !important;
color: #fff !important;
}
/* Editor icons */
.mw-ui-icon-mf-close-base20::before,
.mw-ui-icon-mf-previous-base20::before {
filter: brightness(0) invert(1) !important;
}
/* Icons */
.mw-ui-icon-mf-expand::before {
background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3Eexpand%3C/title%3E%3Cg fill=%22%23ccc%22%3E%3Cpath d=%22M17.5 4.75l-7.5 7.5-7.5-7.5L1 6.25l9 9 9-9z%22/%3E%3C/g%3E%3C/svg%3E") !important;
}
.mw-ui-icon-mf-userAvatar::before {
background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3Euser avatar%3C/title%3E%3Cg fill=%22%2354595d%22%3E%3Cpath d=%22M10 11c-5.92 0-8 3-8 5v3h16v-3c0-2-2.08-5-8-5z%22/%3E%3Ccircle cx=%2210%22 cy=%225.5%22 r=%224.5%22/%3E%3C/g%3E%3C/svg%3E") !important;
}
.mw-ui-icon-mf-userAnonymous::before {
background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3Eanonynmous user%3C/title%3E%3Cg fill=%22%2354595d%22%3E%3Cpath d=%22M15 2H5L4 8h12zM0 10s2 1 10 1 10-1 10-1l-4-2H4zm8 4h4v1H8z%22/%3E%3Ccircle cx=%226%22 cy=%2215%22 r=%223%22/%3E%3Ccircle cx=%2214%22 cy=%2215%22 r=%223%22/%3E%3C/g%3E%3C/svg%3E") !important;
}
/* OOUI */
.oo-ui-icon-check:not(.oo-ui-image-invert), .mw-ui-icon-check::before {
filter: brightness(0) invert(1) !important;
}
.oo-ui-icon-lock, .mw-ui-icon-lock::before {
background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3Elock%3C/title%3E%3Cpath fill=%22%23ccc%22 d=%22M16.07 8H15V5s0-5-5-5-5 5-5 5v3H3.93A1.93 1.93 0 0 0 2 9.93v8.15A1.93 1.93 0 0 0 3.93 20h12.14A1.93 1.93 0 0 0 18 18.07V9.93A1.93 1.93 0 0 0 16.07 8zM10 16a2 2 0 1 1 2-2 2 2 0 0 1-2 2zm3-8H7V5.5C7 4 7 2 10 2s3 2 3 3.5z%22/%3E%3C/svg%3E") !important;
}
}



Revision as of 11:05, February 23, 2023

/* CSS placed here will affect users of the Minerva night theme */

#mw-content-text a.external[href^="https://www.halopedia.org"] { color: #009CFF !important; }

/* Background color */
body.skin-minerva, #mw-mf-page-left, .cta-holder,
.header-container.header-chrome, footer.minerva-footer,
#mw-mf-page-center, .overlay-header-container, .overlay-footer-container {
	background: #444 !important;
}
.header {
	border-color: #444 !important;
}
/* Border color */
.minerva-footer, #mw-mf-page-left ul li {
	border-top: 1px solid #555 !important;
}
body.skin-minerva.ns-special .content-header,
.last-modified-bar, body .post-content .minerva-footer-logo,
body.mediawiki form.mw-mf-settings .oo-ui-fieldLayout {
	border-color: #555 !important;
}
.mw-mf-watchlist-selector li.selected a {
	border-bottom-color: #555 !important;
}
.header-container, .secondary-action {
	border-color: #555 !important;
}
/* Active color */
body.skin-minerva h2.list-header,
.last-modified-bar, .last-modified-bar.active,
body.mediawiki form.mw-mf-settings #beta-field::before {
	background-color: #333 !important;
	color: #fff !important;
}

/* Basic elements */
a, #mw-mf-page-left ul.hlist li a {
	color: #009CFF !important;
}
a.new, .new a { color: #FF1A1A !important; }
body, .content, .oo-ui-messageDialog-message,
#mw-content-text a.mw-selflink, .scrollbox, .darkbg,
#toc .toctitle, .toc .toctitle, #mw-toc-heading {
	color: #ccc !important;
}

/* General */
.minerva-talk-content-explained {
	border-color: #54595d !important;
}
.minerva-talk-full-page-button {
	color: #fff !important;
	background: #444 !important;
	border-color: #666 !important;
}
body.skin-minerva .mw-history-undo a,
body.skin-minerva .mw-rollback-link a {
	color: #fff !important;
	background: #333 !important;
	border-color: #666 !important;
}