MediaWiki:Gadget-Minerva.css: Difference between revisions

mNo edit summary
mNo edit summary
 
Line 67: Line 67:
body.skin-minerva a:active { color: #050; }
body.skin-minerva a:active { color: #050; }
body.skin-minerva a:visited { color: #060; }
body.skin-minerva a:visited { color: #060; }
body.skin-minerva a.new > * { color: unset !important; }
body.skin-minerva a.external, body.skin-minerva a.extiw { color: #090; }
body.skin-minerva a.external, body.skin-minerva a.extiw { color: #090; }
body.skin-minerva a.external:active, body.skin-minerva a.extiw:active { color: #070; }
body.skin-minerva a.external:active, body.skin-minerva a.extiw:active { color: #070; }

Latest revision as of 13:50, December 1, 2024

/* CSS placed here will affect users of the Minerva skin */

/* Wordmark logo */
.branding-box img, .minerva-footer-logo img {
	width: auto !important;
	height: 31px !important;
}
.branding-box img {
	margin-top: 5px !important;
}

/* Background color */
body.skin-minerva, #mw-mf-page-left,
.header-container.header-chrome, .minerva-footer {
	background: url(https://marathon.wiki.gallery/images/terminalbg.png) #000 no-repeat 230px -153px !important;
	background-size: 800px !important;
}
#mw-mf-page-center {
	background: #000 !important;
}
.header-container .header {
	border-color: #000 !important;
}
/* Border color */
.minerva-footer, .last-modified-bar,
form.mw-mf-settings .oo-ui-fieldLayout,
.mw-mf-watchlist-selector li.selected a {
	border-color: #000 !important;
}
form.mw-mf-settings #beta-field::before {
	background-color: #000 !important;
}
.post-content .minerva-footer-logo {
	border-color: #465D6F !important;
}
/* Active color */
#mw-mf-page-left ul li a:hover {
	box-shadow: inset 4px 0 0 0 #090909 !important;
}
h2.list-header, #content .mw-index-pager-list-header,
.last-modified-bar, .last-modified-bar.active {
	background-color: #090909 !important;
	color: #fff !important;
}
/* Custom theme */
.client-nojs .search-box .search:focus,
.search-overlay .search-box .search:focus {
	border-color: #999 !important;
	box-shadow: inset 0 0 0 1px #999,0 1px 1px rgba(0,0,0,0.05) !important;
}

/* White text theme */
.branding-box a, .branding-box sup,
#mw-mf-page-left ul.hlist li a, .ra-read-more h2,
.footer-content, .footer-content a, footer .hlist li::after {
	color: #fff !important;
}
.mw-ui-icon-wikimedia-menu-base20::before, .mw-ui-icon-wikimedia-search-base20::before,
.mw-ui-icon-wikimedia-bellOutline-base20::before, .mw-ui-icon-minerva-userAvatarOutline::before,
.header-chrome .mw-ui-icon-mf-close-base20::before {
	filter: brightness(100) !important;
}

/* Text and links (green) */
body.skin-minerva { color: #000; }
body.skin-minerva a { color: #070; }
body.skin-minerva a:active { color: #050; }
body.skin-minerva a:visited { color: #060; }
body.skin-minerva a.external, body.skin-minerva a.extiw { color: #090; }
body.skin-minerva a.external:active, body.skin-minerva a.extiw:active { color: #070; }
body.skin-minerva a.external:visited, body.skin-minerva a.extiw:visited { color: #080; }
body.skin-minerva a.external { background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='UTF-8'?%3E%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cg fill='%23090'%3E%3Cpath d='M8.9 8.9H1.1V1.1h2.8V0H1.1C.5 0 0 .5 0 1.1v7.8C0 9.5.5 10 1.1 10h7.8c.6 0 1.1-.5 1.1-1.1V6.1H8.9v2.8z'/%3E%3Cpath d='M10 0H5.6l1.8 1.8L4.2 5l.8.8 3.2-3.2L10 4.4V0z'/%3E%3C/g%3E%3C/svg%3E"); }
.mw-notification a, .toast a { color: #fff !important }
.page-summary h2 a, .page-summary h3 a { color: inherit !important; }
body.skin-minerva .mw-ui-icon-mf-talk::before { background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2240%22 height=%2230%22 viewBox=%220 0 40 30%22%3E%3Ctitle%3Etalkpage%3C/title%3E%3Cpath fill=%22%23070%22 fill-rule=%22evenodd%22 d=%22M36 9v17.182L40 30H13V9h23.143H36zm-9-9v8H12v13H0l4-4c-.143.182-.143-17 0-17h23z%22/%3E%3C/svg%3E"); }
.minerva-talk-full-page-button, .mw-ui-anchor.mw-ui-progressive { color: #070 !important; }
/* New links (red) */
body.skin-minerva a.new, body.skin-minerva a.new:visited,
body.skin-minerva a.new:hover, body.skin-minerva a.mw-usertoollinks-contribs-no-edits { color: #d33; }