MediaWiki:Vector.css: Difference between revisions

From Warcraft Watch Secrets
Jump to navigation Jump to search
Content deleted Content added
No edit summary
No edit summary
Line 1:
/* This is the vector skin CSS for Warcraft Wiki. Any skin-variant CSS should be defined in this file.
Skin-invariant CSS:
- [[MediaWiki:Common.css]]
Additional files are loaded based on the user's selected skin theme:
- [[MediaWiki:Theme-dark.css]] (default)
- [[MediaWiki:Theme-light.css]]
Overrides for white-on-white and similar contrast issues should be in the above theme files, not in this file.
Further CSS files are loaded based on loaded gadgets and can be found in MediaWiki:Gadgets-definition
*/
 
/* skin error overrides */
.mw-htmlform-ooui .mw-htmlform-matrix tbody tr:nth-child( even ) td {
Line 50 ⟶ 63:
}
 
/***********************************************************************************************************
 
* theming vars.
html {
***********************************************************************************************************/
color-scheme: dark;
:root {
/*** top site logo ***/
--theme-site-logo-image: url(/images/e/e6/Site-logo.png);
--theme-site-logo-filter: none;
--theme-site-logo-width: calc(400px * 0.4);
--theme-site-logo-height: calc(400px * 0.4);
/* common "box" style */
--theme-box-back-backdrop-filter: none;
--theme-box-border-radius: 4px;
--theme-box-border-width: 1px;
--theme-box-border-style: solid;
--theme-box-shadow: 0 0 10px 0px rgba(0, 0, 0, 0.0);
--theme-box-back-background: rgba(0,0,0,0.5);
/* dropdown menu */
--theme-dropdown-border: 1px solid var(--theme-dropdown-border-color);
--theme-dropdown-backdrop-filter: none;
/* icons */
--icon-chevron-down:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='icon icon-tabler icon-tabler-chevron-down' width='24' height='24' viewBox='0 0 24 24' stroke-width='2' stroke='currentColor' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'%3E%3C/path%3E%3Cpath d='M6 9l6 6l6 -6'%3E%3C/path%3E%3C/svg%3E");
}
 
/* content box */
.mw-body {
/* main article content box (without top heading) */
background-color: #202020;
/* sidebar */
color: #ccc;
#mw-panel {
border: 1px solid #ed7117;
--theme-link-color: var(--theme-link-color);
font-family: sans-serif;
--theme-link-color-visited: var(--theme-link-color);
--theme-link-color-hover: var(--theme-link-color);
--theme-border-width: 0;
--theme-gap: 0;
}
 
#catlinks {
.mw-body h1,
--theme-box-border-radius: 0;
.mw-body-content h1,
.mw-body-content h2,
.vector-body h3,
.vector-body h4,
.vector-body h5,
.vector-body h6 {
font-family: sans-serif;
}
 
/* navbar */
.mw-heading,
#mw-head {
h1,
--theme-link-color-visited: var(--theme-link-color);
h2,
--theme-link-color-hover: var(--theme-link-color);
h3,
--theme-tab-background: var(--theme-background-color-alt);
h4,
--theme-tab-background-selected: var(--theme-background-color-alt);
h5,
--theme-tab-color-selected: var(--theme-text-color);
h6 {
--theme-tab-color-selected-hover: var(--theme-tab-color-selected);
color: #ccc;
--theme-tab-border-color: var(--theme-accent-color);
font-family: sans-serif;
--theme-tab-border-color-selected: var(--theme-accent-color);
}
#mw-head #p-search {
 
--theme-border-color: var(--theme-accent-color);
.mw-footer li {
--theme-link-color: var(--theme-text-color);
color: #ccc;
--theme-border-color-hover: var(--theme-icon-color-hover);
--theme-border-color-focus: var(--theme-border-color-hover);
--theme-shadow: none;
--theme-shadow-focus: var(--theme-box-shadow);
}
 
/* search result suggestion */
#mw-head #p-search .vector-search-box-input {
body > .suggestions {
color: #ccc;
--theme-border-color: var(--theme-accent-color);
background: #202020;
--theme-rule-color: var(--theme-border-color);
box-shadow: none;
--theme-link-color: var(--theme-text-color);
--theme-link-color-visited: var(--theme-text-color);
--theme-link-color-hover: var(--theme-text-color);
}
 
/* gallery and thumbs */
#mw-head #p-search .vector-search-box-inner {
.gallery {
border-color: #ed7117;
--theme-gap-x: 6px;
--theme-gap-y: 6px;
}
ul.gallery, li.gallerybox {
margin-left: 0;
}
ul.mw-gallery-traditional li.gallerybox .thumb {
background: var(--theme-background-color);
border-color: var(--theme-border-color);
}
.thumb {
--theme-box-border-radius: 0;
}
.thumb {
background-color: var(--theme-background-color);
border: solid 1px var(--theme-border-color);
padding: 3px;
padding-bottom: 0;
}
.thumb .thumbimage { width: 100%; height: 100%; }
 
/***********************************************************************************************************
#filetoc {
* base css styles for both interface and content box: font, color, etc.
background-color: #111;
***********************************************************************************************************/
border: 1px solid #383838;
/** Font **/
html, body {
font-family: sans-serif;
color: var(--theme-text-color);
}
 
html {
div#simpleSearch {
background: 202020var(--theme-site-background);
border: 1px solid #ed7117;
}
 
body {
backgroundfont-colorsize: #11114px;
line-height: 1.5;
}
 
ul, ol {
margin: 2px 0 2px 1.5em;
list-style-image: none;
}
 
ali {
colormargin: #518fce0 0 2px 0;
}
 
pre, code, .mw-code {
a:visited {
color: #518fcevar(--theme-text-color);
border: 1px solid var(--theme-border-color);
background-color: var(--theme-background-color);
}
 
Line 128 ⟶ 190:
}
 
/** link color **/
pre, code, .mw-code {
body a, body a.external, body a.extiw, .mw-parser-output a.external, .mw-parser-output a.extiw, div#content a[title^="Intersection:"] {
color: #fff;
text-decoration: none;
border: 1px solid #383838;
color: var(--theme-link-color);
background: #181818;
}
body a:visited, body a.external:visited, body a.extiw:visited, .mw-parser-output a.external:visited, .mw-parser-output a.extiw:visited, div#content a[title^="Intersection:"]:visited {
color: var(--theme-link-color-visited);
}
body a:hover, body a:active, body a.external:hover, body a.external:active, body a.extiw:hover, body a.extiw:active, .mw-parser-output a.external:hover, .mw-parser-output a.external:active, .mw-parser-output a.extiw:hover, .mw-parser-output a.extiw:active,
div#content a[title^="Intersection:"]:active, div#content a[title^="Intersection:"]:hover {
text-decoration: underline;
color: var(--theme-link-color-hover);
}
body a.selflink, body a.selflink:hover, body a.selflink:active {
/* Self-links aren't real links, they're not clickable.
* Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive.
* We should not use :not(.selflink) since it increases the priority and makes it difficult to override
* link styles for certain elements (e.g. in wiki.gg header).
*/
text-decoration: none;
color: inherit;
}
body a.new, body a.new:hover, body a.new:visited {
/** red link **/
/* we don't really need to mark you have "visited" an inexistent page */
color: var(--theme-link-color-redlink);
}
 
/*********************************************************************************************************/
#mw-page-base {
/* Removes VisualEdit button */
background-color: #111;
#ca-ve-edit {
background-image: none;
display: none;
background-position: bottom left;
height: 5em;
}
 
/* Text color */
.vector-menu-tabs-legacy li {
.i .note,
float: left;
.note-text {
height: 100%;
color: var(--theme-content-text-mix-color);
list-style: none;
margin: 0;
padding: 0;
background-image: linear-gradient(to top,#ed7117 1px,#101010 0,#111 100%);
}
 
em {
.vector-menu-tabs-legacy li a {
color: #518fcevar(--theme-content-text-mix-color);
}
 
.pixel img, .pixel,
.vector-menu-tabs-legacy li a:visited {
#mw-imagepage-section-filehistory img {
color: #518fce;
image-rendering: pixelated; /*for chrome*/
image-rendering: crisp-edges; /*for firefox*/
}
 
.small {
.vector-menu-tabs-legacy .selected {
backgroundfont-size: #11185%;
background-image: linear-gradient(to top,#202020 0,#111 100%);
border-bottom: none;
}
 
.fullwidth, .full-width {
.vector-menu-tabs-legacy .selected a, .vector-menu-tabs-legacy .selected a:visited {
colorwidth: #ccc100%;
}
 
.nowrap {
.vector-menu-tabs, .vector-menu-tabs a, #mw-head .vector-menu-dropdown .vector-menu-heading {
white-space: nowrap;
background-image: linear-gradient(rgba(0,0,0,0) 0,#ed7117 100%);
background-repeat: no-repeat;
background-size: 1px 100%;
}
 
/* ".center" has width=100% rule, we don't want it, so use a different class name. */
.vector-menu-heading-label {
.aligncenter,
color: #ae7117;
.align-center {
font-size: 14px;
text-align: center;
}
 
.alignleft,
.vector-legacy-sidebar .vector-menu-portal .vector-menu-heading {
.align-left {
display: block;
text-align: left;
color: #ed7117;
margin: 0.5em 0 0 0.66666667em;
border: 0;
padding: 0.25em 0;
font-size: 0.75em;
font-weight: normal;
background-image: linear-gradient(to right,rgba(0,0,0,0) 0, #ed7117 33%, #ed7117 66%, rgba(0,0,0,0) 100%);
background-position: center bottom;
background-repeat: no-repeat;
background-size: 100% 1px;
}
 
.alignright,
.vector-legacy-sidebar .vector-menu-portal .vector-menu-content li a:visited {
.align-right {
color: #518fce;
text-align: right;
}
 
/* clear fix for float block */
.vector-legacy-sidebar .vector-menu-portal .vector-menu-content li a {
.clearfix {
color: #518fce;
*zoom: 1;
}
 
.clearfix::before,
#catlinks {
.clearfix::after {
--theme-box-border-radius: 0;
content: " ";
display: table;
}
 
.clearfix::after {
#catlinks {
text-alignclear: leftboth;
background: #111;
border: 1px solid #383838;
border-radius: 0;
margin: 16px 0 0 0;
padding: 0.5em 1em;
}
 
/* References smaller text than main */
#pt-notifications-alert .mw-echo-notifications-badge.mw-echo-notifications-badge-all-read,
.references {
#pt-notifications-notice .mw-echo-notifications-badge.mw-echo-notifications-badge-all-read {
font-size: 90%;
opacity: 0.51;
color: #ccc;
}
 
/* Larger font for Module: code display (default is smaller than other code pages) */
input[type="submit"],
pre.lua.source-lua {
button[type="submit"] {
font-size: 14px !important;
background-color: #0077cc;
color: #ccc;
padding: 0.5em 1em;
border: none;
border-radius: 3px;
cursor: pointer;
}
 
/* Facilitate inline scary transclusion */
input[type="submit"]:hover,
.scary-transclusion p, .scary-transclusion .mw-parser-output {
button[type="submit"]:hover {
display: inline;
background-color: #005fa3;
}
 
/* hide last empty paragraph at the end */
/***********************************************************************************************************
div.mw-parser-output > p:last-child > br:only-child {
* css for pages under MediaWiki or Special NS, or system widgets on template/module pages and so on
display: none;
***********************************************************************************************************/
/********* ooui *********/
.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined,
.mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle {
background: none;
}
 
/* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */
.oo-ui-textInputWidget .oo-ui-inputWidget-input {
.apihelp-parameters dd:empty::before {
color: var(--theme-text-color);
content: " ";
}
 
.block {
.oo-ui-tabOptionWidget {
display: block;
color: var(--theme-text-color);
}
 
.inline {
.oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected {
display: inline;
color: var(--theme-text-color);
background: none;
}
 
.inline-block {
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
display: inline-block;
color: var(--theme-content-text-mix-color);
}
 
hr.space {
.oo-ui-tabSelectWidget-framed {
height: 4px;
background: none;
border: 0;
}
 
.page-content .vertical-align-top * {
/********* Special:Preferences *********/
vertical-align: top;
#preferences .mw-htmlform-submit-buttons {
background-color: var(--theme-background-color--secondary);
border-top: 1px solid var(--theme-border-color);
border-left: 1px solid var(--theme-border-color);
border-right: 1px solid var(--theme-border-color);
}
.mw-prefs-tabs-wrapper.oo-ui-panelLayout-framed, .mw-prefs-tabs > .oo-ui-menuLayout-content > .oo-ui-indexLayout-stackLayout > .oo-ui-tabPanelLayout { border-color: var(--theme-border-color); }
 
.page-content .vertical-align-bottom * {
fieldset {
vertical-align: bottom;
border: 1px solid #ed711788;
}
 
/* Drowning Table No Border */
.toc {
.drowning-table-no-border {
background-color: #111;
border:1px solid #ed711744none;
}
 
/* Gadget description length */
.tocnumber {
.oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header,
color: #aaa;
.oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body {
max-width: unset;
}
 
/* Box at the top of all pages when the user has a new message on their User_talk: page */
dev#content table {
.usermessage {
color: #ccc;
box-sizing: border-box;
border: var(--theme-box-border-width) var(--theme-box-border-style) var(--theme-accent-color);
border-radius: var(--theme-box-border-radius);
backdrop-filter: var(--theme-box-back-backdrop-filter);
box-shadow: var(--theme-box-shadow);
background: var(--theme-background-color--secondary);
}
 
/***********************************************************************************************************
.darktable, .darkbox, div#content table.wikitable, div#content table.cargoTable {
* interface layout and styles for widgets outside of content box
border: 1px solid var(--theme-border-color);
***********************************************************************************************************/
padding: 5px;
:root {
background: var(--theme-background-color);
--layout-topbar-height: 35px; /* height of wiki.gg topbar */
margin: 0.5em 0em 1em 0.5em;
--layout-sidebar-width: 196px; /* width of side navbar, without gap */
--layout-sidespace: 12px; /* whitespace width on most left and most right */
--layout-box-gap: 8px;
--layout-logo-scale: 1;
--layout-logo-width: calc(var(--theme-site-logo-width) * var(--layout-logo-scale));
--layout-logo-height: calc(var(--theme-site-logo-height) * var(--layout-logo-scale));
--layout-logo-box-height: calc(var(--layout-logo-height) + var(--layout-box-gap) * 2);
--dropdown-item-padding-x: 12px;
--dropdown-item-padding-y: 4px;
}
 
/**** Main Layout START ***********************************************************/
table.darktable th,
/**
table.darkbox th,
* Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout
.navbox-title,
*/
table.navbox th,
html, body {
table.stylish td:first-child {
min-height: 100%;
background-color: #062544;
}
 
html {
table.darktable th,
height: 100%;
table.darktable tr:not(:first-child) th.outer,
scroll-padding-top: calc(var(--layout-topbar-height) + 10px);
table.darkbox th,
table.darkbox tr:not(:first-child) th.outer,
table.stylish td:first-child,
div#content table.wikitable > tr > th,
div#content table.wikitable > * > tr > th,
div#content table.cargoTable > tr > th,
div#content table.cargoTable > * > tr > th {
background-color: #062544;
padding: 0 0.5em;
}
 
body {
div#content,
height: auto;
h1,
h2,
h3,
h4,
h5,
h6,
pre,
div#content table {
color: #ccc;
}
 
/*** main grid container ***/
table.wikitable > tr > th, table.wikitable > * > tr > th {
body {
border-color: #303030;
/* self */
color: #ccc;
box-sizing: border-box;
/* grid */
display: grid;
grid-template-columns: [body-left] var(--layout-sidespace) [aside-left] var(--layout-sidebar-width) [aside-right nav-left content-left footer-left] minmax(0, 1fr) [nav-right content-right footer-right] var(--layout-sidespace) [body-right];
grid-template-rows: [body-start] var(--layout-topbar-height) [page-start logo-start] var(--layout-logo-box-height) [logo-end nav-start aside-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [aside-end page-end] 0fr [body-end];
gap: 0 var(--layout-box-gap);
}
 
/*** grid items ***/
.darktable,.darkbox,div#content table.wikitable,div#content table.cargoTable {
/* Flatten DOM structure. Therefore we have following grid items under body grid container:
border: 1px solid var(--theme-border-color);
* div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer.
padding: 5px;
*/
background: var(--theme-background-color);
body > .content-wrapper,
margin: 0.5em 0em 1em 0.5em
#mw-navigation {
display: contents;
}
 
/** unused, hide them **/
table.wikitable,table.cargoTable {
#mw-head-base,
border-collapse: unset
#mw-navigation > h2 {
display: none;
}
 
/** side nav bar **/
.wikitable > tr > th,.wikitable > tr > td,.wikitable > * > tr > th,.wikitable > * > tr > td,.cargoTable > tr > th,.cargoTable > tr > td,.cargoTable > * > tr > th,.cargoTable > * > tr > td {
#mw-panel {
border: none
grid-column: aside-left/aside-right;
grid-row: aside-start/aside-end;
float: none;
width: unset;
padding: 0;
}
 
/** nav **/
.darktable,.stylish {
#mw-head {
font-size: 89%
grid-column: nav-left/nav-right;
grid-row: nav-start/nav-end;
}
 
/** content **/
.stylish {
.mw-body {
padding: 5px;
grid-column: content-left/content-right;
margin: 0.5em 0em 1em 0.5em
grid-row: content-start/content-end;
}
 
/* For some page such as api.php, .mw-body is the only child, so take up all space. */
table.darktable th,table.darktable tr:not(:first-child) th.outer,table.darkbox th,table.darkbox tr:not(:first-child) th.outer,table.stylish td:first-child,div#content table.wikitable > tr > th,div#content table.wikitable > * > tr > th,div#content table.cargoTable > tr > th,div#content table.cargoTable > * > tr > th {
.mw-body:first-child {
background-color: var(--theme-header-background-color);
grid-column: body-left/body-right;
padding: 0 0.5em;
grid-row: page-start/page-end;
}
 
/** #footer: content footer **/
table.darktable caption {
#footer {
font-size: 120%;
grid-column: footer-left/footer-right;
font-weight: bold
grid-row: footer-start/footer-end;
margin: 0;
z-index: 0;
}
 
/** used to gen box shadow for main box (nav + content + #footer) **/
table.darktable tr:not(:first-child) th,table.darkbox tr:not(:first-child) th,div#content table.wikitable tr:not(:first-child) th,div#content table.cargoTable tr:not(:first-child) th {
#mw-page-base {
background-color: var(--theme-header-background-color)
grid-column: content-left/content-right;
grid-row: nav-start/footer-end;
height: 100%;
}
 
/** wiki.gg footer bar **/
.rowtitle {
body > footer {
font-size: 1.15em;
grid-column: body-left/body-right;
padding: 0.2em 2em 0.2em 0.5em
grid-row: page-end/body-end;
}
 
/*** logo block. It is absolute position ***/
table.extrapadding td {
#p-logo {
padding-left: 4px;
position: absolute;
padding-right: 4px
width: 100%;
height: auto;
left: 0;
top: var(--layout-topbar-height);
background: var(--theme-site-logo-image) center center/var(--layout-logo-width) auto no-repeat;
margin-top: var(--layout-box-gap);
margin-bottom: 0.5em;
display: flex;
align-items: center;
justify-content: center;
filter: var(--theme-site-logo-filter);
}
 
/* use logo image as <a>'s background will sometime flicker when hovered on Firefox,
table.td-right td {
* I still don't know why, but move background to #p-logo can avoid this issue.
text-align: right
*/
#p-logo .mw-wiki-logo {
width: var(--layout-logo-width);
height: var(--layout-logo-height);
margin: auto;
background: none; /* logo flicker fix */
}
 
/**** Main Layout END ***********************************************************/
div#content .title {
 
background-color: var(--theme-background-color--secondary);
/********* side panel START *********/
text-align: center;
#mw-panel {
font-weight: bold;
--list-body-font-size: 14px;
padding: 1px 2px
--list-body-padding-x: 6px;
--list-body-padding-y: 3px;
}
 
#mw-panel a {
.theme-dark table.darktable td.title,.theme-dark .darkbox td.title {
text-decoration: none;
background-color: #303030
}
 
/* section box */
.alt,.rowtitle {
#mw-panel .portal {
background-color: var(--theme-background-color-alt)
margin: 0 0 var(--layout-box-gap) 0;
padding: 0;
box-sizing: border-box;
border: var(--theme-box-border-width) var(--theme-box-border-style) var(--theme-accent-color);
border-radius: var(--theme-box-border-radius);
backdrop-filter: var(--theme-box-back-backdrop-filter);
box-shadow: none;/*var(--theme-box-shadow);*/
background: var(--theme-background-color);/*transparent;*/
}
#mw-panel .portal .vector-menu-heading {
/* section heading */
background: none;
margin: 0;
padding: 6px 10px;
font-size: 16px;
line-height: 18px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: space-between;
color: var(--theme-heading-color);
}
 
/* show the heading of first section */
table.zebra > tbody > tr:nth-child(2n+1),table.zebra.darktable > tbody > tr:nth-child(2n+1),table.zebra.wikitable > tbody > tr:nth-child(2n+1),table.zebra.darkbox > tbody > tr:nth-child(2n+1),table.filehistory > tbody > tr:nth-child(2n+1) {
#mw-panel #p-logo + .portal .vector-menu-heading {
background-color: var(--theme-background-color-alt)
display: flex;
}
 
/* arrow icon */
table .hover:hover {
#mw-panel .mw-portlet .vector-menu-heading::after {
background-color: orange
content: "";
display: block;
pointer-events: none;
width: 15px;
height: 15px;
margin-top: 1px;
--mask: var(--icon-chevron-down) no-repeat;
-webkit-mask: var(--mask);
mask: var(--mask);
-webkit-mask-size: 100% 100%;
mask-size: 100% 100%;
-webkit-mask-position: center center;
mask-position: center center;
background-color: var(--theme-accent-color-bright);
transform: scaleY(-1);
}
#mw-panel .mw-portlet.collapsed .vector-menu-heading::after {
transform: none;
}
#mw-panel .mw-portlet:hover .vector-menu-heading::after {
background-color: var(--theme-accent-color);
}
 
/* Gadgetlist description lengthbody */
#mw-panel .portal .body {
.oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header,
background: none;
.oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body {
max-widthborder: unset0;
padding: 0;
margin: 0;
border-top: var(--theme-border-width) solid var(--theme-border-color);
}
#mw-panel .portal .body ul {
padding: var(--theme-gap) 4px 4px;
}
#mw-panel .portal .body li {
margin: 0;
padding: 0;
font-size: var(--list-body-font-size);
line-height: inherit;
}
#mw-panel .portal .body li:hover {
background: var(--theme-highlight-background);
}
#mw-panel .portal .body li a {
display: block;
padding: var(--list-body-padding-y) var(--list-body-padding-x);
color: var(--theme-link-color);
}
#mw-panel .portal .body li a:visited {
color: var(--theme-link-color-visited);
}
#mw-panel .portal .body li a:hover {
color: var(--theme-link-color-hover);
}
 
/* "Atom" RSS Feed */
/******* Search result page. (Special:Search) ******/
#mw-panel .portal .body li a.feedlink {
.mw-search-form-wrapper {
text-indent: calc(var(--list-body-font-size:) + 1em2px);
background-position: var(--list-body-padding-x) center; /* align icon with other text */
}
 
/********* side panel END *********/
.mw-search-form-wrapper #mw-search-top-table {
 
display: flex;
/********* main content box *********/
align-items: center;
/****** navbar (#mw-head) ******/
/* reset */
#mw-head * {
float: unset;
font-size: unset;
line-height: unset;
}
 
/* tabs layout */
.mw-search-form-wrapper #mw-search-top-table > div {
#mw-head {
--layout-padding: 12px;
--layout-gap: 6px;
--tab-padding-x: 12px;
--tab-padding-y: 5px;
--icon-size: 1em;
padding: var(--layout-padding) 0 0 0;
background: var(--theme-site-background);
position: relative;
display: flex;
justify-content: space-between;
align-items: stretch;
}
#mw-head #left-navigation, #mw-head #right-navigation {
float: none;
flex: 1 1 auto;
margin: 0;
display: flex;
align-items: flex-end;
}
#mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after {
 
content: "";
.mw-search-form-wrapper .results-info {
display: block;
color: var(--theme-content-text-mix-color);
font-sizeheight: 1em100%;
border-bottom: var(--theme-border-bottom-width) var(--theme-border-bottom-style) var(--theme-border-bottom-color);
padding: 0 0 0 3em;
background: none;
white-space: nowrap;
}
text-align: right;
#mw-head #left-navigation {
justify-content: flex-start;
}
#mw-head #right-navigation {
justify-content: flex-end;
}
#mw-head #left-navigation::before, #mw-head #right-navigation::after {
flex: 0 0 var(--layout-padding);
}
#mw-head #left-navigation::after, #mw-head #right-navigation::before {
flex: 1 1 auto;
}
 
/*** tabs of navbar ***/
.mw-search-form-wrapper .mw-search-visualclear {
/* reset */
display: none;
#mw-head .vector-menu,
#mw-head .vector-menu * {
background: none;
}
 
/* tabs list */
.mw-search-form-wrapper .mw-search-profile-tabs {
#mw-head .vector-menu-tabs {
height: unset;
padding: unset;
}
#mw-head .vector-menu-tabs .vector-menu-content-list {
display: flex;
align-items: flex-end;
}
 
/* tab */
#mw-head {
--theme-tab-border-style: solid;
--theme-tab-border-width: 1px;
--theme-border-bottom-style: solid;
--theme-border-bottom-width: 1px;
--theme-border-bottom-color: var(--theme-tab-border-color-selected);
--theme-border-bottom-color-selected: transparent;
}
#mw-head .vector-menu-tabs .mw-list-item,
#mw-head .vector-menu-dropdown {
/* outer box */
background: var(--theme-tab-background);
border-bottom: var(--theme-border-bottom-width) var(--theme-border-bottom-style) var(--theme-border-bottom-color);
border-radius: var(--theme-box-border-radius);
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
position: relative;
margin-right: var(--layout-gap); /* make space for gap */
}
#mw-head .vector-menu-tabs .mw-list-item::after,
#mw-head .vector-menu-dropdown::after {
/* gap */
content: "";
display: block;
width: var(--layout-gap);
height: 100%;
border-bottom: var(--theme-border-bottom-width) var(--theme-border-bottom-style) var(--theme-border-bottom-color);
position: absolute;
left: 100%;
bottom: calc(0px - var(--theme-border-bottom-width));
background: var(--theme-background-shadow);
}
#mw-head .vector-menu-tabs .mw-list-item a,
#mw-head .vector-menu-dropdown .vector-menu-heading {
/* inner box */
height: auto;
margin: 0;
padding: var(--tab-padding-y) var(--tab-padding-x);
border: var(--theme-tab-border-width) var(--theme-tab-border-style) var(--theme-tab-border-color);
border-bottom: 0;
border-radius: var(--theme-box-border-radius);
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
color: var(--theme-link-color);
background: var(--theme-background-shadow);
}
#mw-head .vector-menu-tabs .mw-list-item a:hover,
#mw-head .vector-menu-dropdown .vector-menu-heading:hover {
color: var(--theme-link-color-hover);
}
#mw-head .vector-menu-tabs .mw-list-item a.new,
#mw-head .vector-menu-dropdown .vector-menu-heading.new {
color: var(--theme-link-color-redlink);
}
#mw-head .vector-menu-tabs .mw-list-item.selected {
/* outer box: selected */
background: var(--theme-tab-background-selected);
border: var(--theme-tab-border-width) var(--theme-tab-border-style) var(--theme-tab-border-color-selected);
border-bottom: 0;
--theme-link-color: var(--theme-tab-color-selected);
--theme-link-color-hover: var(--theme-tab-color-selected-hover);
--theme-icon-color: var(--theme-tab-color-selected);
--theme-icon-color-hover: var(--theme-tab-color-selected-hover);
}
#mw-head .vector-menu-tabs .mw-list-item.selected:after {
/* gap */
bottom: 0;
padding-left: var(--theme-tab-border-width); /* x-position offset */
}
#mw-head .vector-menu-tabs .mw-list-item.selected a {
/* inner box: selected */
border: 0;
border-bottom: var(--theme-border-bottom-width) var(--theme-border-bottom-style) var(--theme-border-bottom-color-selected);
margin: 1em 0;
background: none;
color: var(--theme-tab-color-selected);
}
 
