MediaWiki:Onyx.css

Revision as of 14:46, August 21, 2023 by Porplemontage (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will affect users of the Onyx skin */

#onyx-bannerLogo-image { height: 45px; }
#onyx-headerLogo-image { height: 135px; }
#onyx-recentChanges-heading { text-transform: none; }
.anon #onyx-staticModules-recentChanges { display: none; }

/* 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 */
a, a:hover, a:visited, label.toctogglelabel {
	color: #53ed24;
}
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 {
	background: none !important;
	border: none !important;
	padding: 0 !important;
	margin: 0 !important;
}
#onyx-siteNotice-closeButton {
	display: none !important;
}
.mw-dismissable-notice {
	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;
    min-height: 36px;
}

/* 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;
}

h1, h2, .fakeh2 {
	border-bottom: solid 1px #414b5d;
}

a.new, a.mw-usertoollinks-contribs-no-edits {
	color: #ba0000 !important;
}

#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);
	-moz-box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.7);
	-webkit-box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.7);
}

.thumbinner, .gallery:not(.mw-gallery-packed-hover):not(.mw-gallery-slideshow) .gallerybox {
	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;
}

.onyx-dropdown-list > li:not(:last-child) {
	border-bottom: solid 1px #414b5d;
}

.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;
	background-color: #1a3664;
	background-image: -moz-linear-gradient(left,#070e19 0,#1a3664 50%,#070e19 100%);
	background-image: -webkit-gradient(linear,0% 0%,100% 0%,color-stop(0,#070e19),color-stop(50%,#1a3664),color-stop(100%,#070e19));
	background-image: -o-linear-gradient(left,#070e19 0,#1a3664 50%,#070e19 100%);
	background-image: -ms-linear-gradient(left,#070e19 0,#1a3664 50%,#070e19 100%);
}

#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;
}

#toc, .toc {
	background: none !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;
}