MediaWiki:Onyx.css: Difference between revisions

From Halopedia, the Halo wiki

No edit summary
No edit summary
 
(109 intermediate revisions by 5 users not shown)
Line 1: Line 1:
/* CSS placed here will affect users of the Onyx skin */
/* CSS placed here will affect users of the Onyx skin */
/* Onyx night theme: https://www.halopedia.org/MediaWiki:DarkOnyx.css */


#pt-notifications-alert, #pt-notifications-notice { display: none !important; }
/* Body background */
body {
body {
color: white;
background: linear-gradient(to bottom, transparent, #000), url(https://halo.wiki.gallery/images/0/0d/Onyx-background-main.jpg) no-repeat center top;
background: linear-gradient(to bottom, transparent, black), url(/images/0/0d/Onyx-background-main.jpg) no-repeat center top;
background-size: cover;
background-attachment: fixed;
background-color: #000000;
}
}


/* Main Page */
/* Links */
.page-Main_Page #mw-content-text .mw-parser-output div:not(.nomobile):not(.center-template),
a, label.toctogglelabel {
.page-Main_Page #mw-content-text .mw-parser-output table.plainlinks th,
color: #0f63b7;
.page-Main_Page #mw-content-text .mw-parser-output table.plainlinks {
}
background: #444 !important;
a:hover {
color: #fff !important;
color: #2567a9;
}
a:visited {
color: #0f63b7;
}
a.new, a.mw-usertoollinks-contribs-no-edits {
color: #ba0000 !important;
}
.mw-parser-output a.external[href^="https://www.halopedia.org"] {
color: #0f63b7 !important;
background: none !important;
padding: 0 !important;
}
.mw-parser-output a.external[href^="https://www.halopedia.org"]:hover {
color: #2567a9 !important;
}
}
.mw-ui-input, .mw-ui-button {
.mw-parser-output a.external[href^="https://www.halopedia.org"]:visited {
background: #555 !important;
color: #0f63b7 !important;
color: #fff !important;
border-color: #666 !important;
box-shadow: inset 0 0 0 0.1em #333 !important;
}
}


#onyx-banner,
/* Onyx site notice */
#onyx-footer,
.mw-dismissable-notice-close {
.mw-notification {
display: none;
background-color: rgba(20, 20, 20, 0.9);
visibility: hidden;
border: none;
}
}


.onyx-bannerOption:hover > .onyx-bannerOption-button {
/* Table of contents */
background-color: rgba(255, 255, 255, 0.2);
#toc, .toc {
transition: 0.4s;
background: none !important;
}
}


.onyx-articleContainer {
/* Border color */
display: flex;
h1, h2, .fakeh2, .onyx-dropdown-list > li:not(:last-child) {
border-bottom: 1px solid #414b5d;
}
}
#onyx-pageBody-content {
 
width: 100%;
/* Blue toolbox */
#onyx-toolbox {
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%);
}
}


h1, h2, h3, h4, h5, h6 {
/* Blue buttons */
color: white;
.onyx-button-primary {
background-color: #0b4e90;
border-color: #0b4e90;
}
}
 
.onyx-button-primary:hover,
h1, h2 {
.onyx-dropdown:hover > .onyx-button-primary {
border-bottom: solid 1px #414b5d;
background-color: #258ef8;
border-color: #258ef8;
}
}


a {
/* Blue borders */
color: #0f63b7;
#onyx-page,
#onyx-content-siteNotice, pre, .catlinks, .thumbimage, .thumbinner,
.gallery:not(.mw-gallery-packed-hover):not(.mw-gallery-slideshow) .gallerybox {
border: 1px solid #277d93 !important;
}
}


a:hover {
/* Standard changes */
color: #2567a9;
}


a:visited {
body {
color: #0f63b7;
background-color: #000;
background-size: cover;
background-attachment: fixed;
}
}


code {
#onyx-header-wikiHeader {
background: rgba(20, 20, 20, 0.5)!important;
background: linear-gradient(to right, #ccc, #ddd);
color: white;
}
}