/* dropdown menu*/
.mw-search-form-wrapper .mw-search-profile-tabs .search-types + div {
#mw-head .vector-menu-dropdown .vector-menu-heading {
/* tab label */
position: relative;
display: flex;
align-items: center;
gap: 3px;
}
#mw-head .vector-menu-dropdown .vector-menu-heading::after {
/* arrow icon */
background: none;
opacity: unset;
content: "";
display: block;
width: 0;
height: 0;
border-style: solid;
border-color: var(--theme-icon-color) transparent;
border-width: 6px 5px 0;
margin-top: 2px;
}
#mw-head .vector-menu-dropdown:hover .vector-menu-heading::after {
/* .vector-menu-heading is covered by .vector-menu-checkbox, therefore we can't use .vector-menu-heading:hover::after */
border-color: var(--theme-icon-color-hover) transparent;
}
#mw-head .vector-menu-dropdown .vector-menu-content {
/* dropdown list body */
border: var(--theme-dropdown-border);
border-radius: var(--theme-box-border-radius);
background: var(--theme-dropdown-background);
backdrop-filter: var(--theme-dropdown-backdrop-filter);
border-top-left-radius: 0;
border-top-right-radius: 0;
left: 0; /* reset */
z-index: 10;
}
#mw-head .vector-menu-dropdown .vector-menu-content ul {
--theme-link-color: var(--theme-text-color);
--theme-link-color-visited: var(--theme-link-color);
--theme-link-color-hover: var(--theme-link-color);
padding: 4px;
}
#mw-head .vector-menu-dropdown .vector-menu-content li:hover {
background: var(--theme-highlight-background);
}
#mw-head .vector-menu-dropdown .vector-menu-content li a {
display: block;
padding: var(--dropdown-item-padding-y) var(--dropdown-item-padding-x);
text-decoration: none;
color: var(--theme-link-color);
}
#mw-head .vector-menu-dropdown .vector-menu-content li a:visited {
color: var(--theme-link-color-visited);
}
#mw-head .vector-menu-dropdown .vector-menu-content li a:hover {
color: var(--theme-link-color-hover);
}
 
/* watch/unwatch star */
#mw-head .vector-menu-tabs .mw-watchlink.icon a {
--theme-link-color-hover: var(--theme-icon-color-hover);
width: 1.5em; /* same as line height */
height: 1.5em;
box-sizing: content-box;
padding: var(--tab-padding-y);
color: transparent; /**<< for watch/unwatch, the text of <a> will be plain 'watch'/'unwatch' without <span> after clicking. **/
}
#mw-head .vector-menu-tabs .mw-watchlink.icon a::before {
content: "";
display: block;
position: unset;
background-image: none;
width: var(--icon-size);
height: var(--icon-size);
margin: calc((1.5em - var(--icon-size)) / 2);
--mask: var(--icon) no-repeat;
-webkit-mask: var(--mask);
mask: var(--mask);
-webkit-mask-size: 100% 100%;
mask-size: 100% 100%;
-webkit-mask-position: center center;
mask-position: center center;
background-color: var(--theme-accent-color-bright);
}
#mw-head .vector-menu-tabs .mw-watchlink.icon a:hover::before {
background-color: var(--theme-icon-color-hover);
}
#mw-head .vector-menu-tabs .mw-watchlink.icon a span {
display: none;
}
#mw-head .vector-menu-tabs .mw-watchlink.icon a::before {
transform-origin: 50% calc(var(--icon-size) / 2 * 1.125);
}
#mw-head .vector-menu-tabs #ca-watch.icon {
/* line star */
--icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg id='Outlined' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle/%3E%3Cg id='Fill'%3E%3Cpath d='M28.61,11.67H20l-2.66-8.2a1.39,1.39,0,0,0-2.64,0L12,11.67H3.39a1.39,1.39,0,0,0-.82,2.51l7,5.07L6.89,27.46a1.39,1.39,0,0,0,1.32,1.82A1.43,1.43,0,0,0,9,29l7-5.07L23,29a1.43,1.43,0,0,0,.81.27,1.39,1.39,0,0,0,1.32-1.82l-2.66-8.21,7-5.07A1.39,1.39,0,0,0,28.61,11.67Zm-7.34,6-1.17.86.44,1.38,2.09,6.41-5.45-4L16,21.46l-1.18.86-5.45,4,2.09-6.41.44-1.38-1.17-.86-5.45-4h8.19l.45-1.38L16,5.89l2.08,6.4.45,1.38h8.19Z'/%3E%3C/g%3E%3C/svg%3E");
}
#mw-head .vector-menu-tabs #ca-unwatch.icon {
/* solid star */
--icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg id='Outlined' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle/%3E%3Cg id='Fill'%3E%3Cpath d='M28.61,11.67H20l-2.66-8.2a1.39,1.39,0,0,0-2.64,0L12,11.67H3.39a1.39,1.39,0,0,0-.82,2.51l7,5.07L6.89,27.46a1.39,1.39,0,0,0,1.32,1.82A1.43,1.43,0,0,0,9,29l7-5.07L23,29a1.43,1.43,0,0,0,.81.27,1.39,1.39,0,0,0,1.32-1.82l-2.66-8.21,7-5.07A1.39,1.39,0,0,0,28.61,11.67Z'/%3E%3C/g%3E%3C/svg%3E");
}
 
/*** search form ***/
.mw-search-form-wrapper .mw-search-profile-tabs .search-types {
#mw-head #p-search {
width: 100%;
/* navbar common border bottom */
float: none;
border-bottom: var(--theme-border-bottom-width) var(--theme-border-bottom-style) var(--theme-border-bottom-color);
padding: 0;
/*background: var(--theme-background-shadow);*/
margin: 0;
align-self: stretch;
}
#mw-head #p-search form {
margin: 0;
}
#mw-head #p-search .vector-search-box-inner {
border-width: 1px;
border-style: solid;
border-color: var(--theme-border-color);
border-radius: 2px;
}
#mw-head #p-search .vector-search-box-inner:hover {
border-color: var(--theme-border-color-hover);
}
#mw-head #p-search .vector-search-box-inner:focus-within {
border-color: var(--theme-border-color-focus);
box-shadow: var(--theme-shadow-focus);
}
#mw-head #p-search .vector-search-box-input {
border: 0;
color: var(--theme-text-color);
background: var(--theme-background-color-alt);
box-shadow: var(--theme-shadow);
height: 26px;
padding: 0 26px 0 4px;
}
#mw-head #p-search .vector-search-box-input:focus {
outline: 0;
z-index: 1100; /* .suggestions: 1099 */
}
#mw-head #p-search .vector-search-box-input:focus ~ .searchButton {
z-index: 1101;
}
#mw-head #p-search .vector-search-box-input::placeholder {
color: var(--theme-content-text-mix-color);
}
#mw-head #p-search .mw-searchButton {
opacity: 0;
}
#mw-head #p-search .searchButton {
width: 26px;
min-width: unset;
opacity: 1;
background-image: none;
--mask: url("data:image/svg+xml,%3C%3Fxml version='1.0'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ctitle%3E search %3C/title%3E%3Cpath fill-rule='evenodd' d='M12.2 13.6a7 7 0 1 1 1.4-1.4l5.4 5.4-1.4 1.4-5.4-5.4zM13 8A5 5 0 1 1 3 8a5 5 0 0 1 10 0z'/%3E%3C/svg%3E%0A") no-repeat;
-webkit-mask: var(--mask);
mask: var(--mask);
-webkit-mask-size: 18px 18px;
mask-size: 18px 18px;
-webkit-mask-position: center center;
mask-position: center center;
background-color: var(--theme-link-color);
}
.theme-dark #simpleSearch .searchButton {
filter: invert(0);
}
#mw-head #p-search #searchform:hover .searchButton {
background-color: var(--theme-link-color-hover);
}
#mw-head #p-search .vector-search-box-input:focus ~ .searchButton {
background-color: var(--theme-link-color-focus);
}
 
