No edit summary |
No edit summary |
||
Line 131: | Line 131: | ||
/* Gray toolbox */ | /* Gray toolbox */ | ||
#onyx-toolbox { | #onyx-toolbox { | ||
background: #333; | |||
} | |||
/* Gray buttons */ | |||
input[type="submit"], input[type="button"], input[type="reset"], input[type="file"] { | |||
color: #fff; | |||
background: #333; | background: #333; | ||
} | } |
Revision as of 22:28, August 22, 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 { width: 135px; }
.mw-editsection-bracket { display: inline; }
#onyx-header-wikiHeader { overflow: hidden; }
html .thumbimage { border: none !important; }
#onyx-pageBody-content { line-height: 1.5em; }
#onyx-recentChanges-heading { text-transform: none; }
#onyx-page-pageBody { overflow-x: clip; overflow-y: visible; }
body.anon #onyx-staticModules-recentChanges,
body.anon.page-Main_Page.action-view #onyx-header-articleHeader {
display: none !important;
}
body.anon.page-Main_Page.action-view #onyx-page-pageBody { margin-top: 15px; }
#onyx-userOptions-notifications, #onyx-userOptions-messages { display: none; }
#onyx-banner-userOptions > li { list-style: none; margin: 17px 16px 0 0; }
@media all and (min-width: 400px) {
#onyx-banner-userOptions > li { margin-top: 13px; }
#pt-notifications-alert .mw-echo-notifications-badge,
#pt-notifications-notice .mw-echo-notifications-badge {
width: 30px;
height: 30px;
background-size: 30px;
}
}
@media all and (max-width: 400px) {
#onyx-banner-bannerLogo { padding-left: 0; }
}
@media all and (max-width: 500px) {
#onyx-banner-bannerLogo { padding-right: 0; }
#onyx-banner-userOptions { padding-left: 0; }
#onyx-banner-userOptions li { margin-right: 0; }
.onyx-bannerOption-button { padding-left: 5px; padding-right: 5px; }
}
@media all and (max-width: 600px) {
#onyx-articleHeader-title { clear: both; }
#onyx-articleHeader-actions { float: none; }
#searchInput, #onyx-wikiHeader-tagline { display: none; }
#onyx-banner-content, #onyx-wikiHeader-navigation { margin: 0; }
}
@media all and (max-width: 800px) {
.onyx-button { padding: 5px; }
.onyx-button-action > span { margin: auto 10px; }
}
@media all and (max-width: 1280px) {
.onyx-sidebarModule { break-inside: avoid; }
#onyx-actions-toggleSidebar { display: none !important; }
#onyx-pageBody-sidebar { column-width: 300px; display: block !important; visibility: visible !important; }
}
@media all and (min-width: 800px) and (max-width: 1280px) {
body.anon #onyx-pageBody-sidebar { column-count: 2; }
}
/* 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, #1A1A1A), url(https://marathon.wiki.gallery/images/terminalbg.png);
background-position: right 223px;
background-size: 600px
}
/* Page background */
#onyx-page {
background-color: #1A1A1A;
}
/* Font color */
body, h1, h2, h3, h4, h5, h6 {
color: #D5D4D4;
}
/* Links */
.ui-autocomplete a {
color: #555;
}
a, a:hover, a:visited, label.toctogglelabel {
color: #53ED24;
}
a.new, a.mw-usertoollinks-contribs-no-edits {
color: #d33 !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;
}
/* Galleries */
.gallerybox .thumb {
background: #1D1D1D !important;
}
/* Border color */
h1, h2, .fakeh2, .onyx-dropdown-list > li:not(:last-child) {
border-bottom: 1px solid #555;
}
/* Gray toolbox */
#onyx-toolbox {
background: #333;
}
/* Gray buttons */
input[type="submit"], input[type="button"], input[type="reset"], input[type="file"] {
color: #fff;
background: #333;
}
/* Main page */
body .containerTem, body .containerContent, .containerTem div,
table.affiliates.plainlinks, table.affiliates.plainlinks th {
background: #444 !important;
color: #ccc !important;
}
body .containerTem a,
table.affiliates.plainlinks a,
table.affiliates.plainlinks th a {
color: #009CFF;
}
/* Standard changes */
body {
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;
}
#onyx-navigation-list > li > a {
color: #fff !important;
}
.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 {
color: #fff;
background: rgba(20, 20, 20, 0.5);
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;
}
.oo-ui-buttonElement-framed.oo-ui-labelElement > .oo-ui-buttonElement-button {
padding-top: 7px;
padding-bottom: 6.5px;
}
body code {
background: rgba(20, 20, 20, 0.5) !important;
}
.mw-code {
color: #fff !important;
}
.mw-ui-input {
border-color: #666 !important;
}
.mw-ui-input, .mw-ui-button {
box-shadow: inset 0 0 0 0.1em #333 !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 {
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;
}
div.mw-createacct-benefits-container {
display: inline-block;
}