Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; } | body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; } | ||
/* ******************************************************** | |||
This file is used to update [[MediaWiki:Common.css]]. | |||
These styles will be applied to all skins (desktop and mobile). | |||
******************************************************** */ | |||
@common: 'MediaWiki:Common.less'; | |||
:root { | |||
--body-main: #e2dbc8; | |||
--body-light: #d8ccb4; | |||
--body-mid: #d0bd97; | |||
--body-dark: #b8a282; | |||
--body-border: #94866d; | |||
--body-background-color: #c0a886; | |||
--button-background: #605443; | |||
--button-color: @white; | |||
--button-border: #3c352a; | |||
--button-dark: #18140c; | |||
--button-light: #3a301d; | |||
--sidebar: #cfc08d; | |||
--sidebar-text-color: #444444; | |||
--sidebar-link-color: #442b18; | |||
// replace w below | |||
--background-text-color: #444; | |||
--background-link-color: #52351e; | |||
--search-box: #efeee6; | |||
--link-color: #936039; | |||
--redlink-color: #ba0000; | |||
--text-color: #000; | |||
--admin-blue: #332e75; | |||
--bearcat-green: #13592e; | |||
--awb-purple: #933b96; | |||
--rsw-blue: #438ab6; | |||
--osrsw-brown: #605443; | |||
} | |||
// include fonts first | |||
@import '@{common}/mixins.less'; | |||
@import '@{common}/fonts.less'; //Font definitions and font stack definitions | |||
@import '@{common}/variables.less'; //Colours | |||
@import '@{common}/elements.less'; //HTML elements | |||
@import '@{common}/links.less'; //Link colours | |||
@import '@{common}/highlight.less'; //Usergroup highlighting | |||
// Templates | |||
@import '@{common}/templates.less'; //Various single use templates | |||
@import '@{common}/coins.less'; //[[Template:Coins]] | |||
@import '@{common}/documentation.less'; //[[Template:Documentation]] | |||
@import '@{common}/fairycode.less'; //[[Template:Fairycode]] | |||
@import '@{common}/floornumber.less'; //[[Template:FloorNumber]] | |||
@import '@{common}/listen.less'; //[[Template:Listen]] | |||
@import '@{common}/plink.less'; //[[Template:Plink]] | |||
@import '@{common}/pohroom.less'; //[[Template:POH Room]] | |||
@import '@{common}/questdetails.less'; //[[Template:Quest details]] | |||
@import '@{common}/references.less'; //[[Template:Reflist]] | |||
@import '@{common}/editnotice.less'; //[[Template:Editnotice]] | |||
@import '@{common}/messagebox.less'; //Maintenance messagebox templates | |||
@import '@{common}/poll.less'; //Ajax poll styles | |||
@import '@{common}/storage.less'; //Storage templates; [[Template:Inventory]], [[Template:Equipment]], and related templates | |||
@import '@{common}/thumb.less'; //Image thumbnails | |||
@import '@{common}/transcripts.less'; //Transcript pages | |||
@import '@{common}/quotes.less'; //Quotes template(s) | |||
//Interface | |||
@import '@{common}/catlinks.less'; //Catlinks class | |||
//@import '@{common}/cookies.less'; //Do you accept these cookies? | |||
@import '@{common}/charts.less'; //ChartJS hide config | |||
@import '@{common}/diff.less'; //Revision differences | |||
@import '@{common}/infobox.less'; //Infobox vars | |||
//@import '@{common}/itemcompare.less'; //Item compare css | |||
@import '@{common}/lighttable.less'; //Highlight tables (incl. underground pass grid) | |||
@import '@{common}/hatnote.less'; //Hatnotes, such as otheruses | |||
//@import '@{common}/announcement.less'; //Mainpage annnouncement pill (unused rn) | |||
@import '@{common}/echo.less'; //Echo icons | |||
@import '@{common}/notifications.less'; | |||
@import '@{common}/pagepreviews.less'; //Page preview popups | |||
@import '@{common}/toc.less'; //Table of contents | |||
//@import '@{common}/skilltraining.less'; //Skilltraining class | |||
@import '@{common}/fields.less'; //Text fields | |||
@import '@{common}/smw.less'; | |||
@import '@{common}/tabber.less'; | |||
@import '@{common}/tooltips.less'; | |||
@import '@{common}/ooui.less'; | |||
@import '@{common}/wikitables.less'; | |||
//Page specific | |||
@import '@{common}/tiles.less'; //Main page tiles | |||
@import '@{common}/mainpage.less'; //OSRS Wiki home page | |||
@import '@{common}/prefs.less'; //Wiki preferences theming | |||
@import '@{common}/specials.less'; //Special pages | |||
@import '@{common}/recentchanges.less'; //[[Special:Recentchanges]] | |||
@import '@{common}/sitenotice.less'; //[[MediaWiki:Sitenotice]] | |||
@import '@{common}/mmg.less'; //[[Money making guides]] | |||
@import '@{common}/discussions.less'; //[[RS:RG]] [[RS:AD]] | |||
@import '@{common}/oswf.less'; //[[RS:OSWF]] | |||
@import '@{common}/rstheme.less'; //[[RS:THEME]] | |||
//Grand Exchange | |||
//@import '@{common}/gecharts.less'; //Riblets favourite thing to review | |||
@import '@{common}/gemw.less'; //Riblets second favourite thing to review | |||
/* ================================================================== | |||
END IMPORTS! :) | |||
================================================================= */ | |||
#mw-page-base { | |||
background: none; | |||
} | |||
// border around article content | |||
.mw-body { | |||
background-color: var(--body-main); | |||
color: var(--text-color); | |||
border-color: transparent; | |||
box-shadow: 0 0 7px rgba(0, 0, 0, 0.15); | |||
margin-top: 0; | |||
} | |||
// below content area | |||
.mw-footer { | |||
li { | |||
color: var(--background-text-color); | |||
} | |||
a, | |||
a:active, | |||
a:visited { | |||
color: var(--background-link-color); | |||
} | |||
} | |||
// page history | |||
#pagehistory { | |||
margin: 1em 0; | |||
list-style: none; | |||
li { | |||
border: 1px solid transparent; | |||
padding: 1px 10px; | |||
&.selected { | |||
background-color: var(--body-light); | |||
border: 1px dashed var(--body-border); | |||
outline: none; | |||
} | |||
} | |||
} | |||
//Sticky compare rev | |||
#mw-history-compare > div:first-of-type { | |||
position: -webkit-sticky; | |||
position: sticky; | |||
top: 0; | |||
background-color: var(--body-main); | |||
border-bottom: 1px solid @BODY_DARK; | |||
padding: .25em 0; | |||
.wgl-stickyheader & { | |||
top: 2.75em; | |||
} | |||
} | |||
/* hide certain links in sidebar tools */ | |||
#t-print, | |||
#t-permalink { | |||
display: none; | |||
} | |||
/* Allowing [[Template:Extimage]] to resize images properly */ | |||
.extimage div, | |||
.extimage a, | |||
.extimage img { | |||
width: inherit; | |||
height: inherit; | |||
} | |||
/* Redlink files in dropstables */ | |||
.hidenoimage a[href*="Special:Upload"] { | |||
display: none; | |||
} | |||
/* calculator script config */ | |||
.jcConfig { | |||
display: none; | |||
} | |||
/* image background */ | |||
#file img, | |||
table.filehistory img { | |||
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAIElEQVQ4jWNoaGj4jw8TAgyjBgwLAwgpIGTBqAHDwgAA83w9rjOB4XgAAAAASUVORK5CYII=) repeat; | |||
} | |||
#file button img, | |||
table.filehistory button img { | |||
background: none; | |||
} | |||
#filetoc { | |||
border-radius: 3px; | |||
background: @BODY_MID; | |||
border-color: transparent; | |||
margin: 0.5em auto; | |||
text-align: center; | |||
box-shadow: @box-shadow; | |||
} | |||
/* Mark redirects in Special:Allpages and Special:Watchlist */ | |||
.watchlistredir, | |||
.allpagesredirect { | |||
font-style: italic; | |||
} | |||
.allpagesredirect:after { | |||
color: @boulder; | |||
content: " (redirect)" | |||
} | |||
// external links icon | |||
.mw-parser-output .external { | |||
background-image: linear-gradient(transparent,transparent),url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%20standalone%3D%22no%22%3F%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%3E%3Cpath%20fill%3D%22%23d7ca9f%22%20stroke%3D%22%2389773a%22%20d%3D%22M1.5%204.518h5.982V10.5H1.5z%22%2F%3E%3Cpath%20d%3D%22M5.765%201H11v5.39L9.427%207.937l-1.31-1.31L5.393%209.35l-2.69-2.688%202.81-2.808L4.2%202.544z%22%20fill%3D%22%2389773a%22%2F%3E%3Cpath%20d%3D%22M9.995%202.004l.022%204.885L8.2%205.07%205.32%207.95%204.09%206.723l2.882-2.88-1.85-1.852z%22%20fill%3D%22%23d7ca9f%22%2F%3E%3C%2Fsvg%3E); | |||
} | |||
.plainlinks .external { | |||
background-image: none; | |||
} | |||
/* Image frame fix */ | |||
div.tright, | |||
div.tleft { | |||
border: 1px transparent; | |||
} | |||
// Galleries | |||
li.gallerybox div.thumb { | |||
border: 0; | |||
background-color: transparent; | |||
} | |||
.smwfact { | |||
display: none; | |||
} | |||
// applies to mobile talk pages | |||
// and smw?? | |||
.list-header { | |||
background-color: transparent; | |||
color: var(--text-color); | |||
} | |||
.client-js .mw-recentchanges-toplinks:not(.mw-recentchanges-toplinks-collapsed) { | |||
border: 1px solid @BODY_DARK; | |||
} | |||
// Music player | |||
.rsw-music-player { | |||
height: 2em; | |||
vertical-align: middle; | |||
} | |||
// Prevents undesired background showing when next to expanded toc | |||
.mw-highlight { | |||
background: none; | |||
.linenos { | |||
background-color: var(--mw-code-background-color); | |||
} | |||
} | |||
.mw-content-ltr.mw-highlight-lines pre, | |||
.mw-content-ltr.content .mw-highlight-lines pre { | |||
box-shadow: inset 2.75em 0 0 var(--mw-code-background-color); | |||
} | |||
/* ------------------------------- | |||
[[Template:Drop sources]] | |||
------------------------------- */ | |||
.item-drops .beast-version { | |||
font-size: smaller; | |||
font-style: italic; | |||
} | |||
.oo-ui-windowManager-fullscreen > .oo-ui-window.oo-ui-window-active { | |||
z-index: 600; | |||
} | |||
/* -------------------------------------- | |||
fix section heading being hidden | |||
underneath sticky header | |||
-------------------------------------- */ | |||
// technique from <https://css-tricks.com/hash-tag-links-padding/> | |||
body.wgl-stickyheader.action-view .mw-headline:target::before { | |||
display: block; | |||
content: ''; | |||
margin-top: -3rem; | |||
height: 3rem; | |||
visibility: hidden; | |||
pointer-events: none; | |||
} | |||
/* Proper styling for block cells in family trees */ | |||
td { | |||
&.famtreesub { | |||
margin: 0; | |||
padding: 0; | |||
table { | |||
border-spacing: 0; | |||
margin: 0; | |||
padding: 0; | |||
td { | |||
height: 1em; | |||
width: 1em; | |||
} | |||
} | |||
} | |||
&.famtreeleaf { | |||
background: var(--body-light); | |||
border: 1px solid var(--body-border); | |||
padding: .2em; | |||
} | |||
} | |||
#chathead img { | #chathead img { |
Revision as of 16:50, 7 March 2022
/* CSS placed here will be applied to all skins */ body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; } /* ******************************************************** This file is used to update [[MediaWiki:Common.css]]. These styles will be applied to all skins (desktop and mobile). ******************************************************** */ @common: 'MediaWiki:Common.less'; :root { --body-main: #e2dbc8; --body-light: #d8ccb4; --body-mid: #d0bd97; --body-dark: #b8a282; --body-border: #94866d; --body-background-color: #c0a886; --button-background: #605443; --button-color: @white; --button-border: #3c352a; --button-dark: #18140c; --button-light: #3a301d; --sidebar: #cfc08d; --sidebar-text-color: #444444; --sidebar-link-color: #442b18; // replace w below --background-text-color: #444; --background-link-color: #52351e; --search-box: #efeee6; --link-color: #936039; --redlink-color: #ba0000; --text-color: #000; --admin-blue: #332e75; --bearcat-green: #13592e; --awb-purple: #933b96; --rsw-blue: #438ab6; --osrsw-brown: #605443; } // include fonts first @import '@{common}/mixins.less'; @import '@{common}/fonts.less'; //Font definitions and font stack definitions @import '@{common}/variables.less'; //Colours @import '@{common}/elements.less'; //HTML elements @import '@{common}/links.less'; //Link colours @import '@{common}/highlight.less'; //Usergroup highlighting // Templates @import '@{common}/templates.less'; //Various single use templates @import '@{common}/coins.less'; //[[Template:Coins]] @import '@{common}/documentation.less'; //[[Template:Documentation]] @import '@{common}/fairycode.less'; //[[Template:Fairycode]] @import '@{common}/floornumber.less'; //[[Template:FloorNumber]] @import '@{common}/listen.less'; //[[Template:Listen]] @import '@{common}/plink.less'; //[[Template:Plink]] @import '@{common}/pohroom.less'; //[[Template:POH Room]] @import '@{common}/questdetails.less'; //[[Template:Quest details]] @import '@{common}/references.less'; //[[Template:Reflist]] @import '@{common}/editnotice.less'; //[[Template:Editnotice]] @import '@{common}/messagebox.less'; //Maintenance messagebox templates @import '@{common}/poll.less'; //Ajax poll styles @import '@{common}/storage.less'; //Storage templates; [[Template:Inventory]], [[Template:Equipment]], and related templates @import '@{common}/thumb.less'; //Image thumbnails @import '@{common}/transcripts.less'; //Transcript pages @import '@{common}/quotes.less'; //Quotes template(s) //Interface @import '@{common}/catlinks.less'; //Catlinks class //@import '@{common}/cookies.less'; //Do you accept these cookies? @import '@{common}/charts.less'; //ChartJS hide config @import '@{common}/diff.less'; //Revision differences @import '@{common}/infobox.less'; //Infobox vars //@import '@{common}/itemcompare.less'; //Item compare css @import '@{common}/lighttable.less'; //Highlight tables (incl. underground pass grid) @import '@{common}/hatnote.less'; //Hatnotes, such as otheruses //@import '@{common}/announcement.less'; //Mainpage annnouncement pill (unused rn) @import '@{common}/echo.less'; //Echo icons @import '@{common}/notifications.less'; @import '@{common}/pagepreviews.less'; //Page preview popups @import '@{common}/toc.less'; //Table of contents //@import '@{common}/skilltraining.less'; //Skilltraining class @import '@{common}/fields.less'; //Text fields @import '@{common}/smw.less'; @import '@{common}/tabber.less'; @import '@{common}/tooltips.less'; @import '@{common}/ooui.less'; @import '@{common}/wikitables.less'; //Page specific @import '@{common}/tiles.less'; //Main page tiles @import '@{common}/mainpage.less'; //OSRS Wiki home page @import '@{common}/prefs.less'; //Wiki preferences theming @import '@{common}/specials.less'; //Special pages @import '@{common}/recentchanges.less'; //[[Special:Recentchanges]] @import '@{common}/sitenotice.less'; //[[MediaWiki:Sitenotice]] @import '@{common}/mmg.less'; //[[Money making guides]] @import '@{common}/discussions.less'; //[[RS:RG]] [[RS:AD]] @import '@{common}/oswf.less'; //[[RS:OSWF]] @import '@{common}/rstheme.less'; //[[RS:THEME]] //Grand Exchange //@import '@{common}/gecharts.less'; //Riblets favourite thing to review @import '@{common}/gemw.less'; //Riblets second favourite thing to review /* ================================================================== END IMPORTS! :) ================================================================= */ #mw-page-base { background: none; } // border around article content .mw-body { background-color: var(--body-main); color: var(--text-color); border-color: transparent; box-shadow: 0 0 7px rgba(0, 0, 0, 0.15); margin-top: 0; } // below content area .mw-footer { li { color: var(--background-text-color); } a, a:active, a:visited { color: var(--background-link-color); } } // page history #pagehistory { margin: 1em 0; list-style: none; li { border: 1px solid transparent; padding: 1px 10px; &.selected { background-color: var(--body-light); border: 1px dashed var(--body-border); outline: none; } } } //Sticky compare rev #mw-history-compare > div:first-of-type { position: -webkit-sticky; position: sticky; top: 0; background-color: var(--body-main); border-bottom: 1px solid @BODY_DARK; padding: .25em 0; .wgl-stickyheader & { top: 2.75em; } } /* hide certain links in sidebar tools */ #t-print, #t-permalink { display: none; } /* Allowing [[Template:Extimage]] to resize images properly */ .extimage div, .extimage a, .extimage img { width: inherit; height: inherit; } /* Redlink files in dropstables */ .hidenoimage a[href*="Special:Upload"] { display: none; } /* calculator script config */ .jcConfig { display: none; } /* image background */ #file img, table.filehistory img { background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAIElEQVQ4jWNoaGj4jw8TAgyjBgwLAwgpIGTBqAHDwgAA83w9rjOB4XgAAAAASUVORK5CYII=) repeat; } #file button img, table.filehistory button img { background: none; } #filetoc { border-radius: 3px; background: @BODY_MID; border-color: transparent; margin: 0.5em auto; text-align: center; box-shadow: @box-shadow; } /* Mark redirects in Special:Allpages and Special:Watchlist */ .watchlistredir, .allpagesredirect { font-style: italic; } .allpagesredirect:after { color: @boulder; content: " (redirect)" } // external links icon .mw-parser-output .external { background-image: linear-gradient(transparent,transparent),url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%20standalone%3D%22no%22%3F%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%3E%3Cpath%20fill%3D%22%23d7ca9f%22%20stroke%3D%22%2389773a%22%20d%3D%22M1.5%204.518h5.982V10.5H1.5z%22%2F%3E%3Cpath%20d%3D%22M5.765%201H11v5.39L9.427%207.937l-1.31-1.31L5.393%209.35l-2.69-2.688%202.81-2.808L4.2%202.544z%22%20fill%3D%22%2389773a%22%2F%3E%3Cpath%20d%3D%22M9.995%202.004l.022%204.885L8.2%205.07%205.32%207.95%204.09%206.723l2.882-2.88-1.85-1.852z%22%20fill%3D%22%23d7ca9f%22%2F%3E%3C%2Fsvg%3E); } .plainlinks .external { background-image: none; } /* Image frame fix */ div.tright, div.tleft { border: 1px transparent; } // Galleries li.gallerybox div.thumb { border: 0; background-color: transparent; } .smwfact { display: none; } // applies to mobile talk pages // and smw?? .list-header { background-color: transparent; color: var(--text-color); } .client-js .mw-recentchanges-toplinks:not(.mw-recentchanges-toplinks-collapsed) { border: 1px solid @BODY_DARK; } // Music player .rsw-music-player { height: 2em; vertical-align: middle; } // Prevents undesired background showing when next to expanded toc .mw-highlight { background: none; .linenos { background-color: var(--mw-code-background-color); } } .mw-content-ltr.mw-highlight-lines pre, .mw-content-ltr.content .mw-highlight-lines pre { box-shadow: inset 2.75em 0 0 var(--mw-code-background-color); } /* ------------------------------- [[Template:Drop sources]] ------------------------------- */ .item-drops .beast-version { font-size: smaller; font-style: italic; } .oo-ui-windowManager-fullscreen > .oo-ui-window.oo-ui-window-active { z-index: 600; } /* -------------------------------------- fix section heading being hidden underneath sticky header -------------------------------------- */ // technique from <https://css-tricks.com/hash-tag-links-padding/> body.wgl-stickyheader.action-view .mw-headline:target::before { display: block; content: ''; margin-top: -3rem; height: 3rem; visibility: hidden; pointer-events: none; } /* Proper styling for block cells in family trees */ td { &.famtreesub { margin: 0; padding: 0; table { border-spacing: 0; margin: 0; padding: 0; td { height: 1em; width: 1em; } } } &.famtreeleaf { background: var(--body-light); border: 1px solid var(--body-border); padding: .2em; } } #chathead img { margin-right: 30px; } @media (min-width:1199px) { #Two-Piece { display:none; } .grid-container { display: grid; grid-template-columns: auto auto auto; grid-gap: 3px; margin-bottom: 3px; justify-content: center; } .grid-child:hover { -webkit-transform: perspective(1px) translateZ(0); transform: perspective(1px) translateZ(0); box-shadow: 0 0 1px rgb(0 0 0 / 0%); position: relative; background: rgba(117, 207, 0, 0.1); -webkit-transition-property: color; transition-property: color; -webkit-transition-duration: 0.3s; transition-duration: 0.3s; } } @media (max-width:1200px) { #Three-Piece { display:none; } .grid-container { display: grid; grid-template-columns: 0.1fr 0.1fr; grid-gap: 3px; margin-bottom: 3px; justify-content: center; } .grid-child:hover { -webkit-transform: perspective(1px) translateZ(0); transform: perspective(1px) translateZ(0); box-shadow: 0 0 1px rgb(0 0 0 / 0%); position: relative; background: rgba(117, 207, 0, 0.1); -webkit-transition-property: color; transition-property: color; -webkit-transition-duration: 0.3s; transition-duration: 0.3s; } } .flex-container { display: inline-flex; } .flex-child { flex: 1; border: 2px solid transparent; } .flex-child:first-child { margin-right: 20px; } #alternatingtable tr:nth-child(even) { background-color: #D8CFB8!important; } #indented { text-indent: 15px; } html .thumbimage { border: none; background-color: transparent; } div.thumbinner { background-color: #E2DBC8!important; border: 1px solid #94866d!important; padding: 0px; } .thumbcaption { background: #d0bd97; padding: 4px 6px; padding: 0px; } h5 { font-family: 'Roboto'; font-size: 2em!important; color: #BD2020; } #threeScene { border: 1px solid rgba(148, 134, 109, 0.25); background-color: #DCD5C2; box-shadow: 0 0 7px rgb(0 0 0 / 15%); width:900px; height:500px; margin: auto; } #threeCaption img { user-select: none; pointer-events: none; } @media (max-width:1200px) { #threeScene, #threeCaption { display:none; }} @media (min-width:1199px) { #threeReplacement { display:none; }} .oo-ui-buttonElement-framed.oo-ui-iconElement.oo-ui-labelElement > .oo-ui-buttonElement-button { padding-left: 0.8em; border: inset 1px #000000; } .oo-ui-buttonElement { margin: 0% 0% 0% 42%; } /* TOC */ .toc .toctitle { background: #b8a282; padding: 0.25em 1em; } .toctogglelabel { color: #936039; } .tocnumber { display:none; } .toctext { color: #936039; } .toc > ul { line-height: 1.8em; padding: 0.75em 1.75em; margin: 0; } .toc { background-color: #d8ccb4; padding: 0px; border: 1px solid #94866d; } /* Background - TOP */ #mw-page-base { background-image: url('https://wiki.zeah.gg/w/images/1/1f/Background.jpg'); background-repeat: no-repeat; background-position: 0px 0px; background-color: #C0A886; } /* Background - LEFT */ body { background-color: #C0A886; overflow-y: scroll; background-image: url('https://wiki.zeah.gg/w/images/1/1f/Background.jpg'); background-repeat: no-repeat; background-position: 0px 0px; } /* BODY (Beige) */ .mw-body { border: transparent; background-color: #E2DBC8; box-shadow: 0 0 7px rgb(0 0 0 / 15%); margin-top: 0; } /* Code */ .mw-code { background-color: #DDD4BB; border: 1px solid #94866d; } /* Top Tabs - Focused */ .vector-menu-tabs .selected a, .vector-menu-tabs .selected a:visited { background-color: #E2DBC8; padding: 0 0.75em; padding-top: 1em; box-shadow: none; } /* Top Tabs - Unfocused */ nav.vector-menu-tabs li a { background-color: #C0A886; padding: 0 0.75em; padding-top: 1em; color: #52351E; box-shadow: inset 0 -7px 10px -12.5px #000000; } /* 'Discussion' Recolor */ .vector-menu-tabs .new a { color: #52351E; } /* Watch Thread */ .vector-menu-tabs .mw-watchlink.icon a { display:none; } /* Side Text */ .vector-menu-portal .vector-menu-content li a, .vector-menu-portal .vector-menu-content li a:visited { color: #52351e; line-height: 1.2em; font-family: roboto; font-weight: 400; font-size: 1.2em; padding-left: 1em; } /* Side Text */ .vector-menu-portal h3 { color: #54595d; font-size: 0.9em; font-weight: 600; background-image:none; } /* Search Bar */ #searchInput { background-color: #EFEEE6; } /* More DDL */ .vector-menu-dropdown h3 { padding-top: 1em; color: #52351E; } .vector-menu-dropdown h3:after { content: ''; background-image: url(/w/skins/Vector/resources/common/images/arrow-down.svg?9426f); background-position: 100% 50%; background-repeat: no-repeat; position: absolute; top: 0.76923077em; right: 8px; bottom: 0; width: 1.23076923em; opacity: 0.84; margin-bottom: 0.4em; } /* Remove Random Border */ .vector-menu-tabs, .vector-menu-tabs a { background-image: none; background-repeat: no-repeat; background-size: 1px 100%; background-color: #E2DBC8; } /* Personalized Top Right UI */ #p-personal ul { padding: 2px 1em 4px 0.4em; background-color: #D6CDB8; border-radius: .3em; } #p-personal ul a{ color: #52351E; } /* Remove Random UI Border */ #mw-head .vector-menu-dropdown h3 { background-image: none; } /* Search Bar */ #right-navigation { background-color: #C0A886; box-shadow: inset 0 -7px 10px -12.5px #000000; } /* Recolor Top Right UI */ .vector-menu-tabs ul { background-color: #C0A886; } :root { --wikitable-header-bg: var(--body-dark); --wikitable-border: var(--body-border); --wikitable-bg: var(--body-light); --wikitable-bg-lighter: #e9e3d6; --wikitable-color: var(--text-color); --table-na-background: rgba(255, 255, 255, 0.3); --table-na-color: grey; --table-yes-background: rgba(0, 255, 0, 0.3); --table-yes-color: green; --table-no-background: rgba(255, 0, 0, 0.3); --table-no-color: red; --droptable-text-color: #000; --droptable-always-background: #afeeee; --droptable-common-background: #56e156; --droptable-uncommon-background: #ffed4c; --droptable-rare-background: #ff863c; --droptable-veryrare-background: #ff6262; --droptable-random-background: #ffa3ff; } .wikitable { background: var(--wikitable-bg); color: var(--wikitable-color); border-color: var(--wikitable-border); box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.1); } /* Content Table - TITLE */ .wikitable > * > tr > th { background-color: #B8A282; text-align: left; } /* Content Table - ROWS*/ .wikitable > * > tr > td { border: 1px solid #94866d38; padding: 0.2em 0.4em; line-height: 1.3em; } /* Content Table - BORDERS */ .wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td { border-color: #94866d; } :root { --lighttable-bg-hover: #CCCCCC; --lighttable-bg-active: #CCFFCC; --lighttable-border: black; } table.lighttable .highlight-on { background-color: var(--lighttable-bg-active); } table.lighttable .highlight-over { background-color: var(--lighttable-bg-hover); } #n-Discord a { color: white; font-size: 12px; font-weight: bold; border-radius: 5px; border: 1px solid black; background-color: #5865f2; display: block; position: relative; padding: 4px 0 5px calc(17px + 6.5px * 2); box-shadow: 0 2px 3px rgba(0,0,0,0.1); transition: 0.2s ease; margin-bottom: 5em; } #n-Discord a::before { content: 'Chat on '; font-weight: normal; opacity: 0.85; } #n-Discord a::after { content: ''; background: url(/w/images/Discord_icon.png) no-repeat; background-size: 17px 13px; filter: drop-shadow(0 1px 1px rgba(0,0,0,0.1)); position: absolute; top: 5px; left: 7px; width: 17px; height: 13px; } #n-Discord a:hover { text-decoration: none; background-color: #525EE0; } .mainpage-header .header-intro { flex: 2; } .mainpage-header .header-intro h1 { font-size: 2.5em; font-weight: bold; border: none; margin: 0 0 0.15em; } .mainpage-header .header-intro p { font-size: 1.1em; line-height: 1.7em; } :root { --tabber-tab-bg: var(--body-light); --tabber-tab-border-color: var(--body-border); --tabber-active-tab-bg: var(--body-light); --tabber-active-tab-color: var(--text-color); --tabber-active-tab-hover-bg: var(--body-light); --tabber-active-tab-hover-border-color: var(--body-border); --tabber-active-tab-hover-color: var(--text-color); --tabber-active-tab-border-hider-color: var(--body-light); --tabber-inactive-tab-bg: var(--body-background-color); --tabber-inactive-tab-border-color: var(--body-border); --tabber-inactive-tab-color: var(--text-color); --tabber-inactive-tab-hover-bg: var(--body-light); --tabber-inactive-tab-hover-border-color: var(--body-border); } // <pre> /* ============================== <tabber> styling ============================== */ :root { --tabber-tab-bg: @BODY_LIGHT; --tabber-tab-border-color: @BODY_BORDER; --tabber-active-tab-bg: @BODY_LIGHT; --tabber-active-tab-color: var(--text-color); --tabber-active-tab-hover-bg: @BODY_LIGHT; --tabber-active-tab-hover-border-color: @BODY_BORDER; --tabber-active-tab-hover-color: var(--text-color); --tabber-active-tab-border-hider-color: @BODY_LIGHT; --tabber-inactive-tab-bg: var(--body-background-color); --tabber-inactive-tab-border-color: @BODY_BORDER; --tabber-inactive-tab-color: var(--text-color); --tabber-inactive-tab-hover-bg: @BODY_LIGHT; --tabber-inactive-tab-hover-border-color: @BODY_BORDER; } .tabber { margin: 1em 0; // display: inline-grid; moved to Vector because of mobile .tabbertab { background-color: var(--tabber-tab-bg); border: 1px solid var(--tabber-tab-border-color); box-shadow: @box-shadow; padding: 1em 1.5em; } } ul.tabbernav { border: none; margin-left: 2em; margin-bottom: 0; margin-right: 2em; padding: 0; font-family: inherit; // override default Verdana li.tabberactive > a { background-color: var(--tabber-active-tab-bg); color: var(--tabber-active-tab-color); border-bottom: none; position: relative; &:hover { color: var(--tabber-active-tab-hover-color); background-color: var(--tabber-active-tab-hover-bg); border-color: var(--tabber-active-tab-hover-border-color); border-bottom: none; } // hide the border between the active button and the tab &::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; border-bottom: 2px solid var(--tabber-active-tab-border-hider-color); } } li a { background-color: var(--tabber-inactive-tab-bg); border-bottom: transparent; border-color: var(--tabber-inactive-tab-border-color); color: var(--tabber-inactive-tab-color); display: inline-block; font-size: 110%; padding: 0.5em 1em; &:hover { background-color: var(--tabber-inactive-tab-hover-bg); border-color: var(--tabber-inactive-tab-hover-border-color); } &:link, &:visited { color: var(--tabber-inactive-tab-color); } } } /* The following styles were used as a temporary fix for TabberNeue. We're currently using old Tabber because TabberNeue breaks if a tab dynamically changes size, such as multi-infobox. */ // :root { // --tabber-inactive-tab-bg: #C0A886; // --tabber-fade-scroll: linear-gradient(to bottom,rgba(226,219,200,0),#d8ccb4 95%,#94866d); // } // .tabber__tabs { // gap: 1px; // } // .tabber__tab { // background-color: var(--tabber-inactive-tab-bg); // padding: 0.5em 0.8em; // border: 1px solid var(--body-border); // border-bottom: 0; // } // .tabber__tabs .tabber__tab { // color: var(--text-color); // } // /* Specific styles needed to override color on Minerva. */ // body.mediawiki .tabber a:visited, // body.mediawiki .tabber image a:visited, // body.mediawiki .tabber a:active, // body.mediawiki .tabber image a:active { // color: var(--text-color); // } // .tabber__tab:active { // color: var(--text-color); // box-shadow: none; // } // .tabber__tab:hover { // background-color: var(--body-light); // color: var(--text-color); // box-shadow: none; // } // .tabber__tab--active, .tabber__tab--active:visited { // background-color: var(--body-light); // color: var(--text-color); // box-shadow: none; // } // .tabber__header, .tabber__section, .tabber__tabs { // scroll-behavior: unset; // } // .tabber__panel { // /* Hide non-active tabs. */ // /* display:none conflicted with tabber somehow and hid all tabs. */ // width: 0px; // } // .tabber__panel.tabber__panel--active { // width: 300px; // } // .tabber__section { // background-color: var(--body-light); // border: 1px solid var(--body-border); // overflow-y: scroll; // padding-bottom: 30px; /* only necessary for fade scroll hack */ // } // .tabber__panel { // padding: 1em 1.5em; // }