/*** search result suggestions ***/
.mw-search-form-wrapper .mw-search-profile-tabs .search-types ul li {
.suggestions {
float: none;
background-color: var(--theme-dropdown-background);
display: inline-block;
box-sizing: border-box;
vertical-align: middle;
margin-top: 0;
box-shadow: var(--theme-box-shadow);
backdrop-filter: var(--theme-box-back-backdrop-filter);
}
.suggestions .suggestions-results,
.suggestions .suggestions-special {
background: none;
}
.suggestions .suggestions-results {
border: var(--theme-dropdown-border);
border-top: 0;
border-bottom-color: var(--theme-rule-color);
}
.suggestions .suggestions-results:empty {
border-bottom: 0;
}
.suggestions .suggestions-result, .suggestions .suggestions-special .special-query {
color: var(--theme-text-color);
}
.suggestions .suggestions-special .special-label {
color: var(--theme-content-text-mix-color);
}
 
.suggestions .suggestions-result {
.mw-search-form-wrapper .mw-search-profile-tabs .search-types ul li.current {
padding: 1px 4px;
background:var(--theme-border-color);
border-radius: 2px;
overflow: hidden;
}
.suggestions .suggestions-special {
.mw-search-form-wrapper .mw-search-profile-tabs .search-types ul li.current:nth-child(1) {
margin: 0;
border-radius: 0 2px 2px 0;
padding: 2px 4px 4px;
border: 1px solid var(--theme-border-color);
border-top: 0;
border-radius: var(--theme-box-border-radius);
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.suggestions a.mw-searchSuggest-link,
.suggestions a.mw-searchSuggest-link:hover,
.suggestions a.mw-searchSuggest-link:active,
.suggestions a.mw-searchSuggest-link:focus {
color: var(--theme-text-color);
}
.suggestions .suggestions-result-current { background: var(--theme-highlight-background); }
 
/**** main content box ****/
.mw-search-form-wrapper #mw-searchoptions {
/* font */
padding: 1em;
.vector-body {
background: var(--theme-background-color-alt);
font-size: unset; /* reset */
border: 1px solid var(--theme-accent-color);
line-height: 1.7142857143;
border-radius: 4px;
}
 
/** layout **/
/* New inline in Special:History diffs */
#content {
.oo-ui-toggleSwitchWidget.oo-ui-widget-enabled .oo-ui-toggleSwitchWidget-grip, .oo-ui-toggleSwitchWidget.oo-ui-widget-enabled.oo-ui-toggleWidget-on .oo-ui-toggleSwitchWidget-grip {
background-color: var(--theme-accenttext-color-bright);
padding: 0;
border-color: var(--theme-accent-color);
display: flex;
flex-direction: column;
--theme-heading-rule-color-h1: var(--theme-border-color);
--theme-heading-rule-color-h2: var(--theme-border-color);
--layout-padding-x: 24px;
--layout-padding-y: 16px;
}
 
.oo-ui-toggleSwitchWidget.oo-ui-widget-enabled.oo-ui-toggleWidget-on, .oo-ui-toggleSwitchWidget.oo-ui-widget-enabled:hover {
div#content {
background-color: var(--theme-accent-color);
border-color: var(--theme-accent-color);
}
 
.oo-ui-toggleSwitchWidget.oo-ui-widget-enabled.oo-ui-toggleWidget-on:hover {
.content-body {
background-color: var(--theme-accent-color);
flex: 1 1 auto;
border-color: var(--theme-accent-color-bright);
}
.content-body > main {
.oo-ui-toggleSwitchWidget.oo-ui-widget-enabled:focus {
align-self: stretch;
border-color: var(--theme-accent-color-bright);
padding: var(--layout-padding-y) var(--layout-padding-x);
box-shadow: inset 0 0 0 1px var(--theme-accent-color-bright);
}
 
.oo-ui-toggleSwitchWidget.oo-ui-widget-enabled.oo-ui-toggleWidget-on:focus, .oo-ui-toggleSwitchWidget.oo-ui-widget-enabled:focus .oo-ui-toggleSwitchWidget-grip {
#bodyContent {
border-color: var(--theme-accent-color-bright);
display: flex;
flex-direction: column;
position: unset;
}
 
.oo-ui-toggleSwitchWidget.oo-ui-widget-enabled:hover .oo-ui-toggleSwitchWidget-grip {
/** main heading section **/
background-color: var(--theme-accent-color);
#firstHeading {
border-color: var(--theme-accent-color);
overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */
border-bottom: 1px solid var(--theme-heading-rule-color-h2);
}
 
/** the " < rootpage < page " crumb **/
.oo-ui-toggleSwitchWidget.oo-ui-widget-enabled.oo-ui-toggleWidget-on .oo-ui-toggleSwitchWidget-grip {
#contentSub, #contentSub2 {
background-color: var(--theme-accent-color-bright);
margin: 0;
border-color: #0006;
color: var(--theme-content-text-mix-color);
font-size: 12px;
line-height: 20px;
}
 
#contentSub .subpages {
/* Edit conflict */
color: transparent;
.oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-notice {
line-height: 20px;
background-color: var(--theme-background-color--secondary);
font-size: 0;
border-color: var(--theme-border-color);
}
#contentSub .subpages a {
font-size: 12px;
vertical-align: middle;
display: inline-flex;
align-items: center;
padding-left: 4px;
}
#contentSub .subpages a::before {
content: "";
display: inline-block;
height: 4px;
width: 4px;
border-color: var(--theme-icon-color);
border-style: solid;
border-width: 0 0 2px 2px;
margin: 0 2px 0 0;
transform: rotate(45deg);
}
 
/** content body box **/
.mw-twocolconflict-single-column.mw-twocolconflict-split-copy, .mw-twocolconflict-split-column.mw-twocolconflict-split-copy {
#mw-content-text {
border-color: var(--theme-border-color);
flex: 1 1 auto;
background-color: var(--theme-background-color--secondary);
color: var(--theme-text-color);
}
 
.mw-twocolconflict-single-column .mw-twocolconflict-split-collapsed .mw-twocolconflict-split-fade, .mw-twocolconflict-split-column .mw-twocolconflict-split-collapsed .mw-twocolconflict-split-fade {
/*** "category:" box ***/
background-image: linear-gradient(transparent,var(--theme-background-color-alt));
#catlinks {
background: var(--theme-background-color);
border: 1px solid var(--theme-border-color);
border-radius: var(--theme-box-border-radius);
margin: var(--layout-padding-y) 0 0 0;
padding: 0.5em 1em;
}
 
/*** ads ***/
.mw-twocolconflict-single-column.mw-twocolconflict-split-unselected.mw-twocolconflict-split-delete, .mw-twocolconflict-split-column.mw-twocolconflict-split-unselected.mw-twocolconflict-split-delete {
div.games-showcase-header {
border-color: var(--theme-border-color);
margin: 0;
padding: var(--layout-padding-y) var(--layout-padding-x) 0;
}
 
.mw-twocolconflict-single-column, .mw-twocolconflict-split-column {
div.games-showcase-footer {
background-color: var(--theme-background-color--secondary);
margin: 0;
color: var(--theme-text-color);
padding: 0 var(--layout-padding-x) var(--layout-padding-y);
}
 
.content-body > .games-showcase-sidebar {
.mw-twocolconflict-single-column.mw-twocolconflict-split-unselected ins.mw-twocolconflict-diffchange, .mw-twocolconflict-split-column.mw-twocolconflict-split-unselected ins.mw-twocolconflict-diffchange {
margin: 0;
background-color: var(--theme-border-color);
padding: var(--layout-padding-y) var(--layout-padding-x) 0 0;
}
 
.mw-twocolconflict-single-column.mw-twocolconflict-split-unselected.mw-twocolconflict-split-add, .mw-twocolconflict-split-column.mw-twocolconflict-split-unselected.mw-twocolconflict-split-add {
.games-showcase-header img, .games-showcase-footer img {
border-color: var(--theme-border-color);
height: 100%;
width: auto;
object-fit: contain;
}
@media screen and (max-width: 1100px) {
.mw-twocolconflict-split-selection > div:nth-child(2) .oo-ui-radioInputWidget.oo-ui-widget-enabled [type="radio"]:checked + span, .mw-twocolconflict-split-selection > div:nth-child(2) .oo-ui-radioInputWidget.oo-ui-widget-enabled [type="radio"]:active + span, .mw-twocolconflict-split-selection > div:nth-child(2) .oo-ui-radioInputWidget [type="radio"] + span {
.games-showcase-header img, .games-showcase-footer img {
background: var(--theme-background-color--secondary);
height: auto !important;
width: 100% !important;
object-fit: contain;
}
}
@media screen and (max-width: 926px) {
.mw-twocolconflict-split-selection > div:nth-child(1) .oo-ui-radioInputWidget.oo-ui-widget-enabled [type="radio"]:checked + span, .mw-twocolconflict-split-selection > div:nth-child(1) .oo-ui-radioInputWidget.oo-ui-widget-enabled [type="radio"]:active + span, .mw-twocolconflict-split-selection > div:nth-child(1) .oo-ui-radioInputWidget [type="radio"] + span {
.games-showcase-header img, .games-showcase-footer img {
background: var(--theme-background-color--secondary);
object-position: 50%;
height: 105px !important;
width: 100% !important;
}
}
.mw-twocolconflict-split-editable .mw-twocolconflict-split-editor, .mw-twocolconflict-split-difftext { color: var(--theme-text-color); }
 
aside.games-showcase-sidebar div.sidebar-showcase {
/* ?action=history */
padding: 0 0 var(--layout-padding-y) 0;
#pagehistory li {
border: dashed 1px var(--theme-border-color);
}
 
 
/* Wiki editor */
/**** #footer (copyright info) ****/
.wikiEditor-ui-toolbar .tabs span.tab a::before {
#footer {
left: 5px;
background: var(--theme-site-background);
padding: 16px 24px;
border-radius: 0 0 var(--theme-box-border-radius) var(--theme-box-border-radius);
position: relative;
z-index: 0; /* covered by content */
font-size: 12px;
}
 
.mw-footer li {
#mw-notification-area .mw-notification.mw-notification-type-error {
color: var(--theme-content-text-mix-color);
background-color: rgba(154,0,0,0.8);
border: solid 1px #d33;
color: var(--theme-text-color)
}
 
#footer a {
#mw-notification-area .mw-notification.mw-notification-type-warn {
background- color: rgbavar(138,104,0,0.8--theme-link-color);
border: solid 1px #fc3;
color: var(--theme-text-color)
}
 
#footer a:hover {
#mw-notification-area .mw-notification.mw-notification-type-success {
color: var(--theme-link-color-hover);
background-color: rgba(1,140,48,0.8);
border: solid 1px rgb(1,210,48);
color: var(--theme-text-color)
}
 
#footer-info {
/** headings **/
display: contents;
.mw-body h1, .mw-body-content h1, .mw-body-content h2,
}
.vector-body h3, .vector-body h4,
 
.vector-body h5, .vector-body h6 {/*
#footer ul li {
font-size: inherit;
line-height: 1.5;
padding: 0;
}
 
#footer #footer-info-lastmod {
margin-bottom: 1em;
}
 
#footer #footer-info-copyright {
position: relative;
padding-right: 100px;
}
 
#footer-places > * {
margin-top: 1em;
}
 
/* Footer icons */
html.view-dark #footer #footer-icons a:has([data-theme="dark"]) {
background-color: var(--theme-background-color--secondary);
border-color: var(--theme-border-color);
}
 
/**** background box for nav+content+#footer ****/
#mw-page-base {
box-sizing: border-box;
border: var(--theme-box-border-width) var(--theme-box-border-style) var(--theme-accent-color);
border-radius: var(--theme-box-border-radius);
backdrop-filter: var(--theme-box-back-backdrop-filter);
box-shadow: var(--theme-box-shadow);
background: var(--theme-box-back-background);
z-index: -1;
}
 
#mw-head, #content, #footer {
box-sizing: border-box;
background-clip: padding-box;
border: 0 solid transparent;
margin: 0;
}
color: var(--theme-heading-color);*/
font-family: var(--theme-heading-font-face, sans-serif);/*
line-height: var(--theme-heading-line-height, 1.25);
font-weight: var(--theme-heading-font-weight, normal);*/
}/*
 
#mw-head {
.mw-body h1, .mw-body-content h1 {
border-bottom-width: 0;
font-size: var(--theme-heading-font-size-h1, 32px);
}
line-height: var(--theme-heading-line-height-h1, 40px);
font-weight: var(--theme-heading-font-weight-h1, var(--theme-heading-font-weight, normal));
}*/
 
.mw-body-#content h2 {/*
font-sizeborder: solid 1px var(--theme-headingborder-font-size-h2, 24pxcolor);
border-top-width: 0;
line-height: var(--theme-heading-line-height-h2, 30px);
font-weight: var(--theme-heading-font-weight-h2, var(--theme-heading-font-weight, normal));
margin-top: 18px;
margin-bottom: 9px;*/
border-bottom: 1px solid var(--theme-heading-rule-color-h2);/*
padding-bottom: 3px;*/
}
 
#footer {
/*.vector-body h3 {
border-top-width: 0;
font-size: var(--theme-heading-font-size-h3, 20px);
line-height: var(--theme-heading-line-height-h3, 26px);
font-weight: var(--theme-heading-font-weight-h3, var(--theme-heading-font-weight, normal));
margin-top: 14px;
margin-bottom: 7px;
}
 
/****** indicators ******/
.vector-body h4 {
.mw-indicators {
font-size: var(--theme-heading-font-size-h4, 16px);
position: absolute;
line-height: var(--theme-heading-line-height-h4, 22px);
right: 2rem;
font-weight: var(--theme-heading-font-weight-h4, var(--theme-heading-font-weight, normal));
margin-top: 14px5px;
margin-bottom: 7px;
}
 
/****** responsive Layout ******/
.vector-body h5 {
@media screen and (max-width: 1800px) {
font-size: var(--theme-heading-font-size-h5, 14px);
:root {
line-height: var(--theme-heading-line-height-h5, 22px);
--layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */
font-weight: var(--theme-heading-font-weight-h5, bold);
}
margin-top: 10px;
} /* screen and (max-width: 1800px) */
margin-bottom: 7px;
@media screen and (min-width: 1366px) {
body {
grid-template-rows: [body-start] var(--layout-topbar-height) [page-start logo-start] 0px [logo-end nav-start aside-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [aside-end page-end] 0fr [body-end];
}
#p-logo {
position: initial;
width: 100%;
height: auto;
}
/*#mw-panel .portal #p-navigation-label.vector-menu-heading {
display: none;
}*/
#mw-panel.collapsible-nav .portal .vector-menu-content ul li {
padding: 0;
}
body.skin-vector #mw-panel {
position:fixed;
top:2.5em;
max-height:calc(100vh - 2.5em);
overflow-y:auto;
-ms-overflow-style:none;
scrollbar-width:none;
width: 14em;
}
#mw-panel .portal.vector-menu {
margin-left: 20px;
}
body.skin-vector #mw-panel::-webkit-scrollbar {
display:none
}
#mw-panel .portal .body li:hover {
background: none;
}
#mw-panel .portal .body li a:hover {
text-decoration: underline;
}
#mw-panel .portal .vector-menu-heading {
font-size: 14px;
}
#mw-panel .portal .body li {
font-size: 13px;
}
} /* screen and (min-width: 1366px) */
@media screen and (max-width: 1365px) {
:root {
--layout-logo-scale: 0.75;
--theme-site-logo-image: url(/images/f/f5/Site-logo-horizontal.png); /*** top site logo ***/
--theme-site-logo-width: calc(496px * 1.2);
--theme-site-logo-height: calc(108px * 1.5);
}
/* change layout */
body {
grid-template-columns: [body-left] 0 [aside-left nav-left content-left footer-left] minmax(0, 1fr) [content-right aside-right nav-right footer-right] 0 [body-right];
grid-template-rows: [body-start] var(--layout-topbar-height) [page-start logo-start] var(--layout-logo-box-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end];
}
/* re-style navbar */
#mw-panel {
display: flex;
align-items: flex-end;
box-sizing: border-box;
border: 0/*var(--theme-box-border-width)*/ var(--theme-box-border-style) var(--theme-accent-color);
border-radius: var(--theme-box-border-radius);
backdrop-filter: var(--theme-box-back-backdrop-filter);
box-shadow: var(--theme-box-shadow);
background: var(--theme-site-background), var(--theme-box-back-background);
padding: 0 var(--layout-box-gap);
/* Make #p-logo be positioned relative to #mw-panel. By this way, we can safely apply filter/backdrop-filter on #mw-panel */
position: relative;
z-index: 8;
}
#mw-panel > div.portal:nth-last-child(1) {
margin-bottom: 0;
}
#mw-panel .portal {
background: none;
box-shadow: none;
border: 0;
margin: 0;
padding: 0;
position: relative;
}
div#mw-panel .vector-menu {
background-color: var(--theme-site-background);
}
#mw-panel .portal .vector-menu-heading {
margin: 0;
transform: unset;
padding: 9px 12px;
border: 0;
border-radius: 0;
background: none;
}
#mw-panel .portal .vector-menu-heading::after {
border-width: 6px 5px 0; /* change arrow direction */
margin-left: 4px;
}
#mw-panel.collapsible-nav .portal.collapsed .vector-menu-heading,
#mw-panel.collapsible-nav .portal .vector-menu-heading {
background-image: none;
}
#mw-panel .portal.collapsed .vector-menu-heading::after {
transform: none;
}
#mw-panel .portal .body {
display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */
position: absolute;
left: 0;
top: 100%;
width: max-content;
min-width: 8em;
border: var(--theme-dropdown-border);
border-radius: var(--theme-box-border-radius);
background: var(--theme-dropdown-background);
border-top-left-radius: 0;
border-top-right-radius: 0;
}
#mw-panel .portal .body ul {
padding: 4px;
}
#mw-panel .portal .body li a {
padding: 6px 12px;
}
#mw-panel .mw-portlet.collapsed .vector-menu-heading::after,
/*#mw-panel .portal.expanded .vector-menu-heading::after,*/
#mw-panel .portal .vector-menu-heading::after {
transform: scaleY(1);
}
/*#mw-panel .mw-portlet.collapsed:hover .vector-menu-heading::after,*/
#mw-panel .portal.expanded .vector-menu-heading::after/*,
#mw-panel .portal:hover .vector-menu-heading::after*/ {
transform: scaleY(-1);
}
#mw-panel .portal.expanded .body/*, #mw-panel .portal:hover .body*/ {
display: block !important;
}
#mw-panel.collapsible-nav .portal.first .vector-menu-heading { display: flex }
/* search: move to sidebar nav box ("main nav bar") */
#mw-head #p-search {
padding: var(--layout-padding);
border-bottom: 0;
position: absolute;
right: 0;
top: calc(-43px - var(--theme-box-border-width) * 2); /* offset */
z-index: 9;
}
.vector-search-box-inner {
width: 20em;
max-width: unset;
min-width: unset;
}
#mw-head #right-navigation #p-cactions {
margin-right: 0;
}
/* logo: smaller, and position relative to #mw-panel */
#p-logo {
background-size: calc(var(--theme-site-logo-width) * var(--layout-logo-scale)) auto;
top: calc(0px - var(--layout-logo-box-height));
}
#p-logo .mw-wiki-logo {
width: calc(var(--theme-site-logo-width) * var(--layout-logo-scale));
height: calc(var(--theme-site-logo-height) * var(--layout-logo-scale));
}
/* "more" menu in #right-navigation */
#mw-head #right-navigation .vector-menu-dropdown {
margin-right: 0;
}
#mw-head #right-navigation .vector-menu-dropdown::after {
display: none;
}
#mw-head #right-navigation .vector-menu-dropdown .vector-menu-content {
left: auto;
right: 0;
}
}
@media screen and (max-width: 961px) {
#p-logo {
top: calc(0px - var(--layout-logo-box-height));
}
#simpleSearch {
width: 100%;
max-width: none;
}
}
@media screen and (max-width: 900px) {
/* change layout */
body {
grid-template-columns: [body-left aside-left nav-left content-left footer-left] minmax(0, 1fr) [content-right aside-right nav-right footer-right body-right];
}
#mw-page-base,
#mw-panel,
#mw-head, #content, #footer {
border-radius: 0;
border-left: 0;
border-right: 0;
}
.mw-indicators {
z-index: auto;
}
/* re-style navbar */
#mw-panel {
flex-wrap: wrap;
}
#mw-panel .portal {
backdrop-filter: none;
position: unset;
flex: 0 0 auto;
}
#mw-panel .portal .vector-menu-heading {
justify-content: center;
white-space: nowrap;
}
#mw-panel .portal .body {
left: 0;
width: 100%;
padding: 12px;
box-sizing: border-box;
}
#mw-panel .portal .body ul {
display: grid;
grid-template-columns: repeat(auto-fit, var(--layout-sidebar-width));
justify-content: center;
}
#mw-panel .portal .body li a {
display: block;
}
} /* screen and (max-width:900px) */
@media screen and (max-width: 760px) {
:root {
--layout-logo-scale: 0.5;
}
#p-logo {
width: 100%;
left: 0;
}
#mw-panel {
box-shadow: var(--theme-box-shadow);
display: block;
height: calc(36px + var(--theme-box-border-width) * 2);
}
#mw-panel .portal {
box-sizing: border-box;
display: none;
box-shadow: none;
background: var(--theme-site-background);
backdrop-filter: var(--theme-dropdown-backdrop-filter);
border-left: var(--theme-dropdown-border);
border-right: var(--theme-dropdown-border);
margin: 0;
border-radius: 0;
}
#mw-panel .portal .vector-menu-heading {
padding: 0 12px 4px;
border: 0;
display: block;
background: none;
}
#mw-panel .portal .vector-menu-heading::after {
display: none;
}
#mw-panel .portal:hover .vector-menu-heading {
background: none;
/*color: var(--theme-heading-color);*/
color: var(--theme-accent-color-bright);
}
#mw-panel .portal .body {
display: block !important; /* !important is required, since there is inline-css from sidebar collapse/expand */
position: unset;
border: 0;
background: none;
backdrop-filter: none;
padding: 4px 12px;
}
#mw-panel .portal .body ul {
padding: 0;
display: flex;
flex-wrap: wrap;
justify-content: unset;
}
#mw-panel .portal .body li a {
padding: 4px 8px;
white-space: nowrap;
}
#mw-panel .portal:last-child {
padding-bottom: 12px;
border-bottom: var(--theme-dropdown-border);
border-radius: 0 0 var(--theme-box-border-radius) var(--theme-box-border-radius);
}
#mw-panel.collapsible-nav .portal.first .vector-menu-heading { display: none }
#mw-panel .menu-toggle {
--mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='icon icon-tabler icon-tabler-category-2' width='24' height='24' viewBox='0 0 24 24' stroke-width='2' stroke='currentColor' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'%3E%3C/path%3E%3Cpath d='M14 4h6v6h-6z'%3E%3C/path%3E%3Cpath d='M4 14h6v6h-6z'%3E%3C/path%3E%3Cpath d='M17 17m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0'%3E%3C/path%3E%3Cpath d='M7 7m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0'%3E%3C/path%3E%3C/svg%3E") no-repeat;
-webkit-mask: var(--mask);
mask: var(--mask);
-webkit-mask-size: 100% 100%;
mask-size: 100% 100%;
-webkit-mask-position: center center;
mask-position: center center;
background-color: var(--theme-icon-color);
cursor: pointer;
display: block;
flex: 0 0 auto;
width: 24px;
height: 24px;
margin: 5px 12px;
}
#mw-panel .menu-toggle.expanded ~ .portal {
display: block;
}
#mw-panel .menu-toggle + .portal {
padding-top: 12px;
border-top: var(--theme-dropdown-border);
}
#mw-head #p-search {
box-shadow: none;
padding: 0;
top: calc(-31px - var(--theme-box-border-width) * 2); /* offset */
left: auto;
right: 12px;
width: auto;
z-index: 9;
width: calc(100% - 6em);
}
.vector-search-box-inner {
width: 100vw;
max-width: 20em;
}
#content {
--layout-padding-x: 12px;
--layout-padding-y: 12px;
}
/* icon navbar tabs */
#mw-head {
top: unset; /* reset */
--icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg fill='none' height='24' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h24v24H0z' fill='none' stroke='none'/%3E%3Cpath d='M4 4l4 16l4 -14l4 14l4 -16'/%3E%3C/svg%3E");
--icon-size: 1.5em;
}
#mw-head .vector-menu-tabs .mw-list-item a,
#mw-head .vector-menu-dropdown .vector-menu-heading {
--theme-link-color-hover: var(--theme-icon-color-hover);
width: 1.5em; /* same as line height */
height: 1.5em;
box-sizing: content-box;
padding: var(--tab-padding-y);
color: transparent; /**<< for watch/unwatch, the text of <a> will be plain 'watch'/'unwatch' without <span> after clicking. **/
}
#mw-head .vector-menu-tabs .mw-list-item a::before,
#mw-head .vector-menu-dropdown .vector-menu-heading::before {
content: "";
display: block;
position: unset;
background-image: none;
width: var(--icon-size);
height: var(--icon-size);
margin: calc((1.5em - var(--icon-size)) / 2);
--mask: var(--icon) no-repeat;
-webkit-mask: var(--mask);
mask: var(--mask);
-webkit-mask-size: 100% 100%;
mask-size: 100% 100%;
-webkit-mask-position: center center;
mask-position: center center;
background-color: var(--theme-icon-color);
}
#mw-head .vector-menu-tabs .mw-list-item a:hover::before,
#mw-head .vector-menu-dropdown .vector-menu-heading:hover::before {
background-color: var(--theme-icon-color-hover);
}
#mw-head .vector-menu-tabs .mw-list-item a span,
#mw-head .vector-menu-dropdown .vector-menu-heading span {
display: none;
}
#mw-head .vector-menu-dropdown .vector-menu-heading::after {
display: none;
}
/* https://www.iconfinder.com/iconsets/core-ui-outlined */
#ca-edit {
--icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg id='Outlined' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle/%3E%3Cg id='Fill'%3E%3Cpath d='M29.12,6.05,26,2.88a3,3,0,0,0-4.24,0L6.29,18.29a3.06,3.06,0,0,0-.72,1.18L2.08,29.92l10.46-3.49a3.15,3.15,0,0,0,1.17-.72L29.12,10.29a3,3,0,0,0,0-4.24Zm-21,13.28,8.75-8.74,1.58,1.58L9.67,20.92ZM18.24,9.17l1.59-1.58,4.58,4.58-1.58,1.59ZM7.1,21.19l3.72,3.71L5.25,26.75Zm5.57,2.73-1.59-1.59,8.75-8.74,1.58,1.58Zm15-15-1.88,1.88L21.24,6.17l1.88-1.88A1,1,0,0,1,23.83,4a1,1,0,0,1,.71.29l3.17,3.18a1,1,0,0,1,.29.7A1,1,0,0,1,27.71,8.88Z'/%3E%3C/g%3E%3C/svg%3E");
}
/* https://www.iconfinder.com/iconsets/core-ui-outlined */
#ca-view,
#ca-view-foreign {
--icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg id='Outlined' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle/%3E%3Cg id='Fill'%3E%3Cpath d='M30.89,15.54A17,17,0,0,0,16,6,17,17,0,0,0,1.11,15.54L.87,16l.24.46A17,17,0,0,0,16,26a17,17,0,0,0,14.89-9.54l.24-.46ZM24,16a8,8,0,1,1-8-8A8,8,0,0,1,24,16ZM3.14,16a16.47,16.47,0,0,1,4.14-4.89,10,10,0,0,0,0,9.78A16.47,16.47,0,0,1,3.14,16Zm21.58,4.89a10,10,0,0,0,0-9.78A16.47,16.47,0,0,1,28.86,16,16.47,16.47,0,0,1,24.72,20.89Z'/%3E%3Cpath d='M16,20a4,4,0,1,0-4-4A4,4,0,0,0,16,20Zm0-6a2,2,0,1,1-2,2A2,2,0,0,1,16,14Z'/%3E%3C/g%3E%3C/svg%3E");
}
/* https://www.iconfinder.com/iconsets/core-ui-outlined */
#left-navigation li[id^=ca-nstab-] {
--icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg id='Outlined' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle/%3E%3Cg id='Fill'%3E%3Cpolygon points='12 15 11 15 11 17 12 17 20 17 21 17 21 15 20 15 12 15'/%3E%3Cpolygon points='12 19 11 19 11 21 12 21 15 21 16 21 16 19 15 19 12 19'/%3E%3Cpath d='M20.41,3H5V26a3,3,0,0,0,3,3H24a3,3,0,0,0,3-3V9.59ZM20,5.41,24.59,10H21a1,1,0,0,1-1-1ZM24,27H8a1,1,0,0,1-1-1V5H18V9a3,3,0,0,0,3,3h4V26A1,1,0,0,1,24,27Z'/%3E%3C/g%3E%3C/svg%3E");
}
/* https://www.iconfinder.com/iconsets/core-ui-outlined */
#ca-history {
--icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg id='Outlined' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle/%3E%3Cg id='Fill'%3E%3Cpath d='M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z'/%3E%3Cpath d='M17,7H15v8.52a2,2,0,0,0,.75,1.56l4.63,3.7,1.24-1.56L17,15.52Z'/%3E%3C/g%3E%3C/svg%3E");
}
/* https://www.iconfinder.com/iconsets/core-ui-outlined */
#ca-talk {
--icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg id='Outlined' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle/%3E%3Cg id='Fill'%3E%3Cpath d='M26,12H24V6a3,3,0,0,0-3-3H6A3,3,0,0,0,3,6V24.41l5.12-5.12A1.05,1.05,0,0,1,8.83,19H12v3a3,3,0,0,0,3,3h8.17a1.05,1.05,0,0,1,.71.29L29,30.41V15A3,3,0,0,0,26,12ZM12,15v2H8.83a3,3,0,0,0-2.12.88L5,19.59V6A1,1,0,0,1,6,5H21a1,1,0,0,1,1,1v6H15A3,3,0,0,0,12,15ZM27,25.59l-1.71-1.71A3,3,0,0,0,23.17,23H15a1,1,0,0,1-1-1V15a1,1,0,0,1,1-1H26a1,1,0,0,1,1,1Z'/%3E%3C/g%3E%3C/svg%3E");
}
/* https://www.svgviewer.dev/s/434200/outlined-paper-doc */
#t-contributions {
--icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg enable-background='new 0 0 32 32' id='Stock_cut' version='1.1' viewBox='0 0 32 32' xml:space='preserve' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cdesc/%3E%3Cpath d='M27,12V5h-7v0 c0-2.209-1.791-4-4-4h0c-2.209,0-4,1.791-4,4v0H1v7h0c2.209,0,4,1.791,4,4v0c0,2.209-1.791,4-4,4h0v11h11v0c0-2.209,1.791-4,4-4h0 c2.209,0,4,1.791,4,4v0h7V20h0c2.209,0,4-1.791,4-4v0C31,13.791,29.209,12,27,12L27,12z' fill='none' stroke='%23000000' stroke-linejoin='round' stroke-miterlimit='10' stroke-width='2'/%3E%3C/svg%3E");
}
/* https://www.iconfinder.com/iconsets/core-ui-outlined */
#ca-addsection {
--icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg id='Outlined' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle/%3E%3Cg id='Fill'%3E%3Cpolygon points='29 15 17 15 17 3 15 3 15 15 3 15 3 17 15 17 15 28 17 28 17 17 29 17 29 15'/%3E%3C/g%3E%3C/svg%3E");
}
/* https://github.com/sschoger/heroicons-ui/ */
#ca-viewsource {
--icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath class='heroicon-ui' d='M20.59 12l-3.3-3.3a1 1 0 1 1 1.42-1.4l4 4a1 1 0 0 1 0 1.4l-4 4a1 1 0 0 1-1.42-1.4l3.3-3.3zM3.4 12l3.3 3.3a1 1 0 0 1-1.42 1.4l-4-4a1 1 0 0 1 0-1.4l4-4a1 1 0 0 1 1.42 1.4L3.4 12zm7.56 8.24a1 1 0 0 1-1.94-.48l4-16a1 1 0 1 1 1.94.48l-4 16z'/%3E%3C/svg%3E");
}
/* https://www.iconfinder.com/iconsets/core-ui-outlined */
#p-variants {
--icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg id='Outlined' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle/%3E%3Cg id='Fill'%3E%3Cpath d='M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm8,13a24.28,24.28,0,0,0-.41-3.62c2.19.91,3.75,2.19,4.25,3.62Zm-2,0H17V10a20.9,20.9,0,0,1,4.34.63A20.26,20.26,0,0,1,22,15ZM17,8V4.19c1.43.5,2.71,2.06,3.62,4.25A24.28,24.28,0,0,0,17,8ZM15,4.19V8a24.28,24.28,0,0,0-3.62.41C12.29,6.25,13.57,4.69,15,4.19ZM15,10v5H10a20.26,20.26,0,0,1,.63-4.34A20.9,20.9,0,0,1,15,10ZM8,15H4.19c.5-1.43,2.06-2.71,4.25-3.62A24.28,24.28,0,0,0,8,15Zm0,2a24.28,24.28,0,0,0,.41,3.62C6.25,19.71,4.69,18.43,4.19,17Zm2,0h5v5a20.9,20.9,0,0,1-4.34-.63A20.26,20.26,0,0,1,10,17Zm5,7v3.84c-1.43-.5-2.71-2.06-3.62-4.25A24.28,24.28,0,0,0,15,24Zm2,3.84V24a24.28,24.28,0,0,0,3.62-.41C19.71,25.75,18.43,27.31,17,27.81ZM17,22V17h5a20.26,20.26,0,0,1-.63,4.34A20.9,20.9,0,0,1,17,22Zm7-5h3.84c-.5,1.43-2.06,2.71-4.25,3.62A24.28,24.28,0,0,0,24,17Zm2.87-6.12A15.11,15.11,0,0,0,23,9a15.11,15.11,0,0,0-1.85-3.87A12.12,12.12,0,0,1,26.84,10.88Zm-16-5.72A15.11,15.11,0,0,0,9,9a15.11,15.11,0,0,0-3.87,1.85A12.12,12.12,0,0,1,10.88,5.16Zm-5.72,16A15.11,15.11,0,0,0,9,23a15.11,15.11,0,0,0,1.85,3.87A12.12,12.12,0,0,1,5.16,21.12Zm16,5.72A15.11,15.11,0,0,0,23,23a15.11,15.11,0,0,0,3.87-1.85A12.12,12.12,0,0,1,21.12,26.84Z'/%3E%3C/g%3E%3C/svg%3E");
}
/* https://www.iconfinder.com/iconsets/core-ui-outlined */
#p-cactions {
--icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg id='Outlined' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle/%3E%3Cg id='Fill'%3E%3Cpath d='M16,13a3,3,0,1,0,3,3A3,3,0,0,0,16,13Zm0,4a1,1,0,1,1,1-1A1,1,0,0,1,16,17Z'/%3E%3Cpath d='M24,13a3,3,0,1,0,3,3A3,3,0,0,0,24,13Zm0,4a1,1,0,1,1,1-1A1,1,0,0,1,24,17Z'/%3E%3Cpath d='M8,13a3,3,0,1,0,3,3A3,3,0,0,0,8,13Zm0,4a1,1,0,1,1,1-1A1,1,0,0,1,8,17Z'/%3E%3C/g%3E%3C/svg%3E");
}
 
