MediaWiki:DarkMobile.css: Difference between revisions

From Halopedia, the Halo wiki

No edit summary
No edit summary
Line 27: Line 27:
}
}
/* Active color */
/* Active color */
nav ul li a:hover {
box-shadow: inset 4px 0 0 0 #333 !important;
}
.last-modified-bar.active, .list-header,
.last-modified-bar.active, .list-header,
form.mw-mf-settings #beta-field:before {
form.mw-mf-settings #beta-field:before {
Line 70: Line 67:
nav ul li a {
nav ul li a {
color: #999 !important;
color: #999 !important;
}
nav ul li a:hover {
box-shadow: inset 4px 0 0 0 #666 !important;
}
}
nav ul.hlist li {
nav ul.hlist li {

Revision as of 13:22, April 16, 2020

/* CSS placed here will affect users of the mobile dark theme */

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

/* Background color */
body, nav, .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, nav ul li {
	border-top: 1px solid #555 !important;
}
.ns-special .content-header, .page-summary,
.last-modified-bar, footer > .post-content > h2,
form.mw-mf-settings .oo-ui-fieldLayout {
	border-bottom: 1px solid #555 !important;
}
.mw-mf-watchlist-selector li.selected a {
	border-bottom-color: #555 !important;
}
.header-container, .secondary-action {
	border-color: #555 !important;
}
/* Active color */
.last-modified-bar.active, .list-header,
form.mw-mf-settings #beta-field:before {
	background-color: #333 !important;
	color: #fff !important;
}
.last-modified-bar {
	background-color: #333 !important;
	color: #fff !important;
}

/* Icons */
.mw-ui-icon-mf-back::before {
	background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath fill=%22%23fff%22 d=%22M24 10.667H5.107l4.78-4.78L8 4l-8 8 8 8 1.887-1.887-4.78-4.78H24z%22/%3E%3C/svg%3E") !important;
}
.mw-ui-icon-mf-arrow::before {
	background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 -407 24 24%22%3E%3Cpath fill=%22%23ccc%22 d=%22M21.348-401.268q.94 0 1.61.668l.92.922-11.858 11.86-11.822-11.842.922-.94q.65-.686 1.59-.686.94 0 1.61.668l7.718 7.7 7.7-7.682q.67-.668 1.61-.668z%22/%3E%3C/svg%3E");
}
.mw-ui-icon-mf-overlay-close::before {
	background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22%3E%3Ctitle%3Eclose%3C/title%3E%3Cpath fill=%22%23fff%22 fill-rule=%22evenodd%22 d=%22M19.75 5.592L18.158 4l-6.283 6.283L5.592 4 4 5.592l6.283 6.283L4 18.158l1.592 1.592 6.283-6.283 6.283 6.283 1.592-1.592-6.283-6.283z%22/%3E%3C/svg%3E") !important;
}

/* Link overrides */
a, nav ul.hlist li a { color: #009CFF !important; }
a.new { color: #FF1A1A !important; }

/* General */
body, .content, .oo-ui-messageDialog-message {
	color: #ccc !important;
}
.content figcaption, .content .thumbcaption {
	color: #999 !important;
}
.overlay, .overlay-enabled, nav ul li,
#content, .ns-special #content,
.ns-special .pre-content,
.ns-special #content form {
	background: #222 !important;
}
nav ul li a {
	color: #999 !important;
}
nav ul li a:hover {
	box-shadow: inset 4px 0 0 0 #666 !important;
}
nav ul.hlist li {
	border: 0 !important;
	background: transparent !important;
}
nav ul.hlist li a {
	color: #fff !important;
}
.drawer {
	background: #444 !important;
}
.oo-ui-windowManager-modal > .oo-ui-dialog > .oo-ui-window-frame {
	background: #333 !important;
}
#searchIcon {
	border: none;
	padding: 0;
	background: none !important;
}
#page-actions, .content .mw-parser-output > h2, .content .section-heading {
	border-color: #54595d !important;
}
.client-js .toc-mobile {
	border-color: #666;
	background-color: #333;
}
.search-overlay, .overlay-content {
	background-color: #222 !important;
}
.search-overlay .results, .search-overlay .search-feedback,
.page-summary h2, .page-summary h3,
.search-box .search {
	color: #bbb !important;
	background-color: #333 !important;
}
.previewnote p, .warningbox, .mw-revision {
	color: #ccc !important;
	border-color: #666 !important;
	background-color: #333 !important;
}
.mw-ui-button {
	color: #fff !important;
	background: #333 !important;
	border: 2px solid #666 !important;
}
.mw-ui-input {
	color: #ccc !important;
	background: #333 !important;
}
.overlay-header .continue,
.overlay-header .submit {
	background-color: #888 !important;
}
div.thumbinner {
	background: none !important;
}
pre {
	background: #444 !important;
}
.mw-code {
	background: rgba(242,242,242,0.8) !important;
}
.content table.wikitable > tr > th, .content table.wikitable > * > tr > th {
	background-color: #444;
}
#title-linktabs {
	background: #ddd !important;
}