#onyx-navigation-list > li > a {
#onyx-banner, #onyx-footer {
color: white;
background-color: rgba(20, 20, 20, 0.9);
border: none;
}
}


#onyx-page {
.onyx-bannerOption:hover > .onyx-bannerOption-button {
background-color: #272727;
background-color: rgba(255, 255, 255, 0.2);
border: 1px solid #277d93;
transition: 0.4s;
}
}


#onyx-page-pageBody {
#onyx-search-form .mw-fallbackSearchButton {
background: url(/images/c/cc/Onyx-watermark.png) no-repeat center top;
display: none;
}
}


.onyx-button-primary {
#onyx-footerContent-footerIcons {
background-color: #0b4e90;
margin-left: auto;
border-color: #0b4e90;
}
}


.onyx-button-primary:hover,
#onyx-page-header h1 {
.onyx-dropdown:hover > .onyx-button-primary {
font-size: 36px;
background-color: #258ef8;
border-color: #258ef8;
}
}


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


Line 108: Line 128:
}
}


#onyx-content-siteNotice,
.thumbinner, .gallerybox .thumb {
pre,
background-color: #bbb !important;
.catlinks {
color: white;
background: rgba(20, 20, 20, 0.5)!important;
border: 1px solid #277d93!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, .gallerybox {
.catlinks {
background-color: #1D1D1D !important;
background: #ccc !important;
border: 1px solid #277d93 !important;
}
}


Line 128: Line 140:
}
}


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


Line 136: Line 148:
}
}


.onyx-dropdown-list > li:not(:last-child) {
.tocnumber,
border-bottom: solid 1px #414b5d;
}
 
.onyx-recentChanges-info,
.onyx-recentChanges-info,
.onyx-recentChanges-info a,
.onyx-recentChanges-info a,
.onyx-recentChanges-info a:hover,
.onyx-recentChanges-info a:hover,
.onyx-recentChanges-info a:visited,
.onyx-recentChanges-info a:visited {
#onyx-pageContents-itemPrefix,
color: #999 !important;
.tocnumber {
color: #999;
}
}


Line 155: Line 162:
#onyx-toolbox {
#onyx-toolbox {
box-shadow: 0 0 10px 0 #000;
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%);
}
}


Line 167: Line 169:
}
}


#pagehistory li.selected {
body .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button {
background: rgba(20, 20, 20, 0.5);
border: 1px solid #224e96 !important;
color: white;
border: 1px dashed #414b5d;
}
}