/* Fix elements overlaying the mobile nav */
.vector-body h6 {
.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, #wikiEditor-ui-toolbar { z-index: unset; }
font-size: var(--theme-heading-font-size-h6, 12px);
line-height: var(--theme-heading-line-height-h6, 20px);
font-weight: var(--theme-heading-font-weight-h1, bold);
margin-top: 7px;
margin-bottom: 7px;
}*/
 
.mw-changeslist-legend {
/* reduce heading font size: */
float: none;
@media (max-width: 900px) {
margin: 0 auto;
.mw-body h1, .mw-body-content h1 {
font-size: 24px;
line-height: 32px;
}
.mw-body-content h2 {
} /* screen and (max-width:720px) */
font-size: 20px;
@media screen and (max-width: 600px) {
line-height: 28px;
:root {
--layout-logo-scale: 0.5;
}
.vector-body h3 {
.vector-search-box-inner {
font-size: 18px;
line-heightwidth: 24px50vw;
max-width: 15em;
}
/* footer */
#footer #footer-icons {
float: none;
}
#footer #footer-info-copyright {
grid-column: l/span 2;
padding-right: 0;
padding-bottom: 40px;
}
#footer #footer-info-copyright img {
right: auto;
left: 0;
}
} /* screen and (max-width:600px) */
@media screen and (max-width: 450px) {
} /* screen and (max-width:450px) */
 
/***** Notification area *****/
.mw-notification-area-overlay {
position: fixed;
z-index: 9999;
}
 
/* section edit link */
.mw-editsectionnotification-area {
whitefont-spacesize: nowrap0.90em;
line-height: 1.7142857143;
color: var(--theme-content-text-mix-color);
}
 
/* Bubble notifications */
/***********************************************************************************************************
.mw-notification {
* Styles for "real" wiki page content. (in div.mw-parser-output)
color: var(--theme-text-color);
***********************************************************************************************************/
box-sizing: border-box;
/* external link icon. */
border: var(--theme-box-border-width) var(--theme-box-border-style) var(--theme-accent-color);
.link-https {
border-radius: var(--theme-box-border-radius);
padding-right: 0;
backdrop-filter: var(--theme-box-back-backdrop-filter);
background: none;
box-shadow: var(--theme-box-shadow);
background: var(--theme-background-color--secondary);
transform: none;
}
 
body.skin-vector .mw-notification, /* default */
/* custom icon color*/
#mw-notification-area .mw-notification.mw-notification-type-info {
.mw-parser-output a.external {
background-color: var(--theme-background-color--secondary);
background-position:center right;
border: solid 1px var(--theme-border-color);
background-repeat:no-repeat;
color: var(--theme-text-color);
background-image:url(https://commons.wiki.gg/images/2/25/External.svg);
}
background-size:10px;
#mw-notification-area .mw-notification.mw-notification-type-error {
padding-right:13px
background-color: rgba(154,0,0,0.8);
border: solid 1px #d33;
color: var(--theme-text-color);
}
#mw-notification-area .mw-notification.mw-notification-type-warn {
background-color: rgba(138,104,0,0.8);
border: solid 1px #fc3;
color: var(--theme-text-color);
}
#mw-notification-area .mw-notification.mw-notification-type-success {
background-color: rgba(1,140,48,0.8);
border: solid 1px rgb(1,210,48);
color: var(--theme-text-color);
}
 
