MediaWiki:Onyx.css: Difference between revisions

No edit summary
No edit summary
Line 75: Line 75:
h1, h2, .fakeh2, .onyx-dropdown-list > li:not(:last-child) {
h1, h2, .fakeh2, .onyx-dropdown-list > li:not(:last-child) {
border-bottom: 1px solid #555;
border-bottom: 1px solid #555;
}
/* Galleries */
.gallerybox .thumb {
background: #1D1D1D !important;
}
}


Line 170: Line 175:
}
}


.thumbinner, .gallery:not(.mw-gallery-packed-hover):not(.mw-gallery-slideshow) .gallerybox {
.thumbinner {
background-color: #1D1D1D !important;
background-color: #1D1D1D !important;
}
}

Revision as of 19:34, August 21, 2023

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

p { margin: .6em 0 .7em; }
.catlinks { padding: 10px; }
#onyx-bannerLogo-image { height: 45px; }
#onyx-headerLogo-image { height: 135px; }
.mw-editsection-bracket { display: inline; }
html .thumbimage { border: none !important; }
#onyx-recentChanges-heading { text-transform: none; }
#onyx-pageBody-content { line-height: 1.5em; overflow-x: clip; overflow-y: visible; }

body.anon #onyx-staticModules-recentChanges,
body.anon.page-Main_Page.action-view #onyx-header-articleHeader,
body.page-Main_Page.action-view #onyx-stickyModules-pageContents {
	display: none !important;
}
body.anon.page-Main_Page.action-view #onyx-page-pageBody { margin-top: 15px; }

@media all and (max-width: 1280px) {
	#onyx-actions-toggleSidebar, #onyx-pageBody-sidebar { display: none !important; }
}

/* Background images */
body {
	background: linear-gradient(to bottom, transparent, #000), url(https://marathon.wiki.gallery/images/terminalbg.png) no-repeat 0 53px;
}
#onyx-header-wikiHeader {
	background: linear-gradient(to left, transparent, #272727), url(https://marathon.wiki.gallery/images/terminalbg.png);
	background-position: right 223px;
	background-size: 600px
}

/* Links */
.ui-autocomplete a {
	color: #555;
}
a, a:hover, a:visited, label.toctogglelabel {
	color: #53ED24;
}
a.new, a.mw-usertoollinks-contribs-no-edits {
	color: #f00 !important;
}
body .mw-parser-output a.external, body .mw-parser-output a.extiw {
	color: #C2FE0C !important;
}
body .mw-parser-output a.external, body .link-mailto, body .link-ftp, body .link-irc, body .link-audio, body .link-video, body .link-document {
	background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns:rdf=%22http://www.w3.org/1999/02/22-rdf-syntax-ns%23%22 xmlns=%22http://www.w3.org/2000/svg%22 height=%2213%22 width=%2213%22 version=%221.1%22 xmlns:cc=%22http://creativecommons.org/ns%23%22 xmlns:dc=%22http://purl.org/dc/elements/1.1/%22%3E %3Cg transform=%22translate%28-36.467808%2C-258.39005%29%22%3E %3Cpath style=%22opacity:1%3Bfill:%23c2fe0c%3B%22 d=%22m41.47%2C259.4%2C7%2C0%2C0%2C7-2-2-3%2C2%2C0-1%2C3-2.25%2C1%2C1%2C0-3.75-3.75%2C0%2C1%2C1-2.25%2C3-1%2C0%2C2-3z%22/%3E %3Cpath style=%22opacity:1%3Bfill:%23c2fe0c%3B%22 d=%22m43.47%2C261.4-5%2C0%2C0%2C8%2C8%2C0%2C0-5-1%2C0%2C0%2C4-6%2C0%2C0-6%2C4%2C0z%22/%3E %3Cpath style=%22opacity:1%3Bfill:%2353ed24%3B%22 d=%22m40.55%2C263.9c0-0.6213%2C0.6213-0.6213%2C0.6213-0.6213%2C1.864%2C0.6213%2C3.107%2C1.864%2C3.728%2C3.728%2C0%2C0%2C0%2C0.6213-0.6213%2C0.6213-1.243-1.864-1.864-2.485-3.728-3.728z%22/%3E %3C/g%3E %3C/svg%3E");
}
.mw-parser-output a.external[href^="https://www.marathonwiki.com"] {
	color: #53ED24 !important;
	background: none !important;
	padding: 0 !important;
}

/* Dismissable site notice */
#onyx-content-siteNotice {
	border: none !important;
	background: none !important;
	min-height: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
}
#onyx-siteNotice-closeButton {
	display: none !important;
}
.mw-dismissable-notice {
	min-height: 36px;
	background: rgba(20, 20, 20, 0.5) !important;
	box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.7);
	padding: 15px 15px 15px 15px;
	margin: 0 15px 15px 15px;
}