input[type="submit"], input[type="button"], input[type="reset"], input[type="file"] {
.oo-ui-buttonElement-framed.oo-ui-labelElement > .oo-ui-buttonElement-button {
background-color: #224e96;
padding-top: 7px;
background-image: -moz-linear-gradient(top,#2b64c0 35%,#224e96 65%);
padding-bottom: 6.5px;
background-image: -webkit-gradient(linear,0% 0%,0% 100%,color-stop(35%,#2b64c0),color-stop(65%,#224e96));
background-image: -o-linear-gradient(top,#2b64c0 35%,#224e96 65%);
background-image: -ms-linear-gradient(top,#2b64c0 35%,#224e96 65%);
border: 1px solid #224e96;
border-radius: 4px;
color: #fff;
cursor: pointer;
}
}


#onyx-header-wikiHeader {
.mw-indicator {
background: linear-gradient(to left, transparent, #272727), url(/images/8/8c/Onyx-background-header.png);
margin: 0;
background-size: 500px;
background-repeat: no-repeat;
background-position: right;
}
}
 
#mw-indicator-rc {
.thumbimage {
border: 1px solid #277d93 !important;
}
 
/* Onyx Fixes */
 
.mw-dismissable-notice-close {
display: none;
display: none;
visibility: hidden;
}
}


Line 206: Line 188:
display: inline;
display: inline;
margin-right: 10px;
margin-right: 10px;
}
.mw-prefs-tabs-wrapper {
background: #fff;
}
.mw-prefs-buttons {
background: none;
}
}


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


.mw-code {
.onyx-pageContents-selected > a > .onyx-pageContents-itemLabel {
color: white !important;
color: #000;
}
 
#onyx-tools-list li a,
.onyx-footerLinks-list li a {
color: #fff !important;
}
 
div.noarticletext {
background: none !important;
}
 
#onyx-stickyModules-custom>ul {
margin-left: 15px;
}
 
div.mw-createacct-benefits-container {
display: inline-block;
}
 
.suggestions-results, .suggestions-special {
background: #333 !important;
border-color: #666 !important;
}
.suggestions-result,
.suggestions-special .special-query {
color: #fff !important;
}
.suggestions-special .special-label {
color: #888 !important;
}
.suggestions-result-current {
background: #222 !important;
}
.suggestions-result-current,
.suggestions-result-current .special-query,
.suggestions-result-current .special-label {
color: #ddd !important;
}
}

Latest revision as of 09:11, August 24, 2023

/* CSS placed here will affect users of the Onyx skin */
/* Onyx night theme: https://www.halopedia.org/MediaWiki:DarkOnyx.css */

#pt-notifications-alert, #pt-notifications-notice { display: none !important; }

/* Body background */
body {
	background: linear-gradient(to bottom, transparent, #000), url(https://halo.wiki.gallery/images/0/0d/Onyx-background-main.jpg) no-repeat center top;
}

/* Links */
a, label.toctogglelabel {
	color: #0f63b7;
}
a:hover {
	color: #2567a9;
}
a:visited {
	color: #0f63b7;
}
a.new, a.mw-usertoollinks-contribs-no-edits {
	color: #ba0000 !important;
}
.mw-parser-output a.external[href^="https://www.halopedia.org"] {
	color: #0f63b7 !important;
	background: none !important;
	padding: 0 !important;
}
.mw-parser-output a.external[href^="https://www.halopedia.org"]:hover {
	color: #2567a9 !important;
}
.mw-parser-output a.external[href^="https://www.halopedia.org"]:visited {
	color: #0f63b7 !important;
}

/* Onyx site notice */
.mw-dismissable-notice-close {
	display: none;
	visibility: hidden;
}

/* Table of contents */
#toc, .toc {
	background: none !important;
}

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

/* Blue toolbox */
#onyx-toolbox {
	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%);
}

/* Blue buttons */
.onyx-button-primary {
	background-color: #0b4e90;
	border-color: #0b4e90;
}
.onyx-button-primary:hover,
.onyx-dropdown:hover > .onyx-button-primary {
	background-color: #258ef8;
	border-color: #258ef8;
}

/* Blue borders */
#onyx-page,
#onyx-content-siteNotice, pre, .catlinks, .thumbimage, .thumbinner,
.gallery:not(.mw-gallery-packed-hover):not(.mw-gallery-slideshow) .gallerybox {
	border: 1px solid #277d93 !important;
}

/* Standard changes */

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

#onyx-header-wikiHeader {
	background: linear-gradient(to right, #ccc, #ddd);
}

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

.thumbinner, .gallerybox .thumb {
	background-color: #bbb !important;
}

.catlinks {
	background: #ccc !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-recentChanges-info a,
.onyx-recentChanges-info a:hover,
.onyx-recentChanges-info a:visited {
	color: #999 !important;
}

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

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

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

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

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

.client-js #preftoc li {
	display: inline;
	margin-right: 10px;
}
.mw-prefs-tabs-wrapper {
	background: #fff;
}
.mw-prefs-buttons {
	background: none;
}

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

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

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

div.noarticletext {
	background: none !important;
}

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

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

.suggestions-results, .suggestions-special {
	background: #333 !important;
	border-color: #666 !important;
}
.suggestions-result,
.suggestions-special .special-query {
	color: #fff !important;
}
.suggestions-special .special-label {
	color: #888 !important;
}
.suggestions-result-current {
	background: #222 !important;
}
.suggestions-result-current,
.suggestions-result-current .special-query,
.suggestions-result-current .special-label {
	color: #ddd !important;
}