/****** postedit notification ******/
.mw-parser-output > :first-child {
.postedit-container {
margin-top: 0;
top: 4em;
}
 
.mw-dismissable-notice {
position: fixed;
left: 2em;
right: 2em;
bottom: 4em;
background: var(--theme-site-background);
max-width: 500px;
min-height: 80px;
padding: 12px 8px;
box-sizing: border-box;
text-align: left;
border: 1px solid var(--theme-accent-color);
border-left-width: 8px;
backdrop-filter: var(--theme-box-back-backdrop-filter);
box-shadow: 0 0 10px rgba(127, 127, 127, 0.3);
}
.mw-dismissable-notice .mw-dismissable-notice-close {
font-size: 11px;
}
.mw-dismissable-notice .mw-dismissable-notice-body {
margin: 0px 40px 0px 24px;
font-size: 14px;
}
.mw-dismissable-notice #localNotice {
margin: 0;
}
 
 
/***********************************************************************************************************
Line 697 ⟶ 1,764:
 
.fl-scrolls div:before {
content: "  ";
}
 
Line 708 ⟶ 1,775:
 
.fl-scrolls-hidden div:before {
content: "   ";
}
 
Line 766 ⟶ 1,833:
}
 
/***********************************************************************************************************
/****** postedit notification ******/
* Styles for "real" wiki page content. (in div.mw-parser-output)
.postedit-container {
***********************************************************************************************************/
top: 4em;
/* external link icon. */
.link-https {
padding-right: 0;
background: none;
}
 
/* custom icon color*/
.mw-dismissable-notice {
.mw-parser-output a.external {
position: fixed;
background-position:center right;
left: 2em;
background-repeat:no-repeat;
right: 2em;
background-image:url(https://commons.wiki.gg/images/2/25/External.svg);
bottom: 4em;
background-size: var(--theme-site-background)10px;
padding-right:13px
max-width: 500px;
min-height: 80px;
padding: 12px 8px;
box-sizing: border-box;
text-align: left;
border: 1px solid var(--theme-accent-color);
border-left-width: 8px;
backdrop-filter: var(--theme-box-back-backdrop-filter);
box-shadow: 0 0 10px rgba(127, 127, 127, 0.3);
}
 
.mw-dismissable-notice .mw-dismissable-notice-close {
.mw-parser-output > :first-child {
font-size: 11px;
margin-top: 0;
}
 
.mw-dismissable-notice .mw-dismissable-notice-body {
/** headings **/
margin: 0px 40px 0px 24px;
.mw-body h1, .mw-body-content h1, .mw-body-content h2,
font-size: 14px;
.vector-body h3, .vector-body h4,
}
.vector-body h5, .vector-body h6 {/*
.mw-dismissable-notice #localNotice {
margin: 0;
color: var(--theme-heading-color);*/
font-family: var(--theme-heading-font-face, sans-serif);/*
line-height: var(--theme-heading-line-height, 1.25);
font-weight: var(--theme-heading-font-weight, normal);*/
}/*
 
.mw-body h1, .mw-body-content h1 {
font-size: var(--theme-heading-font-size-h1, 32px);
line-height: var(--theme-heading-line-height-h1, 40px);
font-weight: var(--theme-heading-font-weight-h1, var(--theme-heading-font-weight, normal));
}*/
 
.mw-body-content h2 {/*
font-size: var(--theme-heading-font-size-h2, 24px);
line-height: var(--theme-heading-line-height-h2, 30px);
font-weight: var(--theme-heading-font-weight-h2, var(--theme-heading-font-weight, normal));
margin-top: 18px;
margin-bottom: 9px;*/
border-bottom: 1px solid var(--theme-heading-rule-color-h2);/*
padding-bottom: 3px;*/
}
 
/*.vector-body h3 {
/***** Notification area *****/
font-size: var(--theme-heading-font-size-h3, 20px);
.mw-notification-area-overlay {
line-height: var(--theme-heading-line-height-h3, 26px);
position: fixed;
font-weight: var(--theme-heading-font-weight-h3, var(--theme-heading-font-weight, normal));
z-index: 9999;
margin-top: 14px;
margin-bottom: 7px;
}
 
.vector-body h4 {
.mw-notification-area {
font-size: 0.90emvar(--theme-heading-font-size-h4, 16px);
line-height: 1.7142857143var(--theme-heading-line-height-h4, 22px);
font-weight: var(--theme-heading-font-weight-h4, var(--theme-heading-font-weight, normal));
margin-top: 14px;
margin-bottom: 7px;
}
 
.vector-body h5 {
/* Bubble notifications */
font-size: var(--theme-heading-font-size-h5, 14px);
.mw-notification {
colorline-height: var(--theme-textheading-colorline-height-h5, 22px);
font-weight: var(--theme-heading-font-weight-h5, bold);
box-sizing: border-box;
margin-top: 10px;
border: var(--theme-box-border-width) var(--theme-box-border-style) var(--theme-accent-color);
margin-bottom: 7px;
border-radius: var(--theme-box-border-radius);
backdrop-filter: var(--theme-box-back-backdrop-filter);
box-shadow: var(--theme-box-shadow);
background: var(--theme-background-color--secondary);
transform: none;
}
 
body.skin-vector .mw-notification, /*body defaulth6 */{
font-size: var(--theme-heading-font-size-h6, 12px);
#mw-notification-area .mw-notification.mw-notification-type-info {
backgroundline-colorheight: var(--theme-backgroundheading-colorline-height-secondaryh6, 20px);
borderfont-weight: solid 1px var(--theme-borderheading-colorfont-weight-h1, bold);
margin-top: 7px;
color: var(--theme-text-color);
margin-bottom: 7px;
}*/
 
/* reduce heading font size: */
@media (max-width: 900px) {
.mw-body h1, .mw-body-content h1 {
font-size: 24px;
line-height: 32px;
}
.mw-body-content h2 {
font-size: 20px;
line-height: 28px;
}
.vector-body h3 {
font-size: 18px;
line-height: 24px;
}
}
/* section edit link */
#mw-notification-area .mw-notification.mw-notification-type-error {
.mw-editsection {
background-color: rgba(154,0,0,0.8);
white-space: nowrap;
border: solid 1px #d33;
color: var(--theme-content-text-mix-color);
}
 
#mw-notification-area .mw-notification.mw-notification-type-warn {
/***********************************************************************************************************
background-color: rgba(138,104,0,0.8);
* common style for content box
border: solid 1px #fc3;
***********************************************************************************************************/
color: var(--theme-text-color);
.fullwidth, .full-width {
width: 100%;
}
 
#mw-notification-area .mw-notification.mw-notification-type-success {
.nowrap {
background-color: rgba(1,140,48,0.8);
white-space: nowrap;
border: solid 1px rgb(1,210,48);
color: var(--theme-text-color);
}
 
/* ".center" has width=100% rule, we don't want it, so use a different class name. */
/****** indicators ******/
.aligncenter,
.mw-indicators {
.align-center {
position: absolute;
text-align: center;
right: 2rem;
margin-top: 5px;
}
 
.alignleft,
/* Footer icons */
.align-left {
html.view-dark #footer #footer-icons a:has([data-theme="dark"]) {
text-align: left;
background-color: var(--theme-background-color--secondary);
border-color: var(--theme-border-color);
}
 
.alignright,
/**** #footer (copyright info) ****/
.align-right {
#footer {
text-align: right;
background: var(--theme-site-background);
padding: 16px 24px;
border-radius: 0 0 var(--theme-box-border-radius) var(--theme-box-border-radius);
position: relative;
z-index: 0; /* covered by content */
font-size: 12px;
}
 
/* clear fix for float block */
.mw-footer li {
.clearfix {
color: var(--theme-content-text-mix-color);
*zoom: 1;
}
 
.clearfix::before,
#footer a {
.clearfix::after {
color: var(--theme-link-color);
content: " ";
display: table;
}
 
.clearfix::after {
#footer a:hover {
clear: both;
color: var(--theme-link-color-hover);
}
 
/***********************************************************************************************************
#footer-info {
* css for pages under MediaWiki or Special NS, or system widgets on template/module pages and so on
display: contents;
***********************************************************************************************************/
/********* ooui *********/
.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined,
.mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle {
background: none;
}
 
.oo-ui-textInputWidget .oo-ui-inputWidget-input {
#footer ul li {
color: var(--theme-text-color);
font-size: inherit;
line-height: 1.5;
padding: 0;
}
 
.oo-ui-tabOptionWidget {
#footer #footer-info-lastmod {
color: var(--theme-text-color);
margin-bottom: 1em;
}
 
.oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected {
#footer #footer-info-copyright {
color: var(--theme-text-color);
position: relative;
background: none;
padding-right: 100px;
}
 
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
#footer-places > * {
color: var(--theme-content-text-mix-color);
margin-top: 1em;
}
 
.oo-ui-tabSelectWidget-framed {
/*** search result suggestions ***/
background: none;
.suggestions {
background-color: var(--theme-dropdown-background);
box-sizing: border-box;
margin-top: 0;
box-shadow: var(--theme-box-shadow);
backdrop-filter: var(--theme-box-back-backdrop-filter);
}
 
.suggestions .suggestions-results,
/********* for File: NS pages *********/
.suggestions .suggestions-special {
#filetoc {
background: none;
}
 
.suggestions .suggestions-results {
/********* Special:Preferences *********/
border: var(--theme-dropdown-border);
#preferences .mw-htmlform-submit-buttons {
border-top: 0;
border-bottom background-color: var(--theme-rulebackground-color--secondary);
border-top: 1px solid var(--theme-border-color);
border-left: 1px solid var(--theme-border-color);
border-right: 1px solid var(--theme-border-color);
}
.mw-prefs-tabs-wrapper.oo-ui-panelLayout-framed, .mw-prefs-tabs > .oo-ui-menuLayout-content > .oo-ui-indexLayout-stackLayout > .oo-ui-tabPanelLayout { border-color: var(--theme-border-color); }
.suggestions .suggestions-results:empty {
 
border-bottom: 0;
/******* Search result page. (Special:Search) ******/
.mw-search-form-wrapper {
font-size: 1em;
}
 
.suggestions .suggestions-result, .suggestions .suggestions-special .special-query {
.mw-search-form-wrapper #mw-search-top-table {
color: var(--theme-text-color);
display: flex;
align-items: center;
}
 
.suggestions .suggestions-special .special-label {
.mw-search-form-wrapper #mw-search-top-table > div {
float: none;
}
 
.mw-search-form-wrapper .results-info {
color: var(--theme-content-text-mix-color);
font-size: 1em;
padding: 0 0 0 3em;
white-space: nowrap;
text-align: right;
flex: 1 1 auto;
}
 
.mw-search-form-wrapper .mw-search-visualclear {
.suggestions .suggestions-result {
paddingdisplay: 1px 4pxnone;
}
 
.suggestions .suggestions-special {
.mw-search-form-wrapper .mw-search-profile-tabs {
margin: 0;
border: 0;
padding: 2px 4px 4px;
margin: 1em 0;
border: 1px solid var(--theme-border-color);
border-top: 0;
border-radius: var(--theme-box-border-radius);
border-top-left-radius: 0;
border-top-right-radius: 0;
}
 
.suggestions a.mw-searchSuggest-link,
.mw-search-form-wrapper .mw-search-profile-tabs .search-types + div {
.suggestions a.mw-searchSuggest-link:hover,
display: none;
.suggestions a.mw-searchSuggest-link:active,
.suggestions a.mw-searchSuggest-link:focus {
color: var(--theme-text-color);
}
.suggestions .suggestions-result-current { background: var(--theme-highlight-background); }
 
.mw-search-form-wrapper .mw-search-profile-tabs .search-types {
/*** search form ***/
width: 100%;
#mw-head #p-search {
float: none;
/* navbar common border bottom */
padding: 0;
border-bottom: var(--theme-border-bottom-width) var(--theme-border-bottom-style) var(--theme-border-bottom-color);
/*background: var(--theme-background-shadow);*/
margin: 0;
align-self: stretch;
}
 
#mw-head #p-search form {
.mw-search-form-wrapper .mw-search-profile-tabs .search-types ul li {
margin: 0;
float: none;
display: inline-block;
vertical-align: middle;
}
 
#mw-head #p-search .vector-search-box-inner {
.mw-search-form-wrapper .mw-search-profile-tabs .search-types ul li.current {
border-width: 1px;
background:var(--theme-border-style: solidcolor);
border-color: var(--theme-border-color);
border-radius: 2px;
overflow: hidden;
}
#.mw-head #p-search-form-wrapper .vectormw-search-boxprofile-innertabs .search-types ul li.current:hovernth-child(1) {
border-colorradius: var(--theme-border-color-hover)0 2px 2px 0;
}
 
#mw-head #p-search .vector-search-box-inner:focus-within {
.mw-search-form-wrapper #mw-searchoptions {
border-color: var(--theme-border-color-focus);
padding: 1em;
box-shadow: var(--theme-shadow-focus);
}
#mw-head #p-search .vector-search-box-input {
border: 0;
color: var(--theme-text-color);
background: var(--theme-background-color-alt);
box-shadowborder: 1px solid var(--theme-shadowaccent-color);
border-radius: 4px;
height: 26px;
padding: 0 26px 0 4px;
}
 
#mw-head #p-search .vector-search-box-input:focus {
/* responsive tweak */
outline: 0;
@media screen and (max-width: 600px) {
z-index: 1100; /* .suggestions: 1099 */
.mw-search-form-wrapper #mw-search-top-table {
display: block;
}
.mw-search-form-wrapper .results-info {
margin-top: 1em;
}
.mw-search-form-wrapper .mw-search-profile-tabs .search-types ul li {
font-size: 12px;
}
}
 
#mw-head #p-search .vector-search-box-input:focus ~ .searchButton {
/* New inline in Special:History diffs */
z-index: 1101;
.oo-ui-toggleSwitchWidget.oo-ui-widget-enabled .oo-ui-toggleSwitchWidget-grip, .oo-ui-toggleSwitchWidget.oo-ui-widget-enabled.oo-ui-toggleWidget-on .oo-ui-toggleSwitchWidget-grip {
background-color: var(--theme-accent-color-bright);
border-color: var(--theme-accent-color);
}
.oo-ui-toggleSwitchWidget.oo-ui-widget-enabled.oo-ui-toggleWidget-on, .oo-ui-toggleSwitchWidget.oo-ui-widget-enabled:hover {
#mw-head #p-search .vector-search-box-input::placeholder {
background-color: var(--theme-content-text-mixaccent-color);
border-color: var(--theme-accent-color);
}
.oo-ui-toggleSwitchWidget.oo-ui-widget-enabled.oo-ui-toggleWidget-on:hover {
#mw-head #p-search .mw-searchButton {
background-color: var(--theme-accent-color);
opacity: 0;
border-color: var(--theme-accent-color-bright);
}
.oo-ui-toggleSwitchWidget.oo-ui-widget-enabled:focus {
#mw-head #p-search .searchButton {
border-color: var(--theme-accent-color-bright);
width: 26px;
box-shadow: inset 0 0 0 1px var(--theme-accent-color-bright);
min-width: unset;
opacity: 1;
background-image: none;
--mask: url("data:image/svg+xml,%3C%3Fxml version='1.0'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ctitle%3E search %3C/title%3E%3Cpath fill-rule='evenodd' d='M12.2 13.6a7 7 0 1 1 1.4-1.4l5.4 5.4-1.4 1.4-5.4-5.4zM13 8A5 5 0 1 1 3 8a5 5 0 0 1 10 0z'/%3E%3C/svg%3E%0A") no-repeat;
-webkit-mask: var(--mask);
mask: var(--mask);
-webkit-mask-size: 18px 18px;
mask-size: 18px 18px;
-webkit-mask-position: center center;
mask-position: center center;
background-color: var(--theme-link-color);
}
.oo-ui-toggleSwitchWidget.oo-ui-widget-enabled.oo-ui-toggleWidget-on:focus, .oo-ui-toggleSwitchWidget.oo-ui-widget-enabled:focus .oo-ui-toggleSwitchWidget-grip {
.theme-dark #simpleSearch .searchButton {
border-color: var(--theme-accent-color-bright);
filter: invert(0);
}
.oo-ui-toggleSwitchWidget.oo-ui-widget-enabled:hover .oo-ui-toggleSwitchWidget-grip {
#mw-head #p-search #searchform:hover .searchButton {
background-color: var(--theme-linkaccent-color-hover);
border-color: var(--theme-accent-color);
}
 
#mw-head #p-search .vector-search-box-input:focus ~ .searchButton {
.oo-ui-toggleSwitchWidget.oo-ui-widget-enabled.oo-ui-toggleWidget-on .oo-ui-toggleSwitchWidget-grip {
background-color: var(--theme-link-color-focus);
background-color: var(--theme-accent-color-bright);
border-color: #0006;
}
 
/* dropdownEdit conflict menu*/
.oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-notice {
#mw-head .vector-menu-dropdown .vector-menu-heading {
background-color: var(--theme-background-color--secondary);
/* tab label */
border-color: var(--theme-border-color);
position: relative;
display: flex;
align-items: center;
gap: 3px;
}
 
#mw-head .vector-menu-dropdown .vector-menu-heading::after {
.mw-twocolconflict-single-column.mw-twocolconflict-split-copy, .mw-twocolconflict-split-column.mw-twocolconflict-split-copy {
/* arrow icon */
border-color: var(--theme-border-color);
background: none;
background-color: var(--theme-background-color--secondary);
opacity: unset;
color: var(--theme-text-color);
content: "";
display: block;
width: 0;
height: 0;
border-style: solid;
border-color: var(--theme-icon-color) transparent;
border-width: 6px 5px 0;
margin-top: 2px;
}
.mw-twocolconflict-single-column .mw-twocolconflict-split-collapsed .mw-twocolconflict-split-fade, .mw-twocolconflict-split-column .mw-twocolconflict-split-collapsed .mw-twocolconflict-split-fade {
#mw-head .vector-menu-dropdown:hover .vector-menu-heading::after {
background-image: linear-gradient(transparent,var(--theme-background-color-alt));
/* .vector-menu-heading is covered by .vector-menu-checkbox, therefore we can't use .vector-menu-heading:hover::after */
border-color: var(--theme-icon-color-hover) transparent;
}
 
#mw-head .vector-menu-dropdown .vector-menu-content {
.mw-twocolconflict-single-column.mw-twocolconflict-split-unselected.mw-twocolconflict-split-delete, .mw-twocolconflict-split-column.mw-twocolconflict-split-unselected.mw-twocolconflict-split-delete {
/* dropdown list body */
border-color: var(--theme-dropdown-border-color);
border-radius: var(--theme-box-border-radius);
background: var(--theme-dropdown-background);
backdrop-filter: var(--theme-dropdown-backdrop-filter);
border-top-left-radius: 0;
border-top-right-radius: 0;
left: 0; /* reset */
z-index: 10;
}
.mw-twocolconflict-single-column, .mw-twocolconflict-split-column {
#mw-head .vector-menu-dropdown .vector-menu-content ul {
--theme-link background-color: var(--theme-textbackground-color--secondary);
--theme-link- color-visited: var(--theme-linktext-color);
--theme-link-color-hover: var(--theme-link-color);
padding: 4px;
}
 
#mw-head .vector-menu-dropdown .vector-menu-content li:hover {
.mw-twocolconflict-single-column.mw-twocolconflict-split-unselected ins.mw-twocolconflict-diffchange, .mw-twocolconflict-split-column.mw-twocolconflict-split-unselected ins.mw-twocolconflict-diffchange {
background: var(--theme-highlight-background);
background-color: var(--theme-border-color);
}
.mw-twocolconflict-single-column.mw-twocolconflict-split-unselected.mw-twocolconflict-split-add, .mw-twocolconflict-split-column.mw-twocolconflict-split-unselected.mw-twocolconflict-split-add {
#mw-head .vector-menu-dropdown .vector-menu-content li a {
border-color: var(--theme-border-color);
display: block;
padding: var(--dropdown-item-padding-y) var(--dropdown-item-padding-x);
text-decoration: none;
color: var(--theme-link-color);
}
.mw-twocolconflict-split-selection > div:nth-child(2) .oo-ui-radioInputWidget.oo-ui-widget-enabled [type="radio"]:checked + span, .mw-twocolconflict-split-selection > div:nth-child(2) .oo-ui-radioInputWidget.oo-ui-widget-enabled [type="radio"]:active + span, .mw-twocolconflict-split-selection > div:nth-child(2) .oo-ui-radioInputWidget [type="radio"] + span {
#mw-head .vector-menu-dropdown .vector-menu-content li a:visited {
colorbackground: var(--theme-linkbackground-color-visited-secondary);
}
.mw-twocolconflict-split-selection > div:nth-child(1) .oo-ui-radioInputWidget.oo-ui-widget-enabled [type="radio"]:checked + span, .mw-twocolconflict-split-selection > div:nth-child(1) .oo-ui-radioInputWidget.oo-ui-widget-enabled [type="radio"]:active + span, .mw-twocolconflict-split-selection > div:nth-child(1) .oo-ui-radioInputWidget [type="radio"] + span {
#mw-head .vector-menu-dropdown .vector-menu-content li a:hover {
colorbackground: var(--theme-linkbackground-color-hover-secondary);
}
.mw-twocolconflict-split-editable .mw-twocolconflict-split-editor, .mw-twocolconflict-split-difftext { color: var(--theme-text-color); }
 
/* ?action=history */
#pagehistory li {
border: dashed 1px var(--theme-border-color);
}
 
/* Wiki editor */
.wikiEditor-ui-toolbar .tabs span.tab a::before {
left: 5px;
}
 
/* ul and p in tables */
#content td ul:first-child, #content td p:first-child { margin-top: 0; }
#content td ul:last-child, #content td p:last-child { margin-bottom: 0; }
 
/* fieldset border, e.g. [[Special:Upload]] */
fieldset { border-color: var(--theme-accent-color); }
 
/* New Search - 2025 */
#mw-head #p-search .cdx-text-input__input {
border: solid 1px var(--theme-border-color);
border-bottom: 0;
}
.cdx-menu {
background-color: var(--theme-dropdown-background);
}
.cdx-menu-item--enabled.cdx-menu-item--highlighted {
background-color: var(--theme-highlight-background);
}
.cdx-search-result-title__match {
color: orange;
font-weight: 400;
}
@media screen and (max-width: 1365px) {
#mw-head #p-search .vector-search-box-input {
border: solid 1px var(--theme-border-color);
}
}
@media screen and (max-width: 961px) {
#simpleSearch.cdx-search-input {
width: 15em;
}
}
@media screen and (max-width: 760px) {
#simpleSearch.cdx-search-input {
width: 100%;
}
}

Revision as of 21:21, 2 August 2025

/* This is the vector skin CSS for Warcraft Wiki. Any skin-variant CSS should be defined in this file.
   
   Skin-invariant CSS:
   - [[MediaWiki:Common.css]]
   
   Additional files are loaded based on the user's selected skin theme:
   - [[MediaWiki:Theme-dark.css]] (default)
   - [[MediaWiki:Theme-light.css]]
   
   Overrides for white-on-white and similar contrast issues should be in the above theme files, not in this file.
   Further CSS files are loaded based on loaded gadgets and can be found in MediaWiki:Gadgets-definition
*/

/* skin error overrides */
.mw-htmlform-ooui .mw-htmlform-matrix tbody tr:nth-child( even ) td {
	background-color: inherit !important; /* avoids white-on-white in dark skin */
}
.mw-htmlform-ooui .mw-htmlform-matrix tbody tr:hover td {
	background-color: inherit !important; /* avoids white-on-white in dark skin */
}

/***********************************************************************************************************
 * css reset for browser default rules and MediaWiki internal rules
 ***********************************************************************************************************/
* {
	outline: 0;
}
	
table {
	white-space: unset; /* be set to `no-wrap` in MW internal css */
}
	
html {
	font-size: 16px; /* reset rem size */
}
	
body {
	overflow-y: unset;
}
	
pre {
	margin: 0;
}
	
h1, h2, h3, h4, h5, h6 {
	padding: 0;
	border: 0 solid transparent;
}
	
table {
	background-color: transparent; 
	display: table;
	white-space: unset;
}
@media (max-width: calc(639px)) {
    .mw-parser-output table {
		display: table;
    }
}

body, code {
	background: none;
}

/***********************************************************************************************************
 * theming vars.
 ***********************************************************************************************************/
:root {
	/*** top site logo ***/
	--theme-site-logo-image: url(/images/e/e6/Site-logo.png);
	--theme-site-logo-filter: none;
	--theme-site-logo-width: calc(400px * 0.4);
	--theme-site-logo-height: calc(400px * 0.4);
	/* common "box" style */
	--theme-box-back-backdrop-filter: none;
	--theme-box-border-radius: 4px;
	--theme-box-border-width: 1px;
	--theme-box-border-style: solid;
	--theme-box-shadow: 0 0 10px 0px rgba(0, 0, 0, 0.0);
	--theme-box-back-background: rgba(0,0,0,0.5);
	/* dropdown menu */
	--theme-dropdown-border: 1px solid var(--theme-dropdown-border-color);
	--theme-dropdown-backdrop-filter: none;
	/* icons */
	--icon-chevron-down:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='icon icon-tabler icon-tabler-chevron-down' width='24' height='24' viewBox='0 0 24 24' stroke-width='2' stroke='currentColor' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'%3E%3C/path%3E%3Cpath d='M6 9l6 6l6 -6'%3E%3C/path%3E%3C/svg%3E");
}

/* content box */
/* main article content box (without top heading) */
/* sidebar */
#mw-panel {
	--theme-link-color: var(--theme-link-color);
	--theme-link-color-visited: var(--theme-link-color);
	--theme-link-color-hover: var(--theme-link-color);
	--theme-border-width: 0;
	--theme-gap: 0;
}

#catlinks {
	--theme-box-border-radius: 0;
}

/* navbar */
#mw-head {
	--theme-link-color-visited: var(--theme-link-color);
	--theme-link-color-hover: var(--theme-link-color);
	--theme-tab-background: var(--theme-background-color-alt);
	--theme-tab-background-selected: var(--theme-background-color-alt);
	--theme-tab-color-selected: var(--theme-text-color);
	--theme-tab-color-selected-hover: var(--theme-tab-color-selected);
	--theme-tab-border-color: var(--theme-accent-color);
	--theme-tab-border-color-selected: var(--theme-accent-color);
}
#mw-head #p-search {
	--theme-border-color: var(--theme-accent-color);
	--theme-link-color: var(--theme-text-color);
	--theme-border-color-hover: var(--theme-icon-color-hover);
	--theme-border-color-focus: var(--theme-border-color-hover);
	--theme-shadow: none;
	--theme-shadow-focus: var(--theme-box-shadow);
}

/* search result suggestion */
body > .suggestions {
	--theme-border-color: var(--theme-accent-color);
	--theme-rule-color: var(--theme-border-color);
	--theme-link-color: var(--theme-text-color);
	--theme-link-color-visited: var(--theme-text-color);
	--theme-link-color-hover: var(--theme-text-color);
}

/* gallery and thumbs */
.gallery {
	--theme-gap-x: 6px;
	--theme-gap-y: 6px;
}
ul.gallery, li.gallerybox {
	margin-left: 0;
}
ul.mw-gallery-traditional li.gallerybox .thumb {
	background: var(--theme-background-color);
	border-color: var(--theme-border-color);
}
.thumb {
	--theme-box-border-radius: 0;
}
.thumb {
	background-color: var(--theme-background-color);
	border: solid 1px var(--theme-border-color);
	padding: 3px;
	padding-bottom: 0;
}
.thumb .thumbimage { width: 100%; height: 100%; }

/***********************************************************************************************************
 * base css styles for both interface and content box: font, color, etc.
 ***********************************************************************************************************/
/** Font **/
html, body {
	font-family: sans-serif;
	color: var(--theme-text-color);
}

html {
	background: var(--theme-site-background);
}

body {
	font-size: 14px;
	line-height: 1.5;
}

ul, ol {
	margin: 2px 0 2px 1.5em;
}

li {
	margin: 0 0 2px 0;
}

pre, code, .mw-code {
	color: var(--theme-text-color);
	border: 1px solid var(--theme-border-color);
	background-color: var(--theme-background-color);
}

code {
	border-radius: 2px;
	padding: 1px 4px;
}

/** link color **/
body a, body a.external, body a.extiw, .mw-parser-output a.external, .mw-parser-output a.extiw, div#content a[title^="Intersection:"] {
	text-decoration: none;
	color: var(--theme-link-color);
}
body a:visited, body a.external:visited, body a.extiw:visited, .mw-parser-output a.external:visited, .mw-parser-output a.extiw:visited, div#content a[title^="Intersection:"]:visited {
	color: var(--theme-link-color-visited);
}
body a:hover, body a:active, body a.external:hover, body a.external:active, body a.extiw:hover, body a.extiw:active, .mw-parser-output a.external:hover, .mw-parser-output a.external:active, .mw-parser-output a.extiw:hover, .mw-parser-output a.extiw:active,
div#content a[title^="Intersection:"]:active, div#content a[title^="Intersection:"]:hover {
	text-decoration: underline;
	color: var(--theme-link-color-hover);
}
body a.selflink, body a.selflink:hover, body a.selflink:active {
	/* Self-links aren't real links, they're not clickable.
	 * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive.
	 * We should not use :not(.selflink) since it increases the priority and makes it difficult to override
	 * link styles for certain elements (e.g. in wiki.gg header).
	 */
	text-decoration: none;
	color: inherit;
}
body a.new, body a.new:hover, body a.new:visited {
	/** red link **/
	/* we don't really need to mark you have "visited" an inexistent page */
	color: var(--theme-link-color-redlink);
}

/*********************************************************************************************************/
/* Removes VisualEdit button */
#ca-ve-edit {
	display: none;
}

/* Text color */
.i .note,
.note-text {
	color: var(--theme-content-text-mix-color);
}

em {
	color: var(--theme-content-text-mix-color);
}

.pixel img, .pixel,
#mw-imagepage-section-filehistory img {
	image-rendering: pixelated; /*for chrome*/
	image-rendering: crisp-edges; /*for firefox*/
}

.small {
	font-size: 85%;
}

.fullwidth, .full-width {
	width: 100%;
}

.nowrap {
	white-space: nowrap;
}

/* ".center" has width=100% rule, we don't want it, so use a different class name. */
.aligncenter,
.align-center {
	text-align: center;
}

.alignleft,
.align-left {
	text-align: left;
}

.alignright,
.align-right {
	text-align: right;
}

/* clear fix for float block */
.clearfix {
	*zoom: 1;
}

.clearfix::before,
.clearfix::after {
	content: " ";
	display: table;
}

.clearfix::after {
	clear: both;
}

/* References smaller text than main */
.references {
	font-size: 90%;
}

/* Larger font for Module: code display (default is smaller than other code pages) */
pre.lua.source-lua {
	font-size: 14px !important;
}

/* Facilitate inline scary transclusion */
.scary-transclusion p, .scary-transclusion .mw-parser-output {
	display: inline;
}

/* hide last empty paragraph at the end */
div.mw-parser-output > p:last-child > br:only-child {
	display: none;
}

/* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */
.apihelp-parameters dd:empty::before {
	content: " ";
}

.block {
	display: block;
}

.inline {
	display: inline;
}

.inline-block {
	display: inline-block;
}

hr.space {
	height: 4px;
	background: none;
	border: 0;
}

.page-content .vertical-align-top * {
	vertical-align: top;
}

.page-content .vertical-align-bottom * {
	vertical-align: bottom;
}

/* Drowning Table No Border */
.drowning-table-no-border {
	border: none;
}

/* Gadget description length */
.oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header,
.oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body {
	max-width: unset;
}

/* Box at the top of all pages when the user has a new message on their User_talk: page */
.usermessage {
	box-sizing: border-box;
	border: var(--theme-box-border-width) var(--theme-box-border-style) var(--theme-accent-color);
	border-radius: var(--theme-box-border-radius);
	backdrop-filter: var(--theme-box-back-backdrop-filter);
	box-shadow: var(--theme-box-shadow);
	background: var(--theme-background-color--secondary);
}

/***********************************************************************************************************
 * interface layout and styles for widgets outside of content box
 ***********************************************************************************************************/
:root {
	--layout-topbar-height: 35px; /* height of wiki.gg topbar */
	--layout-sidebar-width: 196px; /* width of side navbar, without gap */
	--layout-sidespace: 12px; /* whitespace width on most left and most right */
	--layout-box-gap: 8px;
	--layout-logo-scale: 1;
	--layout-logo-width: calc(var(--theme-site-logo-width) * var(--layout-logo-scale));
	--layout-logo-height: calc(var(--theme-site-logo-height) * var(--layout-logo-scale));
	--layout-logo-box-height: calc(var(--layout-logo-height) + var(--layout-box-gap) * 2);
	--dropdown-item-padding-x: 12px;
	--dropdown-item-padding-y: 4px;
}

/**** Main Layout START ***********************************************************/
/**
 * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout
 */
html, body {
	min-height: 100%;
}