/* Border color */
h1, h2, .fakeh2, .onyx-dropdown-list > li:not(:last-child) {
	border-bottom: 1px solid #555;
}

/* Galleries */
.gallerybox .thumb {
	background: #1D1D1D !important;
}

/* Gray toolbox */
#onyx-toolbox {
	background: #333;
}

/* Main page */
body .containerTem, body .containerContent, .containerTem div,
table.affiliates.plainlinks, table.affiliates.plainlinks th {
	background: #444 !important;
	color: #fff !important;
}
body .containerTem a,
table.affiliates.plainlinks a,
table.affiliates.plainlinks th a {
	color: #009CFF;
}
.mw-ui-input, .mw-ui-button {
	box-shadow: inset 0 0 0 0.1em #333 !important;
}
.mw-ui-input {
	border-color: #666 !important;
}

/* Standard changes */

body {
	color: #fff;
	background-size: cover;
	background-attachment: fixed;
	background-color: #000;
}

#onyx-header-wikiHeader {
	background-repeat: repeat-y;
}

#onyx-banner, #onyx-footer {
	background-color: rgba(20, 20, 20, 0.9);
	border: none;
}

.onyx-bannerOption:hover > .onyx-bannerOption-button {
	background-color: rgba(255, 255, 255, 0.2);
	transition: 0.4s;
}

#onyx-search-form .mw-fallbackSearchButton {
	display: none;
}

#onyx-footerContent-footerIcons {
	margin-left: auto;
}

#onyx-page-header h1 {
	font-size: 36px;
}

h1, h2, h3, h4, h5, h6 {
	color: #fff;
}

#onyx-navigation-list > li > a {
	color: #fff !important;
}

#onyx-page {
	background-color: #272727;
}

.onyx-button-secondary {
	border-color: #888888;
	color: #888888;
	stroke: #888888;
}

.onyx-button-secondary:hover,
.onyx-dropdown:hover > .onyx-button-secondary {
	border-color: #bbb;
	color: #bbb;
	stroke: #bbb;
}

.mw-highlight {
	background: transparent;
}

pre, .catlinks {
	color: #fff;
	background: rgba(20, 20, 20, 0.5) !important;
	box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.7);
}

.thumbinner {
	background-color: #1D1D1D !important;
}

.onyx-dropdown-list {
	background-color: #1D1D1D;
}

.onyx-dropdown-list > li > *:only-child {
	color: #fff !important;
}

.onyx-dropdown-list > li > a:only-child:hover {
	background-color: #3B3B3B;
}

.tocnumber,
.onyx-recentChanges-info,
#onyx-pageContents-itemPrefix,
.onyx-recentChanges-info a,
.onyx-recentChanges-info a:hover,
.onyx-recentChanges-info a:visited {
	color: #999 !important;
}

.onyx-pageContents-expandButton svg {
	fill: #fff;
}
.onyx-pageContents-noExpandIcon svg {
	fill: #999;
}

.onyx-footerLinks-list {
	color: #999;
}

#onyx-toolbox {
	box-shadow: 0 0 10px 0 #000;
}

#pagehistory li {
	padding: 3px 5px 7px 5px;
	border: none;
}

#pagehistory li.selected {
	background: rgba(20, 20, 20, 0.5);
	color: #fff;
	border: 1px dashed #414b5d;
}

body .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button {
	border: 1px solid #224e96 !important;
}

body code {
	background: rgba(20, 20, 20, 0.5) !important;
}

.mw-code {
	color: #fff !important;
}

.mw-ui-button:hover {
	color: #a2a9b1 !important;
}

.mw-indicator {
	margin: 0;
}
#mw-indicator-rc {
	display: none;
}

.client-js #preftoc li {
	display: inline;
	margin-right: 10px;
}

.gallerybox .thumb {
	background: transparent !important;
	border-color: transparent !important;
}

.onyx-pageContents-selected > a > .onyx-pageContents-itemLabel {
	color: #fff;
}

#onyx-tools-list li a,
.onyx-footerLinks-list li a {
	color: #fff !important;
}

.onyx-pageContents-itemPrefix {
	color: #999;
}

div.noarticletext {
	background: none !important;
}

#onyx-stickyModules-custom>ul {
	margin-left: 15px;
}

.navbox .mw-collapsible-toggle-expanded {
	padding-left: 8px;
}

#onyx-personalTools-list .oo-ui-icon-bell,
#onyx-personalTools-list .oo-ui-icon-tray,
#onyx-personalTools-list .mw-ui-icon-bell::before,
#onyx-personalTools-list .mw-ui-icon-tray::before {
	background-image: none !important;
}

div.mw-createacct-benefits-container {
	display: inline-block;
}