html {
	height: 100%;
	scroll-padding-top: calc(var(--layout-topbar-height) + 10px);
}

body {
	height: auto;
}

/*** main grid container ***/
body {
	/* self */
	box-sizing: border-box;
	/* grid */
	display: grid;
	grid-template-columns: [body-left] var(--layout-sidespace) [aside-left] var(--layout-sidebar-width) [aside-right nav-left content-left footer-left] minmax(0, 1fr) [nav-right content-right footer-right] var(--layout-sidespace) [body-right];
	grid-template-rows: [body-start] var(--layout-topbar-height) [page-start logo-start] var(--layout-logo-box-height) [logo-end nav-start aside-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [aside-end page-end] 0fr [body-end];
	gap: 0 var(--layout-box-gap);
}

/*** grid items ***/
/* Flatten DOM structure. Therefore we have following grid items under body grid container:
 * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer.
 */
body > .content-wrapper,
#mw-navigation {
	display: contents;
}

/** unused, hide them **/
#mw-head-base,
#mw-navigation > h2 {
	display: none;
}

/** side nav bar **/
#mw-panel {
	grid-column: aside-left/aside-right;
	grid-row: aside-start/aside-end;
	float: none;
	width: unset;
	padding: 0;
}

/** nav **/
#mw-head {
	grid-column: nav-left/nav-right;
	grid-row: nav-start/nav-end;
}

/** content **/
.mw-body {
	grid-column: content-left/content-right;
	grid-row: content-start/content-end;
}

/* For some page such as api.php, .mw-body is the only child, so take up all space. */
.mw-body:first-child {
	grid-column: body-left/body-right;
	grid-row: page-start/page-end;
}

/** #footer: content footer **/
#footer {
	grid-column: footer-left/footer-right;
	grid-row: footer-start/footer-end;
	margin: 0;
	z-index: 0;
}

/** used to gen box shadow for main box (nav + content + #footer) **/
#mw-page-base {
	grid-column: content-left/content-right;
	grid-row: nav-start/footer-end;
	height: 100%;
}

/** wiki.gg footer bar **/
body > footer {
	grid-column: body-left/body-right;
	grid-row: page-end/body-end;
}

/*** logo block. It is absolute position ***/
#p-logo {
	position: absolute;
	width: 100%;
	height: auto;
	left: 0;
	top: var(--layout-topbar-height);
	background: var(--theme-site-logo-image) center center/var(--layout-logo-width) auto no-repeat;
	margin-top: var(--layout-box-gap);
	margin-bottom: 0.5em;
	display: flex;
	align-items: center;
	justify-content: center;
	filter: var(--theme-site-logo-filter);
}

/* use logo image as <a>'s background will sometime flicker when hovered on Firefox,
 * I still don't know why, but move background to #p-logo can avoid this issue.
 */
#p-logo .mw-wiki-logo {
	width: var(--layout-logo-width);
	height: var(--layout-logo-height);
	margin: auto;
	background: none; /* logo flicker fix */
}

/**** Main Layout END ***********************************************************/

/********* side panel START *********/
#mw-panel {
	--list-body-font-size: 14px;
	--list-body-padding-x: 6px;
	--list-body-padding-y: 3px;
}

#mw-panel a {
	text-decoration: none;
}

/* section box */
#mw-panel .portal {
	margin: 0 0 var(--layout-box-gap) 0;
	padding: 0;
	box-sizing: border-box;
	border: var(--theme-box-border-width) var(--theme-box-border-style) var(--theme-accent-color);
	border-radius: var(--theme-box-border-radius);
	backdrop-filter: var(--theme-box-back-backdrop-filter);
	box-shadow: none;/*var(--theme-box-shadow);*/
	background: var(--theme-background-color);/*transparent;*/
}
#mw-panel .portal .vector-menu-heading {
	/* section heading */
	background: none;
	margin: 0;
	padding: 6px 10px;
	font-size: 16px;
	line-height: 18px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: var(--theme-heading-color);
}

/* show the heading of first section */
#mw-panel #p-logo + .portal .vector-menu-heading {
	display: flex;
}

/* arrow icon */
#mw-panel .mw-portlet .vector-menu-heading::after {
	content: "";
	display: block;
	pointer-events: none;
	width: 15px;
	height: 15px;
	margin-top: 1px;
	--mask: var(--icon-chevron-down) no-repeat;
	-webkit-mask: var(--mask);
	mask: var(--mask);
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
	-webkit-mask-position: center center;
	mask-position: center center;
	background-color: var(--theme-accent-color-bright);
	transform: scaleY(-1);
}
#mw-panel .mw-portlet.collapsed .vector-menu-heading::after {
	transform: none;
}
#mw-panel .mw-portlet:hover .vector-menu-heading::after {
	background-color: var(--theme-accent-color);
}

/* list body */
#mw-panel .portal .body {
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	border-top: var(--theme-border-width) solid var(--theme-border-color);
}
#mw-panel .portal .body ul {
	padding: var(--theme-gap) 4px 4px;
}
#mw-panel .portal .body li {
	margin: 0;
	padding: 0;
	font-size: var(--list-body-font-size);
	line-height: inherit;
}
#mw-panel .portal .body li:hover {
	background: var(--theme-highlight-background);
}
#mw-panel .portal .body li a {
	display: block;
	padding: var(--list-body-padding-y) var(--list-body-padding-x);
	color: var(--theme-link-color);
}
#mw-panel .portal .body li a:visited {
	color: var(--theme-link-color-visited);
}
#mw-panel .portal .body li a:hover {
	color: var(--theme-link-color-hover);
}

/* "Atom" RSS Feed */
#mw-panel .portal .body li a.feedlink {
	text-indent: calc(var(--list-body-font-size) + 2px);
	background-position: var(--list-body-padding-x) center; /* align icon with other text */
}

/********* side panel END *********/

/********* main content box *********/
/****** navbar (#mw-head) ******/
/* reset */
#mw-head * {
	float: unset;
	font-size: unset;
	line-height: unset;
}

/* tabs layout */
#mw-head {
	--layout-padding: 12px;
	--layout-gap: 6px;
	--tab-padding-x: 12px;
	--tab-padding-y: 5px;
	--icon-size: 1em;
	padding: var(--layout-padding) 0 0 0;
	background: var(--theme-site-background);
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: stretch;
}
#mw-head #left-navigation, #mw-head #right-navigation {
	float: none;
	flex: 1 1 auto;
	margin: 0;
	display: flex;
	align-items: flex-end;
}
#mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after {
	content: "";
	display: block;
	height: 100%;
	border-bottom: var(--theme-border-bottom-width) var(--theme-border-bottom-style) var(--theme-border-bottom-color);
	background: none;
}
#mw-head #left-navigation {
	justify-content: flex-start;
}
#mw-head #right-navigation {
	justify-content: flex-end;
}
#mw-head #left-navigation::before, #mw-head #right-navigation::after {
	flex: 0 0 var(--layout-padding);
}
#mw-head #left-navigation::after, #mw-head #right-navigation::before {
	flex: 1 1 auto;
}

/*** tabs of navbar ***/
/* reset */
#mw-head .vector-menu,
#mw-head .vector-menu * {
	background: none;
}

/* tabs list */
#mw-head .vector-menu-tabs {
	height: unset;
	padding: unset;
}
#mw-head .vector-menu-tabs .vector-menu-content-list {
	display: flex;
	align-items: flex-end;
}

/* tab */
#mw-head {
	--theme-tab-border-style: solid;
	--theme-tab-border-width: 1px;
	--theme-border-bottom-style: solid;
	--theme-border-bottom-width: 1px;
	--theme-border-bottom-color: var(--theme-tab-border-color-selected);
	--theme-border-bottom-color-selected: transparent;
}
#mw-head .vector-menu-tabs .mw-list-item,
#mw-head .vector-menu-dropdown {
	/* outer box */
	background: var(--theme-tab-background);
	border-bottom: var(--theme-border-bottom-width) var(--theme-border-bottom-style) var(--theme-border-bottom-color);
	border-radius: var(--theme-box-border-radius);
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
	position: relative;
	margin-right: var(--layout-gap); /* make space for gap */
}
#mw-head .vector-menu-tabs .mw-list-item::after,
#mw-head .vector-menu-dropdown::after {
	/* gap */
	content: "";
	display: block;
	width: var(--layout-gap);
	height: 100%;
	border-bottom: var(--theme-border-bottom-width) var(--theme-border-bottom-style) var(--theme-border-bottom-color);
	position: absolute;
	left: 100%;
	bottom: calc(0px - var(--theme-border-bottom-width));
	background: var(--theme-background-shadow);
}
#mw-head .vector-menu-tabs .mw-list-item a,
#mw-head .vector-menu-dropdown .vector-menu-heading {
	/* inner box */
	height: auto;
	margin: 0;
	padding: var(--tab-padding-y) var(--tab-padding-x);
	border: var(--theme-tab-border-width) var(--theme-tab-border-style) var(--theme-tab-border-color);
	border-bottom: 0;
	border-radius: var(--theme-box-border-radius);
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
	color: var(--theme-link-color);
	background: var(--theme-background-shadow);
}
#mw-head .vector-menu-tabs .mw-list-item a:hover,
#mw-head .vector-menu-dropdown .vector-menu-heading:hover {
	color: var(--theme-link-color-hover);
}
#mw-head .vector-menu-tabs .mw-list-item a.new,
#mw-head .vector-menu-dropdown .vector-menu-heading.new {
	color: var(--theme-link-color-redlink);
}
#mw-head .vector-menu-tabs .mw-list-item.selected {
	/* outer box: selected */
	background: var(--theme-tab-background-selected);
	border: var(--theme-tab-border-width) var(--theme-tab-border-style) var(--theme-tab-border-color-selected);
	border-bottom: 0;
	--theme-link-color: var(--theme-tab-color-selected);
	--theme-link-color-hover: var(--theme-tab-color-selected-hover);
	--theme-icon-color: var(--theme-tab-color-selected);
	--theme-icon-color-hover: var(--theme-tab-color-selected-hover);
}
#mw-head .vector-menu-tabs .mw-list-item.selected:after {
	/* gap */
	bottom: 0;
	padding-left: var(--theme-tab-border-width); /* x-position offset */
}
#mw-head .vector-menu-tabs .mw-list-item.selected a {
	/* inner box: selected */
	border: 0;
	border-bottom: var(--theme-border-bottom-width) var(--theme-border-bottom-style) var(--theme-border-bottom-color-selected);
	background: none;
	color: var(--theme-tab-color-selected);
}

/* dropdown menu*/
#mw-head .vector-menu-dropdown .vector-menu-heading {
	/* tab label */
	position: relative;
	display: flex;
	align-items: center;
	gap: 3px;
}
#mw-head .vector-menu-dropdown .vector-menu-heading::after {
	/* arrow icon */
	background: none;
	opacity: unset;
	content: "";
	display: block;
	width: 0;
	height: 0;
	border-style: solid;
	border-color: var(--theme-icon-color) transparent;
	border-width: 6px 5px 0;
	margin-top: 2px;
}
#mw-head .vector-menu-dropdown:hover .vector-menu-heading::after {
	/* .vector-menu-heading is covered by .vector-menu-checkbox, therefore we can't use .vector-menu-heading:hover::after */
	border-color: var(--theme-icon-color-hover) transparent;
}
#mw-head .vector-menu-dropdown .vector-menu-content {
	/* dropdown list body */
	border: var(--theme-dropdown-border);
	border-radius: var(--theme-box-border-radius);
	background: var(--theme-dropdown-background);
	backdrop-filter: var(--theme-dropdown-backdrop-filter);
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	left: 0; /* reset */
	z-index: 10;
}
#mw-head .vector-menu-dropdown .vector-menu-content ul {
	--theme-link-color: var(--theme-text-color);
	--theme-link-color-visited: var(--theme-link-color);
	--theme-link-color-hover: var(--theme-link-color);
	padding: 4px;
}
#mw-head .vector-menu-dropdown .vector-menu-content li:hover {
	background: var(--theme-highlight-background);
}
#mw-head .vector-menu-dropdown .vector-menu-content li a {
	display: block;
	padding: var(--dropdown-item-padding-y) var(--dropdown-item-padding-x);
	text-decoration: none;
	color: var(--theme-link-color);
}
#mw-head .vector-menu-dropdown .vector-menu-content li a:visited {
	color: var(--theme-link-color-visited);
}
#mw-head .vector-menu-dropdown .vector-menu-content li a:hover {
	color: var(--theme-link-color-hover);
}

/* watch/unwatch star */
#mw-head .vector-menu-tabs .mw-watchlink.icon a {
	--theme-link-color-hover: var(--theme-icon-color-hover);
	width: 1.5em; /* same as line height */
	height: 1.5em;
	box-sizing: content-box;
	padding: var(--tab-padding-y);
	color: transparent; /**<< for watch/unwatch, the text of <a> will be plain 'watch'/'unwatch' without <span> after clicking. **/
}
#mw-head .vector-menu-tabs .mw-watchlink.icon a::before {
	content: "";
	display: block;
	position: unset;
	background-image: none;
	width: var(--icon-size);
	height: var(--icon-size);
	margin: calc((1.5em - var(--icon-size)) / 2);
	--mask: var(--icon) no-repeat;
	-webkit-mask: var(--mask);
	mask: var(--mask);
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
	-webkit-mask-position: center center;
	mask-position: center center;
	background-color: var(--theme-accent-color-bright);
}
#mw-head .vector-menu-tabs .mw-watchlink.icon a:hover::before {
	background-color: var(--theme-icon-color-hover);
}
#mw-head .vector-menu-tabs .mw-watchlink.icon a span {
	display: none;
}
#mw-head .vector-menu-tabs .mw-watchlink.icon a::before {
	transform-origin: 50% calc(var(--icon-size) / 2 * 1.125);
}
#mw-head .vector-menu-tabs #ca-watch.icon {
	/* line star */
	--icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg id='Outlined' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle/%3E%3Cg id='Fill'%3E%3Cpath d='M28.61,11.67H20l-2.66-8.2a1.39,1.39,0,0,0-2.64,0L12,11.67H3.39a1.39,1.39,0,0,0-.82,2.51l7,5.07L6.89,27.46a1.39,1.39,0,0,0,1.32,1.82A1.43,1.43,0,0,0,9,29l7-5.07L23,29a1.43,1.43,0,0,0,.81.27,1.39,1.39,0,0,0,1.32-1.82l-2.66-8.21,7-5.07A1.39,1.39,0,0,0,28.61,11.67Zm-7.34,6-1.17.86.44,1.38,2.09,6.41-5.45-4L16,21.46l-1.18.86-5.45,4,2.09-6.41.44-1.38-1.17-.86-5.45-4h8.19l.45-1.38L16,5.89l2.08,6.4.45,1.38h8.19Z'/%3E%3C/g%3E%3C/svg%3E");
}
#mw-head .vector-menu-tabs #ca-unwatch.icon {
	/* solid star */
	--icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg id='Outlined' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle/%3E%3Cg id='Fill'%3E%3Cpath d='M28.61,11.67H20l-2.66-8.2a1.39,1.39,0,0,0-2.64,0L12,11.67H3.39a1.39,1.39,0,0,0-.82,2.51l7,5.07L6.89,27.46a1.39,1.39,0,0,0,1.32,1.82A1.43,1.43,0,0,0,9,29l7-5.07L23,29a1.43,1.43,0,0,0,.81.27,1.39,1.39,0,0,0,1.32-1.82l-2.66-8.21,7-5.07A1.39,1.39,0,0,0,28.61,11.67Z'/%3E%3C/g%3E%3C/svg%3E");
}

/*** search form ***/
#mw-head #p-search {
	/* navbar common border bottom */
	border-bottom: var(--theme-border-bottom-width) var(--theme-border-bottom-style) var(--theme-border-bottom-color);
	/*background: var(--theme-background-shadow);*/
	margin: 0;
	align-self: stretch;
}
#mw-head #p-search form {
	margin: 0;
}
#mw-head #p-search .vector-search-box-inner {
	border-width: 1px;
	border-style: solid;
	border-color: var(--theme-border-color);
	border-radius: 2px;
}
#mw-head #p-search .vector-search-box-inner:hover {
	border-color: var(--theme-border-color-hover);
}
#mw-head #p-search .vector-search-box-inner:focus-within {
	border-color: var(--theme-border-color-focus);
	box-shadow: var(--theme-shadow-focus);
}
#mw-head #p-search .vector-search-box-input {
	border: 0;
	color: var(--theme-text-color);
	background: var(--theme-background-color-alt);
	box-shadow: var(--theme-shadow);
	height: 26px;
	padding: 0 26px 0 4px;
}
#mw-head #p-search .vector-search-box-input:focus {
	outline: 0;
	z-index: 1100; /* .suggestions: 1099 */
}
#mw-head #p-search .vector-search-box-input:focus ~ .searchButton {
	z-index: 1101;
}
#mw-head #p-search .vector-search-box-input::placeholder {
	color: var(--theme-content-text-mix-color);
}
#mw-head #p-search .mw-searchButton {
	opacity: 0;
}
#mw-head #p-search .searchButton {
	width: 26px;
	min-width: unset;
	opacity: 1;
	background-image: none;
	--mask: url("data:image/svg+xml,%3C%3Fxml version='1.0'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ctitle%3E search %3C/title%3E%3Cpath fill-rule='evenodd' d='M12.2 13.6a7 7 0 1 1 1.4-1.4l5.4 5.4-1.4 1.4-5.4-5.4zM13 8A5 5 0 1 1 3 8a5 5 0 0 1 10 0z'/%3E%3C/svg%3E%0A") no-repeat;
	-webkit-mask: var(--mask);
	mask: var(--mask);
	-webkit-mask-size: 18px 18px;
	mask-size: 18px 18px;
	-webkit-mask-position: center center;
	mask-position: center center;
	background-color: var(--theme-link-color);
}
.theme-dark #simpleSearch .searchButton {
	filter: invert(0);
}
#mw-head #p-search #searchform:hover .searchButton {
	background-color: var(--theme-link-color-hover);
}
#mw-head #p-search .vector-search-box-input:focus ~ .searchButton {
	background-color: var(--theme-link-color-focus);
}

/*** search result suggestions ***/
.suggestions {
	background-color: var(--theme-dropdown-background);
	box-sizing: border-box;
	margin-top: 0;
	box-shadow: var(--theme-box-shadow);
	backdrop-filter: var(--theme-box-back-backdrop-filter);
}
.suggestions .suggestions-results,
.suggestions .suggestions-special {
	background: none;
}
.suggestions .suggestions-results {
	border: var(--theme-dropdown-border);
	border-top: 0;
	border-bottom-color: var(--theme-rule-color);
}
.suggestions .suggestions-results:empty {
	border-bottom: 0;
}
.suggestions .suggestions-result, .suggestions .suggestions-special .special-query {
	color: var(--theme-text-color);
}
.suggestions .suggestions-special .special-label { 
	color: var(--theme-content-text-mix-color);
}

.suggestions .suggestions-result {
	padding: 1px 4px;
}
.suggestions .suggestions-special {
	margin: 0;
	padding: 2px 4px 4px;
	border: 1px solid var(--theme-border-color);
	border-top: 0;
	border-radius: var(--theme-box-border-radius);
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}
.suggestions a.mw-searchSuggest-link,
.suggestions a.mw-searchSuggest-link:hover,
.suggestions a.mw-searchSuggest-link:active,
.suggestions a.mw-searchSuggest-link:focus {
	color: var(--theme-text-color);
}
.suggestions .suggestions-result-current { background: var(--theme-highlight-background); }

/**** main content box ****/
/* font */
.vector-body {
	font-size: unset; /* reset */
	line-height: 1.7142857143;
}

/** layout **/
#content {
	color: var(--theme-text-color);
	padding: 0;
	display: flex;
	flex-direction: column;
	--theme-heading-rule-color-h1: var(--theme-border-color);
	--theme-heading-rule-color-h2: var(--theme-border-color);
	--layout-padding-x: 24px;
	--layout-padding-y: 16px;
}

div#content {
	border-color: var(--theme-accent-color);
}

.content-body {
	flex: 1 1 auto;
}
.content-body > main {
	align-self: stretch;
	padding: var(--layout-padding-y) var(--layout-padding-x);
}

#bodyContent {
	display: flex;
	flex-direction: column;
	position: unset;
}

/** main heading section **/
#firstHeading {
	overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */
	border-bottom: 1px solid var(--theme-heading-rule-color-h2);
}

/** the " < rootpage < page " crumb **/
#contentSub, #contentSub2 {
	margin: 0;
	color: var(--theme-content-text-mix-color);
	font-size: 12px;
	line-height: 20px;
}

#contentSub .subpages {
	color: transparent;
	line-height: 20px;
	font-size: 0;
}
#contentSub .subpages a {
	font-size: 12px;
	vertical-align: middle;
	display: inline-flex;
	align-items: center;
	padding-left: 4px;
}
#contentSub .subpages a::before {
	content: "";
	display: inline-block;
	height: 4px;
	width: 4px;
	border-color: var(--theme-icon-color);
	border-style: solid;
	border-width: 0 0 2px 2px;
	margin: 0 2px 0 0;
	transform: rotate(45deg);
}

/** content body box **/
#mw-content-text {
	flex: 1 1 auto;
}

/*** "category:" box ***/
#catlinks {
	background: var(--theme-background-color);
	border: 1px solid var(--theme-border-color);
	border-radius: var(--theme-box-border-radius);
	margin: var(--layout-padding-y) 0 0 0;
	padding: 0.5em 1em;
}

/*** ads ***/
div.games-showcase-header {
	margin: 0;
	padding: var(--layout-padding-y) var(--layout-padding-x) 0;
}

div.games-showcase-footer {
	margin: 0;
	padding: 0 var(--layout-padding-x) var(--layout-padding-y);
}

.content-body > .games-showcase-sidebar {
	margin: 0;
	padding: var(--layout-padding-y) var(--layout-padding-x) 0 0;
}

.games-showcase-header img, .games-showcase-footer img {
	height: 100%;
	width: auto;
	object-fit: contain;
}
@media screen and (max-width: 1100px) {
	.games-showcase-header img, .games-showcase-footer img {
		height: auto !important;
		width: 100% !important;
		object-fit: contain;
	}
}
@media screen and (max-width: 926px) {
	.games-showcase-header img, .games-showcase-footer img {
		object-position: 50%;
		height: 105px !important;
		width: 100% !important;
	}
}

aside.games-showcase-sidebar div.sidebar-showcase {
	padding: 0 0 var(--layout-padding-y) 0;
}


/**** #footer (copyright info) ****/
#footer {
	background: var(--theme-site-background);
	padding: 16px 24px;
	border-radius: 0 0 var(--theme-box-border-radius) var(--theme-box-border-radius);
	position: relative;
	z-index: 0; /* covered by content */
	font-size: 12px;
}

.mw-footer li {
	color: var(--theme-content-text-mix-color);
}

#footer a {
	color: var(--theme-link-color);
}

#footer a:hover {
	color: var(--theme-link-color-hover);
}

#footer-info {
	display: contents;
}

#footer ul li {
	font-size: inherit;
	line-height: 1.5;
	padding: 0;
}

#footer #footer-info-lastmod {
	margin-bottom: 1em;
}

#footer #footer-info-copyright {
	position: relative;
	padding-right: 100px;
}

#footer-places > * {
	margin-top: 1em;
}

/* Footer icons */
html.view-dark #footer #footer-icons a:has([data-theme="dark"]) {
	background-color: var(--theme-background-color--secondary);
	border-color: var(--theme-border-color);
}

/**** background box for nav+content+#footer ****/
#mw-page-base {
	box-sizing: border-box;
	border: var(--theme-box-border-width) var(--theme-box-border-style) var(--theme-accent-color);
	border-radius: var(--theme-box-border-radius);
	backdrop-filter: var(--theme-box-back-backdrop-filter);
	box-shadow: var(--theme-box-shadow);
	background: var(--theme-box-back-background);
	z-index: -1;
}

#mw-head, #content, #footer {
	box-sizing: border-box;
	background-clip: padding-box;
	border: 0 solid transparent;
	margin: 0;
}

#mw-head {
	border-bottom-width: 0;
}

#content {
	border: solid 1px var(--theme-border-color);
	border-top-width: 0;
}

#footer {
	border-top-width: 0;
}

/****** indicators ******/
.mw-indicators {
	position: absolute;
	right: 2rem;
	margin-top: 5px;
}

/****** responsive Layout ******/
@media screen and (max-width: 1800px) {
	:root {
		--layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */
	}
} /* screen and (max-width: 1800px) */
@media screen and (min-width: 1366px) {
	body {
		grid-template-rows: [body-start] var(--layout-topbar-height) [page-start logo-start] 0px [logo-end nav-start aside-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [aside-end page-end] 0fr [body-end];
	}
	#p-logo {
		position: initial;
		width: 100%;
		height: auto;
	}
	/*#mw-panel .portal #p-navigation-label.vector-menu-heading {
		display: none;
	}*/
	#mw-panel.collapsible-nav .portal .vector-menu-content ul li {
		padding: 0;
	}
	body.skin-vector #mw-panel {
		position:fixed;
		top:2.5em;
		max-height:calc(100vh - 2.5em);
		overflow-y:auto;
		-ms-overflow-style:none;
		scrollbar-width:none;
		width: 14em;
	}
    #mw-panel .portal.vector-menu {
        margin-left: 20px;
    }
	body.skin-vector #mw-panel::-webkit-scrollbar {
		display:none
	}
	#mw-panel .portal .body li:hover {
		background: none;
	}
	#mw-panel .portal .body li a:hover {
		text-decoration: underline;
	}
	#mw-panel .portal .vector-menu-heading {
		font-size: 14px;
	}
	#mw-panel .portal .body li {
		font-size: 13px;
	}
} /* screen and (min-width: 1366px) */
@media screen and (max-width: 1365px) {
	:root {
		--layout-logo-scale: 0.75;
		--theme-site-logo-image: url(/images/f/f5/Site-logo-horizontal.png); /*** top site logo ***/
		--theme-site-logo-width: calc(496px * 1.2);
		--theme-site-logo-height: calc(108px * 1.5);
	}
	
	/* change layout */
	body {
		grid-template-columns: [body-left] 0 [aside-left nav-left content-left footer-left] minmax(0, 1fr) [content-right aside-right nav-right footer-right] 0 [body-right];
		grid-template-rows: [body-start] var(--layout-topbar-height) [page-start logo-start] var(--layout-logo-box-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end];
	}
	
	/* re-style navbar */
	#mw-panel {
		display: flex;
		align-items: flex-end;
		box-sizing: border-box;
		border: 0/*var(--theme-box-border-width)*/ var(--theme-box-border-style) var(--theme-accent-color);
		border-radius: var(--theme-box-border-radius);
		backdrop-filter: var(--theme-box-back-backdrop-filter);
		box-shadow: var(--theme-box-shadow);
		background: var(--theme-site-background), var(--theme-box-back-background);
		padding: 0 var(--layout-box-gap);
		/* Make #p-logo be positioned relative to #mw-panel. By this way, we can safely apply filter/backdrop-filter on #mw-panel */
		position: relative;
		z-index: 8;
	}
	#mw-panel > div.portal:nth-last-child(1) {
		margin-bottom: 0;
	}
	#mw-panel .portal {
		background: none;
		box-shadow: none;
		border: 0;
		margin: 0;
		padding: 0;
		position: relative;
	}
	div#mw-panel .vector-menu  {
		background-color: var(--theme-site-background);
	}
	#mw-panel .portal .vector-menu-heading {
		margin: 0;
		transform: unset;
		padding: 9px 12px;
		border: 0;
		border-radius: 0;
		background: none;
	}
	#mw-panel .portal .vector-menu-heading::after {
		border-width: 6px 5px 0; /* change arrow direction */
		margin-left: 4px;
	}
	#mw-panel.collapsible-nav .portal.collapsed .vector-menu-heading,
	#mw-panel.collapsible-nav .portal .vector-menu-heading {
		background-image: none;
	}
	#mw-panel .portal.collapsed .vector-menu-heading::after {
		transform: none;
	}
	#mw-panel .portal .body {
		display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */
		position: absolute;
		left: 0;
		top: 100%;
		width: max-content;
		min-width: 8em;
		border: var(--theme-dropdown-border);
		border-radius: var(--theme-box-border-radius);
		background: var(--theme-dropdown-background);
		border-top-left-radius: 0;
		border-top-right-radius: 0;
	}
	#mw-panel .portal .body ul {
		padding: 4px;
	}
	#mw-panel .portal .body li a {
		padding: 6px 12px;
	}
	#mw-panel .mw-portlet.collapsed .vector-menu-heading::after,
	/*#mw-panel .portal.expanded .vector-menu-heading::after,*/
	#mw-panel .portal .vector-menu-heading::after {
		transform: scaleY(1);
	}
	/*#mw-panel .mw-portlet.collapsed:hover .vector-menu-heading::after,*/
	#mw-panel .portal.expanded .vector-menu-heading::after/*,
	#mw-panel .portal:hover .vector-menu-heading::after*/ {
		transform: scaleY(-1);
	}
	#mw-panel .portal.expanded .body/*, #mw-panel .portal:hover .body*/ {
		display: block !important;
	}
	#mw-panel.collapsible-nav .portal.first .vector-menu-heading { display: flex }
	
	/* search: move to sidebar nav box ("main nav bar") */
	#mw-head #p-search {
		padding: var(--layout-padding);
		border-bottom: 0;
		position: absolute;
		right: 0;
		top: calc(-43px - var(--theme-box-border-width) * 2); /* offset */
		z-index: 9;
	}
	
	.vector-search-box-inner {
		width: 20em;
		max-width: unset;
		min-width: unset;
	}
	
	#mw-head #right-navigation #p-cactions {
		margin-right: 0;
	}
	
	/* logo: smaller, and position relative to #mw-panel */
	#p-logo {
		background-size: calc(var(--theme-site-logo-width) * var(--layout-logo-scale)) auto;
		top: calc(0px - var(--layout-logo-box-height));
	}
	#p-logo .mw-wiki-logo {
		width: calc(var(--theme-site-logo-width) * var(--layout-logo-scale));
		height: calc(var(--theme-site-logo-height) * var(--layout-logo-scale));
	}
	
	/* "more" menu in #right-navigation */
	#mw-head #right-navigation .vector-menu-dropdown {
		margin-right: 0;
	}
	#mw-head #right-navigation .vector-menu-dropdown::after {
		display: none;
	}
	#mw-head #right-navigation .vector-menu-dropdown .vector-menu-content {
		left: auto;
		right: 0;
	}
	
}
@media screen and (max-width: 961px) {
	#p-logo {
		top: calc(0px - var(--layout-logo-box-height));
	}
	#simpleSearch {
		width: 100%;
        max-width: none;
	}
}
@media screen and (max-width: 900px) {
	/* change layout */
	body {
		grid-template-columns: [body-left aside-left nav-left content-left footer-left] minmax(0, 1fr) [content-right aside-right nav-right footer-right body-right];
	}
	
	#mw-page-base,
	#mw-panel,
	#mw-head, #content, #footer {
		border-radius: 0;
		border-left: 0;
		border-right: 0;
	}
	
	.mw-indicators {
		z-index: auto;
	}
	
	/* re-style navbar */
	#mw-panel {
		flex-wrap: wrap;
	}
	#mw-panel .portal {
		backdrop-filter: none;
		position: unset;
		flex: 0 0 auto;
	}
	#mw-panel .portal .vector-menu-heading {
		justify-content: center;
		white-space: nowrap;
	}
	#mw-panel .portal .body {
		left: 0;
		width: 100%;
		padding: 12px;
		box-sizing: border-box;
	}
	#mw-panel .portal .body ul {
		display: grid;
		grid-template-columns: repeat(auto-fit, var(--layout-sidebar-width));
		justify-content: center;
	}
	#mw-panel .portal .body li a {
		display: block;
	}
	
	
} /* screen and (max-width:900px) */
@media screen and (max-width: 760px) {
	:root {
		--layout-logo-scale: 0.5;
	}
	
	#p-logo {
		width: 100%;
		left: 0;
	}
	
	#mw-panel {
		box-shadow: var(--theme-box-shadow);
		display: block;
		height: calc(36px + var(--theme-box-border-width) * 2);
	}
	#mw-panel .portal {
		box-sizing: border-box;
		display: none;
		box-shadow: none;
		background: var(--theme-site-background);
		backdrop-filter: var(--theme-dropdown-backdrop-filter);
		border-left: var(--theme-dropdown-border);
		border-right: var(--theme-dropdown-border);
		margin: 0;
		border-radius: 0;
	}
	#mw-panel .portal .vector-menu-heading {
		padding: 0 12px 4px;
		border: 0;
		display: block;
		background: none;
	}
	#mw-panel .portal .vector-menu-heading::after {
		display: none;
	}
	#mw-panel .portal:hover .vector-menu-heading {
		background: none;
		/*color: var(--theme-heading-color);*/
		color: var(--theme-accent-color-bright);
	}
	#mw-panel .portal .body {
		display: block !important; /* !important is required, since there is inline-css from sidebar collapse/expand */
		position: unset;
		border: 0;
		background: none;
		backdrop-filter: none;
		padding: 4px 12px;
	}
	#mw-panel .portal .body ul {
		padding: 0;
		display: flex;
		flex-wrap: wrap;
		justify-content: unset;
	}
	#mw-panel .portal .body li a {
		padding: 4px 8px;
		white-space: nowrap;
	}
	#mw-panel .portal:last-child {
		padding-bottom: 12px;
		border-bottom: var(--theme-dropdown-border);
		border-radius: 0 0 var(--theme-box-border-radius) var(--theme-box-border-radius);
	}
	#mw-panel.collapsible-nav .portal.first .vector-menu-heading { display: none }
	#mw-panel .menu-toggle {
		--mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='icon icon-tabler icon-tabler-category-2' width='24' height='24' viewBox='0 0 24 24' stroke-width='2' stroke='currentColor' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'%3E%3C/path%3E%3Cpath d='M14 4h6v6h-6z'%3E%3C/path%3E%3Cpath d='M4 14h6v6h-6z'%3E%3C/path%3E%3Cpath d='M17 17m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0'%3E%3C/path%3E%3Cpath d='M7 7m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0'%3E%3C/path%3E%3C/svg%3E") no-repeat;
		-webkit-mask: var(--mask);
		mask: var(--mask);
		-webkit-mask-size: 100% 100%;
		mask-size: 100% 100%;
		-webkit-mask-position: center center;
		mask-position: center center;
		background-color: var(--theme-icon-color);
		cursor: pointer;
		display: block;
		flex: 0 0 auto;
		width: 24px;
		height: 24px;
		margin: 5px 12px;
	}
	#mw-panel .menu-toggle.expanded ~ .portal {
		display: block;
	}
	#mw-panel .menu-toggle + .portal {
		padding-top: 12px;
		border-top: var(--theme-dropdown-border);
	}
	
	#mw-head #p-search {
		box-shadow: none;
		padding: 0;
		top: calc(-31px - var(--theme-box-border-width) * 2); /* offset */
		left: auto;
		right: 12px;
		width: auto;
		z-index: 9;
		width: calc(100% - 6em);
	}
	
	.vector-search-box-inner {
		width: 100vw;
		max-width: 20em;
	}
	
	#content {
		--layout-padding-x: 12px;
		--layout-padding-y: 12px;
	}
	
	/* icon navbar tabs */
	#mw-head {
		top: unset; /* reset */
		--icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg fill='none' height='24' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h24v24H0z' fill='none' stroke='none'/%3E%3Cpath d='M4 4l4 16l4 -14l4 14l4 -16'/%3E%3C/svg%3E");
		--icon-size: 1.5em;
	}
	#mw-head .vector-menu-tabs .mw-list-item a,
	#mw-head .vector-menu-dropdown .vector-menu-heading {
		--theme-link-color-hover: var(--theme-icon-color-hover);
		width: 1.5em; /* same as line height */
		height: 1.5em;
		box-sizing: content-box;
		padding: var(--tab-padding-y);
		color: transparent; /**<< for watch/unwatch, the text of <a> will be plain 'watch'/'unwatch' without <span> after clicking. **/
	}
	#mw-head .vector-menu-tabs .mw-list-item a::before,
	#mw-head .vector-menu-dropdown .vector-menu-heading::before {
		content: "";
		display: block;
		position: unset;
		background-image: none;
		width: var(--icon-size);
		height: var(--icon-size);
		margin: calc((1.5em - var(--icon-size)) / 2);
		--mask: var(--icon) no-repeat;
		-webkit-mask: var(--mask);
		mask: var(--mask);
		-webkit-mask-size: 100% 100%;
		mask-size: 100% 100%;
		-webkit-mask-position: center center;
		mask-position: center center;
		background-color: var(--theme-icon-color);
	}
	#mw-head .vector-menu-tabs .mw-list-item a:hover::before,
	#mw-head .vector-menu-dropdown .vector-menu-heading:hover::before {
		background-color: var(--theme-icon-color-hover);
	}
	#mw-head .vector-menu-tabs .mw-list-item a span,
	#mw-head .vector-menu-dropdown .vector-menu-heading span {
		display: none;
	}
	#mw-head .vector-menu-dropdown .vector-menu-heading::after {
		display: none;
	}
	
	/* https://www.iconfinder.com/iconsets/core-ui-outlined */
	#ca-edit {
		--icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg id='Outlined' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle/%3E%3Cg id='Fill'%3E%3Cpath d='M29.12,6.05,26,2.88a3,3,0,0,0-4.24,0L6.29,18.29a3.06,3.06,0,0,0-.72,1.18L2.08,29.92l10.46-3.49a3.15,3.15,0,0,0,1.17-.72L29.12,10.29a3,3,0,0,0,0-4.24Zm-21,13.28,8.75-8.74,1.58,1.58L9.67,20.92ZM18.24,9.17l1.59-1.58,4.58,4.58-1.58,1.59ZM7.1,21.19l3.72,3.71L5.25,26.75Zm5.57,2.73-1.59-1.59,8.75-8.74,1.58,1.58Zm15-15-1.88,1.88L21.24,6.17l1.88-1.88A1,1,0,0,1,23.83,4a1,1,0,0,1,.71.29l3.17,3.18a1,1,0,0,1,.29.7A1,1,0,0,1,27.71,8.88Z'/%3E%3C/g%3E%3C/svg%3E");
	}
	
	/* https://www.iconfinder.com/iconsets/core-ui-outlined */
	#ca-view,
	#ca-view-foreign {
		--icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg id='Outlined' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle/%3E%3Cg id='Fill'%3E%3Cpath d='M30.89,15.54A17,17,0,0,0,16,6,17,17,0,0,0,1.11,15.54L.87,16l.24.46A17,17,0,0,0,16,26a17,17,0,0,0,14.89-9.54l.24-.46ZM24,16a8,8,0,1,1-8-8A8,8,0,0,1,24,16ZM3.14,16a16.47,16.47,0,0,1,4.14-4.89,10,10,0,0,0,0,9.78A16.47,16.47,0,0,1,3.14,16Zm21.58,4.89a10,10,0,0,0,0-9.78A16.47,16.47,0,0,1,28.86,16,16.47,16.47,0,0,1,24.72,20.89Z'/%3E%3Cpath d='M16,20a4,4,0,1,0-4-4A4,4,0,0,0,16,20Zm0-6a2,2,0,1,1-2,2A2,2,0,0,1,16,14Z'/%3E%3C/g%3E%3C/svg%3E");
	}
	
	/* https://www.iconfinder.com/iconsets/core-ui-outlined */
	#left-navigation li[id^=ca-nstab-] {
		--icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg id='Outlined' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle/%3E%3Cg id='Fill'%3E%3Cpolygon points='12 15 11 15 11 17 12 17 20 17 21 17 21 15 20 15 12 15'/%3E%3Cpolygon points='12 19 11 19 11 21 12 21 15 21 16 21 16 19 15 19 12 19'/%3E%3Cpath d='M20.41,3H5V26a3,3,0,0,0,3,3H24a3,3,0,0,0,3-3V9.59ZM20,5.41,24.59,10H21a1,1,0,0,1-1-1ZM24,27H8a1,1,0,0,1-1-1V5H18V9a3,3,0,0,0,3,3h4V26A1,1,0,0,1,24,27Z'/%3E%3C/g%3E%3C/svg%3E");
	}
	
	/* https://www.iconfinder.com/iconsets/core-ui-outlined */
	#ca-history {
		--icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg id='Outlined' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle/%3E%3Cg id='Fill'%3E%3Cpath d='M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z'/%3E%3Cpath d='M17,7H15v8.52a2,2,0,0,0,.75,1.56l4.63,3.7,1.24-1.56L17,15.52Z'/%3E%3C/g%3E%3C/svg%3E");
	}
	
	/* https://www.iconfinder.com/iconsets/core-ui-outlined */
	#ca-talk {
		--icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg id='Outlined' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle/%3E%3Cg id='Fill'%3E%3Cpath d='M26,12H24V6a3,3,0,0,0-3-3H6A3,3,0,0,0,3,6V24.41l5.12-5.12A1.05,1.05,0,0,1,8.83,19H12v3a3,3,0,0,0,3,3h8.17a1.05,1.05,0,0,1,.71.29L29,30.41V15A3,3,0,0,0,26,12ZM12,15v2H8.83a3,3,0,0,0-2.12.88L5,19.59V6A1,1,0,0,1,6,5H21a1,1,0,0,1,1,1v6H15A3,3,0,0,0,12,15ZM27,25.59l-1.71-1.71A3,3,0,0,0,23.17,23H15a1,1,0,0,1-1-1V15a1,1,0,0,1,1-1H26a1,1,0,0,1,1,1Z'/%3E%3C/g%3E%3C/svg%3E");
	}
	
	/* https://www.svgviewer.dev/s/434200/outlined-paper-doc */
	#t-contributions {
		--icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg enable-background='new 0 0 32 32' id='Stock_cut' version='1.1' viewBox='0 0 32 32' xml:space='preserve' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cdesc/%3E%3Cpath d='M27,12V5h-7v0 c0-2.209-1.791-4-4-4h0c-2.209,0-4,1.791-4,4v0H1v7h0c2.209,0,4,1.791,4,4v0c0,2.209-1.791,4-4,4h0v11h11v0c0-2.209,1.791-4,4-4h0 c2.209,0,4,1.791,4,4v0h7V20h0c2.209,0,4-1.791,4-4v0C31,13.791,29.209,12,27,12L27,12z' fill='none' stroke='%23000000' stroke-linejoin='round' stroke-miterlimit='10' stroke-width='2'/%3E%3C/svg%3E");
	}
	
	/* https://www.iconfinder.com/iconsets/core-ui-outlined */
	#ca-addsection {
		--icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg id='Outlined' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle/%3E%3Cg id='Fill'%3E%3Cpolygon points='29 15 17 15 17 3 15 3 15 15 3 15 3 17 15 17 15 28 17 28 17 17 29 17 29 15'/%3E%3C/g%3E%3C/svg%3E");
	}
	
	/* https://github.com/sschoger/heroicons-ui/ */
	#ca-viewsource {
		--icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath class='heroicon-ui' d='M20.59 12l-3.3-3.3a1 1 0 1 1 1.42-1.4l4 4a1 1 0 0 1 0 1.4l-4 4a1 1 0 0 1-1.42-1.4l3.3-3.3zM3.4 12l3.3 3.3a1 1 0 0 1-1.42 1.4l-4-4a1 1 0 0 1 0-1.4l4-4a1 1 0 0 1 1.42 1.4L3.4 12zm7.56 8.24a1 1 0 0 1-1.94-.48l4-16a1 1 0 1 1 1.94.48l-4 16z'/%3E%3C/svg%3E");
	}
	
	/* https://www.iconfinder.com/iconsets/core-ui-outlined */
	#p-variants {
		--icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg id='Outlined' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle/%3E%3Cg id='Fill'%3E%3Cpath d='M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm8,13a24.28,24.28,0,0,0-.41-3.62c2.19.91,3.75,2.19,4.25,3.62Zm-2,0H17V10a20.9,20.9,0,0,1,4.34.63A20.26,20.26,0,0,1,22,15ZM17,8V4.19c1.43.5,2.71,2.06,3.62,4.25A24.28,24.28,0,0,0,17,8ZM15,4.19V8a24.28,24.28,0,0,0-3.62.41C12.29,6.25,13.57,4.69,15,4.19ZM15,10v5H10a20.26,20.26,0,0,1,.63-4.34A20.9,20.9,0,0,1,15,10ZM8,15H4.19c.5-1.43,2.06-2.71,4.25-3.62A24.28,24.28,0,0,0,8,15Zm0,2a24.28,24.28,0,0,0,.41,3.62C6.25,19.71,4.69,18.43,4.19,17Zm2,0h5v5a20.9,20.9,0,0,1-4.34-.63A20.26,20.26,0,0,1,10,17Zm5,7v3.84c-1.43-.5-2.71-2.06-3.62-4.25A24.28,24.28,0,0,0,15,24Zm2,3.84V24a24.28,24.28,0,0,0,3.62-.41C19.71,25.75,18.43,27.31,17,27.81ZM17,22V17h5a20.26,20.26,0,0,1-.63,4.34A20.9,20.9,0,0,1,17,22Zm7-5h3.84c-.5,1.43-2.06,2.71-4.25,3.62A24.28,24.28,0,0,0,24,17Zm2.87-6.12A15.11,15.11,0,0,0,23,9a15.11,15.11,0,0,0-1.85-3.87A12.12,12.12,0,0,1,26.84,10.88Zm-16-5.72A15.11,15.11,0,0,0,9,9a15.11,15.11,0,0,0-3.87,1.85A12.12,12.12,0,0,1,10.88,5.16Zm-5.72,16A15.11,15.11,0,0,0,9,23a15.11,15.11,0,0,0,1.85,3.87A12.12,12.12,0,0,1,5.16,21.12Zm16,5.72A15.11,15.11,0,0,0,23,23a15.11,15.11,0,0,0,3.87-1.85A12.12,12.12,0,0,1,21.12,26.84Z'/%3E%3C/g%3E%3C/svg%3E");
	}
	
	/* https://www.iconfinder.com/iconsets/core-ui-outlined */
	#p-cactions {
		--icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg id='Outlined' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle/%3E%3Cg id='Fill'%3E%3Cpath d='M16,13a3,3,0,1,0,3,3A3,3,0,0,0,16,13Zm0,4a1,1,0,1,1,1-1A1,1,0,0,1,16,17Z'/%3E%3Cpath d='M24,13a3,3,0,1,0,3,3A3,3,0,0,0,24,13Zm0,4a1,1,0,1,1,1-1A1,1,0,0,1,24,17Z'/%3E%3Cpath d='M8,13a3,3,0,1,0,3,3A3,3,0,0,0,8,13Zm0,4a1,1,0,1,1,1-1A1,1,0,0,1,8,17Z'/%3E%3C/g%3E%3C/svg%3E");
	}

	/* Fix elements overlaying the mobile nav */
	.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, #wikiEditor-ui-toolbar { z-index: unset; }

	.mw-changeslist-legend {
		float: none;
		margin: 0 auto;
	}
	
} /* screen and (max-width:720px) */
@media screen and (max-width: 600px) {
	:root {
		--layout-logo-scale: 0.5;
	}
	
	.vector-search-box-inner {
		width: 50vw;
		max-width: 15em;
	}
	
	/* footer */
	#footer #footer-icons {
		float: none;
	}
	#footer #footer-info-copyright {
		grid-column: l/span 2;
		padding-right: 0;
		padding-bottom: 40px;
	}
	#footer #footer-info-copyright img {
		right: auto;
		left: 0;
	}
	
} /* screen and (max-width:600px) */
@media screen and (max-width: 450px) {
	
	
} /* screen and (max-width:450px) */

/***** Notification area *****/
.mw-notification-area-overlay {
	position: fixed;
	z-index: 9999;
}

.mw-notification-area {
	font-size: 0.90em;
	line-height: 1.7142857143;
}

/* Bubble notifications */
.mw-notification {
	color: var(--theme-text-color);
	box-sizing: border-box;
	border: var(--theme-box-border-width) var(--theme-box-border-style) var(--theme-accent-color);
	border-radius: var(--theme-box-border-radius);
	backdrop-filter: var(--theme-box-back-backdrop-filter);
	box-shadow: var(--theme-box-shadow);
	background: var(--theme-background-color--secondary);
	transform: none;
}

body.skin-vector .mw-notification, /* default */
#mw-notification-area .mw-notification.mw-notification-type-info {
	background-color: var(--theme-background-color--secondary);
	border: solid 1px var(--theme-border-color);
	color: var(--theme-text-color);
}
#mw-notification-area .mw-notification.mw-notification-type-error {
	background-color: rgba(154,0,0,0.8);
	border: solid 1px #d33;
	color: var(--theme-text-color);
}
#mw-notification-area .mw-notification.mw-notification-type-warn {
	background-color: rgba(138,104,0,0.8);
	border: solid 1px #fc3;
	color: var(--theme-text-color);
}
#mw-notification-area .mw-notification.mw-notification-type-success {
	background-color: rgba(1,140,48,0.8);
	border: solid 1px rgb(1,210,48);
	color: var(--theme-text-color);
}

/****** postedit notification ******/
.postedit-container {
	top: 4em;
}

.mw-dismissable-notice {
	position: fixed;
	left: 2em;
	right: 2em;
	bottom: 4em;
	background: var(--theme-site-background);
	max-width: 500px;
	min-height: 80px;
	padding: 12px 8px;
	box-sizing: border-box;
	text-align: left;
	border: 1px solid var(--theme-accent-color);
	border-left-width: 8px;
	backdrop-filter: var(--theme-box-back-backdrop-filter);
	box-shadow: 0 0 10px rgba(127, 127, 127, 0.3);
}
.mw-dismissable-notice .mw-dismissable-notice-close {
	font-size: 11px;
}
.mw-dismissable-notice .mw-dismissable-notice-body {
	margin: 0px 40px 0px 24px;
	font-size: 14px;
}
.mw-dismissable-notice #localNotice {
	margin: 0;
}


/***********************************************************************************************************
 * Over-width table floating-scroll
 ***********************************************************************************************************/
/*
css for floating-scroll v3.2.0
https://amphiluke.github.io/floating-scroll/
(c) 2022 Amphiluke
*/
.fl-scrolls {
	overflow: auto;
	position: fixed;
}

.fl-scrolls div {
	overflow: hidden;
	pointer-events: none;
}

.fl-scrolls div:before {
	content: " ";
}

.fl-scrolls, .fl-scrolls div {
	font-size: 1px;
	line-height: 0;
	margin: 0;
	padding: 0;
}

.fl-scrolls-hidden div:before {
	content: "  ";
}

.fl-scrolls-viewport {
	position: relative;
}

.fl-scrolls-body {
	overflow: auto;
}

.fl-scrolls-viewport .fl-scrolls {
	position: absolute;
}

.fl-scrolls-hoverable .fl-scrolls {
	opacity: 0;
	transition: opacity 0.5s 0.3s;
}

.fl-scrolls-hoverable:hover .fl-scrolls {
	opacity: 1;
}

.fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] {
	bottom: 0;
	min-height: 17px;
}

.fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div {
	height: 1px;
}

.fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] {
	bottom: 9999px;
}

.fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] {
	left: 0;
}

.fl-scrolls[data-orientation=vertical] {
	right: 0;
	min-width: 17px;
}

.fl-scrolls[data-orientation=vertical] div {
	width: 1px;
}

.fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] {
	right: 9999px;
}

.fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] {
	top: 0;
}

/***********************************************************************************************************
 * Styles for "real" wiki page content. (in div.mw-parser-output)
 ***********************************************************************************************************/
/* external link icon. */
.link-https {
	padding-right: 0;
	background: none;
}

/* custom icon color*/
.mw-parser-output a.external {
    background-position:center right;
    background-repeat:no-repeat;
    background-image:url(https://commons.wiki.gg/images/2/25/External.svg);
    background-size:10px;
    padding-right:13px
}

.mw-parser-output > :first-child {
	margin-top: 0;
}

/** headings **/
.mw-body h1, .mw-body-content h1, .mw-body-content h2,
.vector-body h3, .vector-body h4,
.vector-body h5, .vector-body h6 {/*
	margin: 0;
	color: var(--theme-heading-color);*/
	font-family: var(--theme-heading-font-face, sans-serif);/*
	line-height: var(--theme-heading-line-height, 1.25);
	font-weight: var(--theme-heading-font-weight, normal);*/
}/*

.mw-body h1, .mw-body-content h1 {
	font-size: var(--theme-heading-font-size-h1, 32px);
	line-height: var(--theme-heading-line-height-h1, 40px);
	font-weight: var(--theme-heading-font-weight-h1, var(--theme-heading-font-weight, normal));
}*/

.mw-body-content h2 {/*
	font-size: var(--theme-heading-font-size-h2, 24px);
	line-height: var(--theme-heading-line-height-h2, 30px);
	font-weight: var(--theme-heading-font-weight-h2, var(--theme-heading-font-weight, normal));
	margin-top: 18px;
	margin-bottom: 9px;*/
	border-bottom: 1px solid var(--theme-heading-rule-color-h2);/*
	padding-bottom: 3px;*/
}

/*.vector-body h3 {
	font-size: var(--theme-heading-font-size-h3, 20px);
	line-height: var(--theme-heading-line-height-h3, 26px);
	font-weight: var(--theme-heading-font-weight-h3, var(--theme-heading-font-weight, normal));
	margin-top: 14px;
	margin-bottom: 7px;
}

.vector-body h4 {
	font-size: var(--theme-heading-font-size-h4, 16px);
	line-height: var(--theme-heading-line-height-h4, 22px);
	font-weight: var(--theme-heading-font-weight-h4, var(--theme-heading-font-weight, normal));
	margin-top: 14px;
	margin-bottom: 7px;
}

.vector-body h5 {
	font-size: var(--theme-heading-font-size-h5, 14px);
	line-height: var(--theme-heading-line-height-h5, 22px);
	font-weight: var(--theme-heading-font-weight-h5, bold);
	margin-top: 10px;
	margin-bottom: 7px;
}

.vector-body h6 {
	font-size: var(--theme-heading-font-size-h6, 12px);
	line-height: var(--theme-heading-line-height-h6, 20px);
	font-weight: var(--theme-heading-font-weight-h1, bold);
	margin-top: 7px;
	margin-bottom: 7px;
}*/

/* reduce heading font size: */
@media (max-width: 900px) {
	.mw-body h1, .mw-body-content h1 {
		font-size: 24px;
		line-height: 32px;
	}
	.mw-body-content h2 {
		font-size: 20px;
		line-height: 28px;
	}
	.vector-body h3 {
		font-size: 18px;
		line-height: 24px;
	}
}
/* section edit link */
.mw-editsection {
	white-space: nowrap;
	color: var(--theme-content-text-mix-color);
}

/***********************************************************************************************************
 * common style for content box
 ***********************************************************************************************************/
.fullwidth, .full-width {
	width: 100%;
}

.nowrap {
	white-space: nowrap;
}

/* ".center" has width=100% rule, we don't want it, so use a different class name. */
.aligncenter,
.align-center {
	text-align: center;
}

.alignleft,
.align-left {
	text-align: left;
}

.alignright,
.align-right {
	text-align: right;
}

/* clear fix for float block */
.clearfix {
	*zoom: 1;
}

.clearfix::before,
.clearfix::after {
	content: " ";
	display: table;
}

.clearfix::after {
	clear: both;
}

/***********************************************************************************************************
 * css for pages under MediaWiki or Special NS, or system widgets on template/module pages and so on
 ***********************************************************************************************************/
/********* ooui *********/
.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined,
.mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle {
	background: none;
}

.oo-ui-textInputWidget .oo-ui-inputWidget-input {
	color: var(--theme-text-color);
}

.oo-ui-tabOptionWidget {
	color: var(--theme-text-color);
}

.oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected {
	color: var(--theme-text-color);
	background: none;
}

.oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
	color: var(--theme-content-text-mix-color);
}

.oo-ui-tabSelectWidget-framed {
	background: none;
}

/********* for File: NS pages *********/
#filetoc {
	background: none;
}

/********* Special:Preferences *********/
#preferences .mw-htmlform-submit-buttons {
    background-color: var(--theme-background-color--secondary);
    border-top: 1px solid var(--theme-border-color);
    border-left: 1px solid var(--theme-border-color);
    border-right: 1px solid var(--theme-border-color);
}
.mw-prefs-tabs-wrapper.oo-ui-panelLayout-framed, .mw-prefs-tabs > .oo-ui-menuLayout-content > .oo-ui-indexLayout-stackLayout > .oo-ui-tabPanelLayout { border-color: var(--theme-border-color); }

/******* Search result page. (Special:Search)	******/
.mw-search-form-wrapper {
	font-size: 1em;
}

.mw-search-form-wrapper #mw-search-top-table {
	display: flex;
	align-items: center;
}

.mw-search-form-wrapper #mw-search-top-table > div {
	float: none;
}

.mw-search-form-wrapper .results-info {
	color: var(--theme-content-text-mix-color);
	font-size: 1em;
	padding: 0 0 0 3em;
	white-space: nowrap;
	text-align: right;
	flex: 1 1 auto;
}

.mw-search-form-wrapper .mw-search-visualclear {
	display: none;
}

.mw-search-form-wrapper .mw-search-profile-tabs {
	border: 0;
	margin: 1em 0;
}

.mw-search-form-wrapper .mw-search-profile-tabs .search-types + div {
	display: none;
}

.mw-search-form-wrapper .mw-search-profile-tabs .search-types {
	width: 100%;
	float: none;
	padding: 0;
}

.mw-search-form-wrapper .mw-search-profile-tabs .search-types ul li {
	float: none;
	display: inline-block;
	vertical-align: middle;
}

.mw-search-form-wrapper .mw-search-profile-tabs .search-types ul li.current {
	background:var(--theme-border-color);
	border-radius: 2px;
	overflow: hidden;
}
.mw-search-form-wrapper .mw-search-profile-tabs .search-types ul li.current:nth-child(1) {
  border-radius: 0 2px 2px 0;
}

.mw-search-form-wrapper #mw-searchoptions {
	padding: 1em;
	background: var(--theme-background-color-alt);
	border: 1px solid var(--theme-accent-color);
	border-radius: 4px;
}

/* responsive tweak */
@media screen and (max-width: 600px) {
	.mw-search-form-wrapper #mw-search-top-table {
		display: block;
	}
	.mw-search-form-wrapper .results-info {
		margin-top: 1em;
	}
	.mw-search-form-wrapper .mw-search-profile-tabs .search-types ul li {
		font-size: 12px;
	}
}

/* New inline in Special:History diffs */
.oo-ui-toggleSwitchWidget.oo-ui-widget-enabled .oo-ui-toggleSwitchWidget-grip, .oo-ui-toggleSwitchWidget.oo-ui-widget-enabled.oo-ui-toggleWidget-on .oo-ui-toggleSwitchWidget-grip {
	background-color: var(--theme-accent-color-bright);
	border-color: var(--theme-accent-color);
}
.oo-ui-toggleSwitchWidget.oo-ui-widget-enabled.oo-ui-toggleWidget-on, .oo-ui-toggleSwitchWidget.oo-ui-widget-enabled:hover {
	background-color: var(--theme-accent-color);
	border-color: var(--theme-accent-color);
}
.oo-ui-toggleSwitchWidget.oo-ui-widget-enabled.oo-ui-toggleWidget-on:hover {
	background-color: var(--theme-accent-color);
	border-color: var(--theme-accent-color-bright);
}
.oo-ui-toggleSwitchWidget.oo-ui-widget-enabled:focus {
	border-color: var(--theme-accent-color-bright);
    box-shadow: inset 0 0 0 1px var(--theme-accent-color-bright);
}
.oo-ui-toggleSwitchWidget.oo-ui-widget-enabled.oo-ui-toggleWidget-on:focus, .oo-ui-toggleSwitchWidget.oo-ui-widget-enabled:focus .oo-ui-toggleSwitchWidget-grip {
	border-color: var(--theme-accent-color-bright);
}
.oo-ui-toggleSwitchWidget.oo-ui-widget-enabled:hover .oo-ui-toggleSwitchWidget-grip {
	background-color: var(--theme-accent-color);
	border-color: var(--theme-accent-color);
}

.oo-ui-toggleSwitchWidget.oo-ui-widget-enabled.oo-ui-toggleWidget-on .oo-ui-toggleSwitchWidget-grip {
	background-color: var(--theme-accent-color-bright);
	border-color: #0006;
}

/* Edit conflict */
.oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-notice {
    background-color: var(--theme-background-color--secondary);
    border-color: var(--theme-border-color);
}

.mw-twocolconflict-single-column.mw-twocolconflict-split-copy, .mw-twocolconflict-split-column.mw-twocolconflict-split-copy {
    border-color: var(--theme-border-color);
    background-color: var(--theme-background-color--secondary);
    color: var(--theme-text-color);
}
.mw-twocolconflict-single-column .mw-twocolconflict-split-collapsed .mw-twocolconflict-split-fade, .mw-twocolconflict-split-column .mw-twocolconflict-split-collapsed .mw-twocolconflict-split-fade {
    background-image: linear-gradient(transparent,var(--theme-background-color-alt));
}

.mw-twocolconflict-single-column.mw-twocolconflict-split-unselected.mw-twocolconflict-split-delete, .mw-twocolconflict-split-column.mw-twocolconflict-split-unselected.mw-twocolconflict-split-delete {
    border-color: var(--theme-border-color);
}
.mw-twocolconflict-single-column, .mw-twocolconflict-split-column {
    background-color: var(--theme-background-color--secondary);
    color: var(--theme-text-color);
}

.mw-twocolconflict-single-column.mw-twocolconflict-split-unselected ins.mw-twocolconflict-diffchange, .mw-twocolconflict-split-column.mw-twocolconflict-split-unselected ins.mw-twocolconflict-diffchange {
	background-color: var(--theme-border-color);
}
.mw-twocolconflict-single-column.mw-twocolconflict-split-unselected.mw-twocolconflict-split-add, .mw-twocolconflict-split-column.mw-twocolconflict-split-unselected.mw-twocolconflict-split-add {
  border-color: var(--theme-border-color);
}
.mw-twocolconflict-split-selection > div:nth-child(2) .oo-ui-radioInputWidget.oo-ui-widget-enabled [type="radio"]:checked + span, .mw-twocolconflict-split-selection > div:nth-child(2) .oo-ui-radioInputWidget.oo-ui-widget-enabled [type="radio"]:active + span, .mw-twocolconflict-split-selection > div:nth-child(2) .oo-ui-radioInputWidget [type="radio"] + span {
	background: var(--theme-background-color--secondary);
}
.mw-twocolconflict-split-selection > div:nth-child(1) .oo-ui-radioInputWidget.oo-ui-widget-enabled [type="radio"]:checked + span, .mw-twocolconflict-split-selection > div:nth-child(1) .oo-ui-radioInputWidget.oo-ui-widget-enabled [type="radio"]:active + span, .mw-twocolconflict-split-selection > div:nth-child(1) .oo-ui-radioInputWidget [type="radio"] + span {
	background: var(--theme-background-color--secondary);
}
.mw-twocolconflict-split-editable .mw-twocolconflict-split-editor, .mw-twocolconflict-split-difftext { color: var(--theme-text-color); }

/* ?action=history */
#pagehistory li {
	border: dashed 1px var(--theme-border-color);
}

/* Wiki editor */
.wikiEditor-ui-toolbar .tabs span.tab a::before {
	left: 5px;
}

/* ul and p in tables */
#content td ul:first-child, #content td p:first-child { margin-top: 0; }
#content td ul:last-child, #content td p:last-child { margin-bottom: 0; }

/* fieldset border, e.g. [[Special:Upload]] */
fieldset { border-color: var(--theme-accent-color); }

/* New Search - 2025 */
#mw-head #p-search .cdx-text-input__input {
	border: solid 1px var(--theme-border-color);
	border-bottom: 0;
}
.cdx-menu {
  background-color: var(--theme-dropdown-background);
}
.cdx-menu-item--enabled.cdx-menu-item--highlighted {
  background-color: var(--theme-highlight-background);
}
.cdx-search-result-title__match {
  color: orange;
  font-weight: 400;
}
@media screen and (max-width: 1365px) {
	#mw-head #p-search .vector-search-box-input {
		border: solid 1px var(--theme-border-color);
	}
}
@media screen and (max-width: 961px) {
	#simpleSearch.cdx-search-input {
		width: 15em;
	}
}
@media screen and (max-width: 760px) {
	#simpleSearch.cdx-search-input {
		width: 100%;
	}
}