MediaWiki:Vector.css: Difference between revisions

From Forklift Certified Video Games
Jump to navigation Jump to search
 
(48 intermediate revisions by the same user not shown)
Line 6: Line 6:


@media screen and (max-width: 618px) {
@media screen and (max-width: 618px) {
    /* SEARCH BOX MINIMUM WIDTH */
    #simpleSearch {
        min-width: 150px;
    }
    /* Hide the horizontal containers to kill the laggy top navigation links */
    .vectorTabs, #p-views:not(.vectorMenu) {
        display: none !important;
    }
    /* Force the "More" button and its contents to stay visible */
    #p-cactions.vectorMenu,
    #p-cactions.vectorMenu h3,
    #p-cactions.vectorMenu .menu,
    #p-cactions.vectorMenu .menu ul,
    #p-cactions.vectorMenu .menu ul li {
        display: block !important;
        visibility: visible !important;
    }
     /* 1. RESET BODY & FORCE TOTAL TRANSPARENCY */
     /* 1. RESET BODY & FORCE TOTAL TRANSPARENCY */
     body, #content, #mw-head, #mw-panel, #footer,  
     body, #content, #mw-head, #mw-panel, #footer,  
Line 116: Line 135:
         display: inline-block !important;
         display: inline-block !important;
         margin: 5px 10px !important;
         margin: 5px 10px !important;
    }
    /* CONTRIBUTORS LEFT ALIGNED */
    .mw-body, #mw-data-after-content {
        margin-left: 5px;
    }
    /* HOME BUTTON */
    #left-navigation::before {
        content: "Home";
        order: -1;
        display: inline-flex !important;
        align-items: center;
        position: relative !important;
        transform: translateY(9px) !important;
        margin-right: 18px !important;
        background: transparent !important;
        border: none !important;
        font-size: 1.1em !important;
        font-weight: bold;
        color: white !important; /* Always white */
        cursor: pointer !important;
     }
     }
}
}
Line 141: Line 180:
}
}


/* Make clickable text on social links invisible. */
/* SOCIAL ICONS */
 
/* 1. Base styles for the icons */
li#n-facebook,
li#n-discord {
li#n-discord {
visibility: visible;
    visibility: visible;
font-size:0em;
    font-size: 0;
position: relative;
    display: inline-block !important;
margin-right: 5px;
    width: 35px !important;
    height: 35px !important;
    margin-right: 5px;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    background-position: center !important;
    cursor: pointer;
}
}


#n-discord:hover ::after, #n-discord {
/* 2. Make the LINK fill the box and show the icon */
content: '';
li#n-facebook a,  
display: inline-block;
li#n-discord a {
width: 35px;
    display: block !important;
height: 35px;
    width: 35px !important;
float: left;
    height: 35px !important;
background: url('https://certified.wiki/images/icons/discord_logo_icon.png');
    text-indent: -9999px;
background-repeat: no-repeat;
    overflow: hidden;
background-size: contain;
    background-repeat: no-repeat !important;
position: absolute;
    background-size: contain !important;
    background-position: center !important;
}
}


#mw-panel .portal .body li#n-discord {
/* 3. Specific images for each icon */
font-size:0em;
li#n-discord {
padding:5px;
    background-image: url(https://certified.wiki/images/icons/discord_logo_icon.png) !important;
}
}


/* Make clickable text on social links invisible. */
li#n-facebook {
li#n-facebook {
visibility: visible;
    background-image: url(https://certified.wiki/images/icons/facebook_logo_icon.png) !important;
font-size:0em;
position: relative;
margin-right: 5px;
}
}


#n-facebook:hover ::after, #n-facebook {
/* 4. Hover state */
content: '';
li#n-discord:hover,  
display: inline-block;
li#n-facebook:hover {
width: 35px;
    opacity: 0.8;
height: 35px;
    transform: scale(1.10);
float: left;
background: url('https://certified.wiki/images/icons/facebook_logo_icon.png');
background-repeat: no-repeat;
background-size: contain;
position: absolute;
}
}


#mw-panel .portal .body li#n-facebook {
 
font-size:0em;
padding:5px;
}


/* Set background and text color */
/* Set background and text color */
Line 758: Line 795:


/* Contributors extension */
/* Contributors extension */
.contributors-title {
.contributors-title {
margin: 10px;
margin: 10px;
Line 786: Line 824:
text-align: center;
text-align: center;
}
}




Line 801: Line 840:




 
/* Forms */
/* Base table behavior */
.oo-ui-textInputWidget {
.fixed-cell {
     width: 250px;
     width: 290px;
    box-sizing: border-box;
}
}
.explore-table {
#pfForm .createboxInput, #pfForm .mandatoryField, #pfForm textarea {
width: 100%;
    border: 1px solid #535353;
table-layout: fixed;
}
.select2-container--default .select2-selection--multiple {
    background-color: #313131;
}
}
 
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
/* Body cells */
    color: #ffffff;
.explore-left {
vertical-align: top;
min-width: 290px; !important;
}
}
 
.select2-container--default .select2-selection--multiple .select2-selection__rendered li {
.explore-right {
    background-color: #284f9d;
vertical-align: top;
     color: #ffffff;
width: 290px;
     min-width: 290px; !important;
white-space: normal;
}
}
 
.pf-select2-dropdown .select2-results {
/* Mobile headers hidden by default */
    background-color: #06243d;
.mobile-only-hide {
display: none;
}
}
.desktop-only {
div.infoMessage {
display: block;
    border: 1px solid #777777;
    background: #3b3b3b;
}
}






/* Hide deletion log warning for non-admins */
body:not(.mw-group-sysop) .mw-warning-with-logexcerpt {
    display: none;
}


/* Hide tabs */
#ca-talk { display:none!important; }
#ca-history { display:none!important; }


/* Hide User talk links */
#pt-mytalk { display: none !important; }
.mw-usertoollinks-talk { display: none !important; }
.mw-contributions-link-talk { display: none !important; }


/* Responsive stacking */
@media (max-width: 1450px) {
.explore-table:not(.explore-no-header) tr:first-child {
display: none;
}
.desktop-only {
display: none;
}
.mobile-only-center {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-end;
        padding: 0px;
        justify-content: center;
}
.mobile-only-hide {
display: block;
margin-bottom: 6px;
font-weight: bold;
}


.explore-table,
/* Multiselect colors */
.explore-table tbody,
.mw-rcfilters-container .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle {
.explore-table tr,
    background-color: var(--background-color-interactive-subtle, #353535);
.explore-table th,
    border: 1px solid var(--border-color-base, #353535);
.explore-table td {
}
display: block;
.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined {
width: 100% !important;
    background-color: var(--background-color-neutral-subtle, #353535);
box-sizing: border-box;
}
    /* Left column full width, right columns stack below */
.explore-left,
.explore-right {
width: 100% !important;
min-width: 0; !important;
}
}
}
 
.mw-rcfilters-ui-watchlistTopSectionWidget-separator {
 
     border-top: 2px solid var(--border-color-muted, #1e1e1e);
/* Responsive shrink */
@media (max-width: 1450px) {
.welcome-wrap {
max-width: 40em;
}
 
  .explore-table {
     display: flex;
    flex-wrap: wrap;
 
  }
  .explore-left, .explore-right {
    width: 100% !important;
  }
}
}
@media (min-width: 1451px) {
.mw-rcfilters-container .mw-rcfilters-ui-filterTagMultiselectWidget-views-select-widget.oo-ui-widget {
  .explore-table tr > .explore-right:first-of-type {
    border: 1px solid var(--border-color-base, #353535);
     padding-left: clamp(16px, 3vw, 40px);
}
  }
.mw-rcfilters-container .mw-rcfilters-ui-filterTagMultiselectWidget-emptyFilters {
    color: var(--color-subtle, #e1e1e1);
}
.mw-rcfilters-container .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title {
    color: var(--color-subtle, #ffffff);
}
.oo-ui-tabSelectWidget-framed {
     background-color: var(--background-color-interactive, #353535);
}
.mw-htmlform-ooui .mw-htmlform-matrix tbody tr:hover td {
    background-color: var(--background-color-neutral, #353535);
}
}


Line 901: Line 912:




 
/* Notifications colors */
 
.mw-echo-ui-notificationsInboxWidget-toolbarWrapper {
 
    background-color: var(--background-color-base, #505050);
 
 
 
 
 
/* Welcome wrapper */
.welcome-wrap {
width: 100%;
margin: 0 auto;
max-width: 100%;
}
}
 
.mw-echo-ui-notificationsInboxWidget-main-toolbar-top .mw-echo-ui-notificationsInboxWidget-row {
/* Table */
    background-color: #505050;
.welcome-table {
width: 100%;
height: auto;
text-align: center !important;
color: #fff;
text-shadow:
-1px -1px 0 #000,
1px -1px 0 #000,
-1px  1px 0 #000,
1px  1px 0 #000;
}
}
 
.mw-echo-ui-notificationItemWidget-content-message-header {
 
    color: var(--color-emphasized, #e9e9e9);
/* Content block */
.welcome-content {
max-width: 100%;
font-size: 1.5em;
line-height: 1.1;
}
}
 
.mw-echo-ui-menuItemWidget > .oo-ui-buttonElement-button > .oo-ui-labelElement-label {
 
     color: var(--color-base, #ffffff)
 
 
 
 
 
 
/* Forms */
.oo-ui-textInputWidget {
     width: 250px;
}
}
#pfForm .createboxInput, #pfForm .mandatoryField, #pfForm textarea {
.mw-echo-ui-notificationItemWidget:not(:last-child) {
     border: 1px solid #535353;
     border-bottom: 1px solid var(--border-color-subtle, #000000);
}
}
.select2-container--default .select2-selection--multiple {
.mw-echo-ui-notificationItemWidget {
     background-color: #313131;
    background-color: var(--background-color-neutral, #41566b);
}
.mw-echo-ui-notificationItemWidget:hover {
     background-color: var(--background-color-neutral, #567697);
}
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
.mw-echo-ui-notificationItemWidget-content-actions-timestamp {
     color: #ffffff;
     color: var(--color-emphasized, #ffffff);
}
}
.select2-container--default .select2-selection--multiple .select2-selection__rendered li {
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover {
     background-color: #284f9d;
     color: var(--color-base, #3d3d3d);
    color: #ffffff;
}
}
.pf-select2-dropdown .select2-results {
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
     background-color: #06243d;
     color: var(--color-base, #575757);
}
}
div.infoMessage {
#mw-content-subtitle, #contentSub2 {
     border: 1px solid #777777;
     color: var(--color-subtle, #a9a9a9);
    background: #3b3b3b;
}
}
 
.ve-ui-mwTransclusionOutlineTemplateWidget-no-template-parameters {
 
    color: var(--color-subtle, #bdbdbd);
 
}
 
.ve-ui-mwParameterPage-doc-required, .ve-ui-mwParameterPage-doc-deprecated, .ve-ui-mwParameterPage-inlineDescription .ve-ui-mwParameterPage-doc-example {
 
    color: var(--color-subtle, #bdbdbd);
 
}
 
.oo-ui-popupToolGroup-tools .oo-ui-tool-link .oo-ui-tool-accel, .oo-ui-popupToolGroup-tools .oo-ui-tool-link .oo-ui-tool-title {
 
     color: #000000;
/* Hide deletion log warning for non-admins */
body:not(.mw-group-sysop) .mw-warning-with-logexcerpt {
     display: none;
}
}
 
.oo-ui-popupToolGroup.oo-ui-labelElement .oo-ui-popupToolGroup-handle .oo-ui-labelElement-label {
/* Hide tabs */
     color: #000000;
#ca-talk { display:none!important; }
#ca-history { display:none!important; }
 
/* Hide User talk links */
#pt-mytalk { display: none !important; }
.mw-usertoollinks-talk { display: none !important; }
.mw-contributions-link-talk { display: none !important; }
 
 
/* Multiselect colors */
.mw-rcfilters-container .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle {
     background-color: var(--background-color-interactive-subtle, #353535);
    border: 1px solid var(--border-color-base, #353535);
}
}
.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined {
.ve-ce-focusableNode-highlight {
     background-color: var(--background-color-neutral-subtle, #353535);
     background: #3d3d3d;
    box-shadow: inset 0 0 0 1px #37a740;
}
}
.mw-rcfilters-ui-watchlistTopSectionWidget-separator {
.oo-ui-menuToolGroup {
     border-top: 2px solid var(--border-color-muted, #1e1e1e);
     border-left: 1px solid #2667c9;
    border-right: 1px solid #2667c9;
}
}
.mw-rcfilters-container .mw-rcfilters-ui-filterTagMultiselectWidget-views-select-widget.oo-ui-widget {
.oo-ui-tabOptionWidget > .oo-ui-labelElement-label {
     border: 1px solid var(--border-color-base, #353535);
     color: #78a0ff;
}
}
.mw-rcfilters-container .mw-rcfilters-ui-filterTagMultiselectWidget-emptyFilters {
.mw-destfile-warning {
     color: var(--color-subtle, #e1e1e1);
     border: 1px solid #ff0000;
    background-color: #353535;
    color: #ffffff;
}
}
.mw-rcfilters-container .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title {
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover {
     color: var(--color-subtle, #ffffff);
     background-color: var(--background-color-interactive-subtle, #60a7ff);
}
}
.oo-ui-tabSelectWidget-framed {
.mw-echo-ui-notificationItemWidget-initiallyUnseen.mw-echo-ui-notificationItemWidget-unread {
     background-color: var(--background-color-interactive, #353535);
     animation-name: none;
}
}
.mw-htmlform-ooui .mw-htmlform-matrix tbody tr:hover td {
.mw-echo-ui-notificationItemWidget-initiallyUnseen {
     background-color: var(--background-color-neutral, #353535);
     animation: none !important;
    -webkit-animation: none !important;
}
}


Line 1,021: Line 988:




/* Notifications colors */
/* AppreovedRevs forms */
.mw-echo-ui-notificationsInboxWidget-toolbarWrapper {
.c-form-title {
     background-color: var(--background-color-base, #505050);
     color: #b3b3b3;
}
}
.mw-echo-ui-notificationsInboxWidget-main-toolbar-top .mw-echo-ui-notificationsInboxWidget-row {
 
     background-color: #505050;
tr.approved-revision td {
}
     border-top: solid #878787 2px !important;
.mw-echo-ui-notificationItemWidget-content-message-header {
    border-bottom: solid #878787 2px !important;
     color: var(--color-emphasized, #e9e9e9);
     background-color: #326b32 !important;
}
}
.mw-echo-ui-menuItemWidget > .oo-ui-buttonElement-button > .oo-ui-labelElement-label {
.approved-revision {
     color: var(--color-base, #ffffff)
     background-color: #326b32 !important;
}
}
.mw-echo-ui-notificationItemWidget:not(:last-child) {
 
     border-bottom: 1px solid var(--border-color-subtle, #000000);
 
 
 
 
/* White icons */
.oo-ui-icon-info, .mw-ui-icon-info:before {
     background-image: url(https://certified.wiki/images/icons/white_info.svg);
}
}
.mw-echo-ui-notificationItemWidget {
.oo-ui-icon-tray, .mw-ui-icon-tray:before {
     background-color: var(--background-color-neutral, #41566b);
    width: 20px;
}
    height: 20px;
.mw-echo-ui-notificationItemWidget:hover {
     background-image: url(https://certified.wiki/images/icons/white_tray.svg);
     background-color: var(--background-color-neutral, #567697);
    background-size: 20px 20px;
     background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
}
}
.mw-echo-ui-notificationItemWidget-content-actions-timestamp {
.oo-ui-icon-bell, .mw-ui-icon-bell:before {
     color: var(--color-emphasized, #ffffff);
     width: 20px;
    height: 20px;
    background-image: url(https://certified.wiki/images/icons/white_bell.svg);
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
}
}
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover {
.oo-ui-icon-search, .mw-ui-icon-search:before {
     color: var(--color-base, #3d3d3d);
     background-image: url(https://certified.wiki/images/icons/white_search.svg);
}
}
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
.oo-ui-icon-speechBubbleNotice {
     color: var(--color-base, #575757);
     background-image: url(https://certified.wiki/images/icons/white_speechBubbleNotice.svg);
}
}
#mw-content-subtitle, #contentSub2 {
.oo-ui-icon-puzzle, .mw-ui-icon-puzzle:before {
     color: var(--color-subtle, #a9a9a9);
     background-image: url(https://certified.wiki/images/icons/white_puzzle.svg);
}
}
.ve-ui-mwTransclusionOutlineTemplateWidget-no-template-parameters {
.oo-ui-icon-add, .mw-ui-icon-add:before {
     color: var(--color-subtle, #bdbdbd);
     background-image: url(https://certified.wiki/images/icons/white_add.svg);
}
}
.ve-ui-mwParameterPage-doc-required, .ve-ui-mwParameterPage-doc-deprecated, .ve-ui-mwParameterPage-inlineDescription .ve-ui-mwParameterPage-doc-example {
.oo-ui-indicator-required {
     color: var(--color-subtle, #bdbdbd);
     background-image: url(https://certified.wiki/images/icons/white_required.svg);
}
}
.oo-ui-popupToolGroup-tools .oo-ui-tool-link .oo-ui-tool-accel, .oo-ui-popupToolGroup-tools .oo-ui-tool-link .oo-ui-tool-title {
.oo-ui-icon-close, .mw-ui-icon-close:before {
     color: #000000;
     background-image: url(https://certified.wiki/images/icons/white_close.svg);
}
}
.oo-ui-popupToolGroup.oo-ui-labelElement .oo-ui-popupToolGroup-handle .oo-ui-labelElement-label {
.oo-ui-indicator-clear {
     color: #000000;
     background-image: url(https://certified.wiki/images/icons/white_clear.svg);
}
}
.ve-ce-focusableNode-highlight {
.oo-ui-icon-next, .mw-ui-icon-next:before {
     background: #3d3d3d;
     background-image: url(https://certified.wiki/images/icons/white_next.svg);
    box-shadow: inset 0 0 0 1px #37a740;
}
}
.oo-ui-menuToolGroup {
.oo-ui-icon-previous, .mw-ui-icon-previous:before {
     border-left: 1px solid #2667c9;
     background-image: url(https://certified.wiki/images/icons/white_previous.svg);
    border-right: 1px solid #2667c9;
}
}
.oo-ui-tabOptionWidget > .oo-ui-labelElement-label {
.oo-ui-icon-imageGallery, .mw-ui-icon-imageGallery:before {
     color: #78a0ff;
     background-image: url(https://certified.wiki/images/icons/white_gallery.svg);
}
}
.mw-destfile-warning {
.vector-menu-dropdown .vector-menu-heading::after {
     border: 1px solid #ff0000;
     width: 20px;
     background-color: #353535;
     height: 20px;
     color: #ffffff;
     background-image: url(https://certified.wiki/images/icons/white_down.svg);
}
    background-size: 20px 20px;
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover {
     background-repeat: no-repeat;
     background-color: var(--background-color-interactive-subtle, #60a7ff);
     background-position: center;
}
     display: inline-block;
.mw-echo-ui-notificationItemWidget-initiallyUnseen.mw-echo-ui-notificationItemWidget-unread {
     animation-name: none;
}
.mw-echo-ui-notificationItemWidget-initiallyUnseen {
     animation: none !important;
    -webkit-animation: none !important;
}
}


Line 1,097: Line 1,071:




/* AppreovedRevs forms */
.c-form-title {
    color: #b3b3b3;
}


tr.approved-revision td {
 
    border-top: solid #878787 2px !important;
/* Form layout */
    border-bottom: solid #878787 2px !important;
 
    background-color: #326b32 !important;
.form-help-box {
  font-size: 90%;
  border: 1px solid #8e8e8e;
  background: #4a4a4a;
  padding: 6px;
  border-radius: 4px;
  max-width: 870px;
}
 
.form-help-box .mw-collapsible-toggle {
  font-weight: bold;
  cursor: pointer;
}
.external-link-newtab a {
  target-new: tab;
}
 
 
/* Constrain Game form width consistently */
.game-form-table {
max-width: 882px;
width: 100%;
 
box-sizing: border-box;
}
.game-form-table th,
.game-form-table td {
padding: 8px 10px;
vertical-align: top;
}
}
.approved-revision {
.game-form-table img {
    background-color: #326b32 !important;
max-width: 100%;
height: auto;
}
}






/* Wrapper forces proper table-cell sizing */
.pf-collapsible-wrapper {
width: 100%;
}


 
/* Clickable header */
/* White icons */
.pf-collapsible {
.oo-ui-icon-info, .mw-ui-icon-info:before {
display: block;
    background-image: url(https://certified.wiki/images/icons/white_info.svg);
width: 882px;
box-sizing: border-box;
 
padding: 10px 14px;
border-radius: 3px;
background: #4a4a4a;
border: 1px solid #8e8e8e;
font-weight: bold;
cursor: pointer;
user-select: none;
}
 
/* Hover feedback */
.pf-collapsible:hover {
background: #4885ff;
}
}
.oo-ui-icon-tray, .mw-ui-icon-tray:before {
 
    width: 20px;
/* Collapsible content */
    height: 20px;
.pf-collapsible-content {
    background-image: url(https://certified.wiki/images/icons/white_tray.svg);
display: none;
    background-size: 20px 20px;
padding-top: 10px;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
}
}
.oo-ui-icon-bell, .mw-ui-icon-bell:before {
 
    width: 20px;
 
    height: 20px;
 
    background-image: url(https://certified.wiki/images/icons/white_bell.svg);
 
     background-size: 20px 20px;
 
     background-repeat: no-repeat;
/* Cargo */
    background-position: center;
 
    display: inline-block;
table.cargoTable td {
     border: #7d7d7d 1px solid;
     background: #212121;
}
}
.oo-ui-icon-search, .mw-ui-icon-search:before {
.cargo-pagevalues-tableinfo {
     background-image: url(https://certified.wiki/images/icons/white_search.svg);
     background-color: #a1a1a100;
}
}
.oo-ui-icon-speechBubbleNotice {
table.cargoTable.noMerge tr:nth-child(odd) {
     background-image: url(https://certified.wiki/images/icons/white_speechBubbleNotice.svg);
     background: #3d3d3d;
}
}
.oo-ui-icon-puzzle, .mw-ui-icon-puzzle:before {
div.drilldown-filters-wrapper {
     background-image: url(https://certified.wiki/images/icons/white_puzzle.svg);
     background-color: #3b3b3b;
    color: #ffffff;
}
}
.oo-ui-icon-add, .mw-ui-icon-add:before {
.drilldown-tabs li.selected a {
    background-image: url(https://certified.wiki/images/icons/white_add.svg);
        background-color: #28395b;
        color: #ffffff;
    }
}
}
.oo-ui-indicator-required {
 
    background-image: url(https://certified.wiki/images/icons/white_required.svg);
.forklift-list,
}
.game-list {
.oo-ui-icon-close, .mw-ui-icon-close:before {
  display: flex;
    background-image: url(https://certified.wiki/images/icons/white_close.svg);
  flex-direction: column;
  margin-top: 4px;
  margin-bottom: 4px;
}
}
.oo-ui-indicator-clear {
.game-list-row,
    background-image: url(https://certified.wiki/images/icons/white_clear.svg);
.forklift-list-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
}
.oo-ui-icon-next, .mw-ui-icon-next:before {
 
    background-image: url(https://certified.wiki/images/icons/white_next.svg);
 
 
 
/* News slideshow */
.news-slideshow-container {
  position: relative;
  height: 169px;
  overflow: hidden;
  margin: 0 auto;
  background: #00000000;
}
}
.oo-ui-icon-previous, .mw-ui-icon-previous:before {
 
    background-image: url(https://certified.wiki/images/icons/white_previous.svg);
/* Remove default MediaWiki thumbnail backgrounds inside slideshow */
}
.news-slideshow-container .thumb,
.oo-ui-icon-imageGallery, .mw-ui-icon-imageGallery:before {
.news-slideshow-container .thumbinner {
    background-image: url(https://certified.wiki/images/icons/white_gallery.svg);
     background: none !important;
}
     border: none !important;
.vector-menu-dropdown .vector-menu-heading::after {
     box-shadow: none !important;
    width: 20px;
     padding: 0 !important;
    height: 20px;
     margin: 0 !important;
     background-image: url(https://certified.wiki/images/icons/white_down.svg);
     background-size: 20px 20px;
     background-repeat: no-repeat;
     background-position: center;
     display: inline-block;
}
}


/* Each slide */
.news-slideshow-slide {
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}


.news-slideshow-slide.active {
  opacity: 1;
  pointer-events: auto;
}


/* Scale images to fit slideshow box, centered */
.news-slideshow-slide img {
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
  position: absolute;
  object-fit: contain;
}


 
/* Caption overlay */
 
.news-slideshow-caption {
/* Form layout */
   position: absolute;
 
  bottom: 17%;
.form-help-box {
   left: 0;
   font-size: 90%;
  width: 300px;
   border: 1px solid #8e8e8e;
  padding: 4px 5px;
   background: #4a4a4a;
   background: rgb(15 15 15 / 45%);
   padding: 6px;
   color: white;
   border-radius: 4px;
  font-size: 0.75em;
   max-width: 870px;
   line-height: 1.1em;
  box-sizing: border-box;
  word-wrap: break-word;
   max-height: 50%;
  overflow: hidden;
  white-space: normal;
}
}


.form-help-box .mw-collapsible-toggle {
  font-weight: bold;
  cursor: pointer;
}
.external-link-newtab a {
  target-new: tab;
}




/* Constrain Game form width consistently */
.game-form-table {
max-width: 882px;
width: 100%;


box-sizing: border-box;
 
/* CUSTOM CATEGORY PAGES (Forklifts & Video Games) */
 
/* Structural reordering: Applies to both Forklifts and Video Games */
 
body.page-Category_Forklifts #bodyContent,
body.page-Category_Video_Games #bodyContent {
    display: flex;
    flex-direction: column;
}
}
.game-form-table th,
 
.game-form-table td {
body.page-Category_Forklifts #mw-subcategories,
padding: 8px 10px;
body.page-Category_Video_Games #mw-subcategories {
vertical-align: top;
    order: 1;
    margin-top: -15px !important; /* Pulls the box closer to title */
}
}
.game-form-table img {
 
max-width: 100%;
body.page-Category_Forklifts .mw-parser-output,
height: auto;
body.page-Category_Video_Games .mw-parser-output {
    order: 2;
}
}


body.page-Category_Forklifts #mw-subcategories h2,
body.page-Category_Video_Games #mw-subcategories h2 {
    margin-top: 0 !important;
    padding-top: 0 !important;
}


/*
  THE FOLLOWING CODE IS CLASS-BASED:
  It works on ANY page using the <div class="move-subcategories-up">
*/


/* Wrapper forces proper table-cell sizing */
/* Remove the "This category has the following..." text */
.pf-collapsible-wrapper {
body:has(.move-subcategories-up) #mw-subcategories p {
width: 100%;
    display: none !important;
}
}


/* Clickable header */
/* 1. FORCE HORIZONTAL FLOW: Flatten all subcategory containers */
.pf-collapsible {
body:has(.move-subcategories-up) #mw-subcategories,
display: block;
body:has(.move-subcategories-up) #mw-subcategories div,
width: 882px;
body:has(.move-subcategories-up) #mw-subcategories ul,
box-sizing: border-box;
body:has(.move-subcategories-up) #mw-subcategories li {
    display: block !important;
    float: left !important;
    width: auto !important;
    background: none !important;
    margin: 0 !important;
    columns: auto !important;
}


padding: 10px 14px;
/* 2. CONTAINER SPACING */
border-radius: 3px;
body:has(.move-subcategories-up) #mw-subcategories {
background: #4a4a4a;
    width: 100% !important;
border: 1px solid #8e8e8e;
    margin-bottom: 24px !important;
font-weight: bold;
    padding: 0 !important;
cursor: pointer;
    clear: both;
user-select: none;
}
}


/* Hover feedback */
/* 3. HIDE HEADERS: Remove A-Z groupings */
.pf-collapsible:hover {
body:has(.move-subcategories-up) #mw-subcategories h3 {
background: #4885ff;
    display: none !important;
}
}


/* Collapsible content */
body:has(.move-subcategories-up) #mw-subcategories h2 {
.pf-collapsible-content {
    float: none !important;
display: none;
    color: #f0f0f0;
padding-top: 10px;
    font-size: 1.2em;
    margin-bottom: 15px !important;
    border: none;
}
}


/* 4. BUTTONS: The specific card look */
body:has(.move-subcategories-up) #mw-subcategories li {
    background: #1a1a1b !important;
    border: 1px solid #333 !important;
    border-color: #00d4ff !important;
    border-radius: 6px !important;
    padding: 0;
    margin: 0 10px 10px 0 !important;
    transition: all 0.3s ease !important;
}


/* 5. LINKS: Neon Blue */
body:has(.move-subcategories-up) #mw-subcategories li a {
    display: block;
    padding: 12px 24px;
    color: #00d4ff !important;
    font-weight: bold;
    text-decoration: none !important;
    transition: color 0.3s ease;
}


/* 6. HOVER: Glow and Pop */
body:has(.move-subcategories-up) #mw-subcategories li:hover {
    border-color: #00d4ff !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.4) !important;
    background: #232324 !important;
}


body:has(.move-subcategories-up) #mw-subcategories li:hover a {
    color: #ffffff !important;
}


/* Cargo */
/* 7. CLEARFIX + ACTIVE */
 
.move-subcategories-up {
table.cargoTable td {
     clear: both;
     border: #7d7d7d 1px solid;
}
     background: #212121;
body:has(.move-subcategories-up) #mw-subcategories li:active {
     background: #00d4ff !important;
}
}
.cargo-pagevalues-tableinfo {
body:has(.move-subcategories-up) #mw-subcategories li:active a {
     background-color: #a1a1a100;
     color: #000 !important;
}
}
table.cargoTable.noMerge tr:nth-child(odd) {
 
     background: #3d3d3d;
/* CUSTOM CARGO GRID STYLING */
}
/* CUSTOM CARGO GRID STYLING */
div.drilldown-filters-wrapper {
.cargo-custom-view {
     background-color: #3b3b3b;
     display: flex;
     color: #ffffff;
     flex-wrap: wrap;
}
     gap: 15px;
.drilldown-tabs li.selected a {
    justify-content: flex-start;
        background-color: #28395b;
    padding: 20px 0;
        color: #ffffff;
    }
}
}


.forklift-list,
.forklift-card {
.game-list {
    height: 220px;
  display: flex;
    width: 200px;
  flex-direction: column;
    background: #1a1a1b;
  margin-top: 4px;
    border: 1px solid #333;
  margin-bottom: 4px;
    position: relative; /* Anchor for the absolute title */
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    font-family: inherit;
}
}
.game-list-row,
 
.forklift-list-row {
.forklift-card:hover {
  display: flex;
    transform: scale(1.05);
  align-items: center;
    border-color: #00d4ff;
  gap: 10px;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
}
}


 
.card-image {
 
    height: 180px;
 
    background: #000;
/* News slideshow */
    display: flex;
.news-slideshow-container {
    align-items: center;
  position: relative;
    justify-content: center;
  height: 169px;
    z-index: 1; /* Sits behind the title */
  overflow: hidden;
  margin: 0 auto;
  background: #00000000;
}
}


/* Remove default MediaWiki thumbnail backgrounds inside slideshow */
.card-image img {
.news-slideshow-container .thumb,
     max-width: 100%;
.news-slideshow-container .thumbinner {
     height: auto;
     background: none !important;
     display: block;
    border: none !important;
    box-shadow: none !important;
     padding: 0 !important;
     margin: 0 !important;
}
}


/* Each slide */
.card-title {
.news-slideshow-slide {
    position: absolute; /* Pulls it out of flow to overlap image */
  pointer-events: none;
    bottom: 0;         /* Aligns to the very bottom of the card */
  position: absolute;
    left: 0;           /* Aligns to the left edge */
  top: 0;
    width: 100%;       /* Forces full width of the card */
  left: 0;
    z-index: 10;        /* Forces it in front of the image */
  width: 100%;
    background: #1e1e1e !important; /* Your specific dark background */
  height: 120%;
    padding: 10px 0;   /* Vertical padding for text centering */
  opacity: 0;
    text-align: center;
  transition: opacity 0.5s ease-in-out;
    font-size: 0.95em;
    color: #f0f0f0;
}
}


.news-slideshow-slide.active {
/* Ensure the background covers the full width even if text is short */
  opacity: 1;
.link-text-bg {
  pointer-events: auto;
    background: #1e1e1e !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: hidden;
    display: block;
    width: 100%;
}
}


/* Scale images to fit slideshow box, centered */
.card-title a {
.news-slideshow-slide img {
    color: #00d4ff !important;
  max-height: 100%;
    text-decoration: none !important;
  width: auto;
    padding: 0 10px !important; /* Side padding for the link text */
  height: auto;
    margin: 0 !important;
  display: block;
    display: block;
  margin: 0 auto;
    white-space: nowrap;
  position: absolute;
    overflow: hidden;
  object-fit: contain;
    text-overflow: ellipsis;
}
}


/* Caption overlay */
.card-title a:hover {
.news-slideshow-caption {
    color: #ffffff !important;
  position: absolute;
  bottom: 17%;
  left: 0;
  width: 300px;
  padding: 4px 5px;
  background: rgb(15 15 15 / 45%);
  color: white;
  font-size: 0.75em;
  line-height: 1.1em;
  box-sizing: border-box;
  word-wrap: break-word;
  max-height: 50%;
  overflow: hidden;
  white-space: normal;
}
}


Line 1,364: Line 1,456:




/* CUSTOM CATEGORY PAGES (Forklifts & Video Games) */
/* Hide the grid initially */
 
.cargo-hidden-grid {
/* Structural reordering: Applies to both Forklifts and Video Games */
/* ,
body.page-Category_Video_Games #mw-pages */
body.page-Category_Forklifts #mw-pages {
     display: none !important;
     display: none !important;
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px 0;
}
}


body.page-Category_Forklifts #bodyContent,
/* Show the grid when the active class is added by JS */
body.page-Category_Video_Games #bodyContent {
.cargo-hidden-grid.grid-visible {
     display: flex;
     display: flex !important;
    flex-direction: column;
}
}


body.page-Category_Forklifts #mw-subcategories,
/* Style the "Show All" Button */
body.page-Category_Video_Games #mw-subcategories {
.cargo-show-all-btn {
     order: 1;
    display: inline-block;
     margin-top: -15px !important; /* Pulls the box closer to title */
    background: #1a1a1b;
    border: 1px solid #00d4ff;
    border-radius: 6px;
    padding: 12px 24px;
    color: #00d4ff;
    font-weight: bold;
    cursor: pointer;
     transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
     text-align: center;
    user-select: none;
}
}


body.page-Category_Forklifts .mw-parser-output,
.cargo-show-all-btn:hover {
body.page-Category_Video_Games .mw-parser-output {
    border-color: #00d4ff;
     order: 2;
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
     background: #232324;
}
}


body.page-Category_Forklifts #mw-subcategories h2,
.cargo-show-all-btn.btn-active {
body.page-Category_Video_Games #mw-subcategories h2 {
     background: #00d4ff;
     margin-top: 0 !important;
     color: #000;
     padding-top: 0 !important;
}
}


/*
  THE FOLLOWING CODE IS CLASS-BASED:
  It works on ANY page using the <div class="move-subcategories-up">
*/


/* Remove the "This category has the following..." text */
 
body:has(.move-subcategories-up) #mw-subcategories p {
/* MAIN PAGE NAVIGATION */
     display: none !important;
 
.nav-icon {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px; /* Optional: rounds corners of the hover shadow */
     padding: 8px;
}
}


/* 1. FORCE HORIZONTAL FLOW: Flatten all subcategory containers */
.nav-icon:hover {
body:has(.move-subcategories-up) #mw-subcategories,
    background-color: rgba(0, 120, 215, 0.1);
body:has(.move-subcategories-up) #mw-subcategories div,
    transform: translateY(-5px); /* Lifts the icon up */
body:has(.move-subcategories-up) #mw-subcategories ul,
     box-shadow: 0 5px 15px rgba(0,0,0,0.3); /* Adds a soft shadow */
body:has(.move-subcategories-up) #mw-subcategories li {
     cursor: pointer;
    display: block !important;
     float: left !important;
    width: auto !important;
    background: none !important;
    margin: 0 !important;
     columns: auto !important;
}
}


/* 2. CONTAINER SPACING */
body:has(.move-subcategories-up) #mw-subcategories {
    width: 100% !important;
    margin-bottom: 24px !important;
    padding: 0 !important;
    clear: both;
}


/* 3. HIDE HEADERS: Remove A-Z groupings */
body:has(.move-subcategories-up) #mw-subcategories h3 {
    display: none !important;
}


body:has(.move-subcategories-up) #mw-subcategories h2 {
 
     float: none !important;
/* Create Page Button - Neon Blue Style */
     color: #f0f0f0;
.create-page-button {
     font-size: 1.2em;
    display: inline-block;
     margin-bottom: 15px !important;
     background: #1a1a1b;
     border: none;
     border: 1px solid #00d4ff;
    border-radius: 6px;
    padding: 0;  
     font-weight: bold;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
     text-align: center;
     user-select: none;
    overflow: hidden;
}
}


/* 4. BUTTONS: The specific card look */
/* Make the link fill the whole button area */
body:has(.move-subcategories-up) #mw-subcategories li {
.create-page-button a {
     background: #1a1a1b !important;
     display: block;
     border: 1px solid #333 !important;
     padding: 12px 24px;
    border-radius: 6px !important;
     color: #00d4ff !important;
     padding: 8px 16px !important;
     text-decoration: none !important;
     margin: 0 10px 10px 0 !important;
     transition: color 0.3s ease;
     transition: all 0.3s ease !important;
}
}


/* 5. LINKS: Neon Blue */
.create-page-button:hover {
body:has(.move-subcategories-up) #mw-subcategories li a {
     border-color: #00d4ff;
     color: #00d4ff !important;
     transform: translateY(-2px);
     font-weight: bold;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
     text-decoration: none !important;
     background: #232324;
}
}


/* 6. HOVER: Glow and Pop */
/* White text on hover */
body:has(.move-subcategories-up) #mw-subcategories li:hover {
.create-page-button:hover a {
     border-color: #00d4ff !important;
     color: #ffffff !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.4) !important;
    background: #232324 !important;
}
}


body:has(.move-subcategories-up) #mw-subcategories li:hover a {
/* Active state */
     color: #ffffff !important;
.create-page-button:active {
    background: #00d4ff;
}
.create-page-button:active a {
     color: #000 !important;
}
}


/* 7. CLEARFIX */
.move-subcategories-up {
    clear: both;
}


/* CUSTOM CARGO GRID STYLING */
 
/* CUSTOM CARGO GRID STYLING */
 
.cargo-custom-view {
/* Forces a new line in a flex container */
.flex-break {
    flex-basis: 100%;
    height: 0;
    margin: 0;
    border: none;
}
/* Isolate tables and infoboxes specifically inside the flex-cells */
.flex-cell table,
.flex-cell .infobox {
    background-color: transparent !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
 
/* Ensure the text remains readable */
.flex-cell table td,
.flex-cell .infobox td {
    background-color: transparent !important;
}
/* Ensure padding doesn't push width past 100% */
.welcome-banner,
.nav-section,
.flex-row {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
/* Container for a responsive "row" */
.flex-row {
     display: flex;
     display: flex;
     flex-wrap: wrap;
     flex-wrap: wrap;
     gap: 15px;
     gap: 15px;
     justify-content: flex-start;
     margin-bottom: 15px;
     padding: 20px 0;
     width: 100%;
}
}


.forklift-card {
/* Individual "cells" that become blocks on mobile */
     height: 220px;
.flex-cell {
     width: 200px;
     flex: 1;
     background: #1a1a1b;
     min-width: 280px; /* Forces stacking when screen is small */
     border: 1px solid #333;
     background: transparent;
     position: relative; /* Anchor for the absolute title */
     border: 1px solid #ddd;
     padding: 15px;
     border-radius: 8px;
     border-radius: 8px;
     overflow: hidden;
     box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    font-family: inherit;
}
}


.forklift-card:hover {
/* Make the welcome banner stand out */
     transform: scale(1.05);
.welcome-banner {
     border-color: #00d4ff;
    width: 100%;
     box-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
    text-align: center;
     background: linear-gradient(180deg, transparent, rgba(167, 215, 249, 0.1));
    border: 1px solid #a7d7f9;
     border-radius: 12px;
    padding: 25px;
     margin-bottom: 20px;
}
 
/* Style for navigation icons to look like cards */
.nav-card {
    background: rgba(255,255,255,0.05);
    border-radius: 6px;
    transition: transform 0.2s;
}
.nav-card:hover {
    transform: translateY(-3px);
    border-color: #a7d7f9;
}
 
 
 
 
/* Container for the nav section */
.nav-section {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    margin-bottom: 20px;
}
}


.card-image {
/* Wrapper for the icons */
    height: 180px;
.nav-grid {
    background: #000;
     display: flex;
     display: flex;
     align-items: center;
     flex-wrap: wrap;
     justify-content: center;
     justify-content: center;
     z-index: 1; /* Sits behind the title */
     gap: 15px;
    padding-top: 15px;
}
}


.card-image img {
/* Individual Icon Card */
    max-width: 100%;
.nav-card {
    height: auto;
     flex: 0 1 110px; /* Base width of 110px, will grow/shrink as needed */
    display: block;
     display: flex;
}
     flex-direction: column;
 
     align-items: center;
.card-title {
    position: absolute; /* Pulls it out of flow to overlap image */
    bottom: 0;          /* Aligns to the very bottom of the card */
     left: 0;           /* Aligns to the left edge */
    width: 100%;        /* Forces full width of the card */
     z-index: 10;       /* Forces it in front of the image */
     background: #1e1e1e !important; /* Your specific dark background */
     padding: 10px 0;   /* Vertical padding for text centering */
     text-align: center;
     text-align: center;
    font-size: 0.95em;
     padding: 8px;
    color: #f0f0f0;
     border-radius: 6px;
}
     transition: transform 0.2s, background 0.2s;
 
     line-height: 1.2;
/* Ensure the background covers the full width even if text is short */
.link-text-bg {
    background: #1e1e1e !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: hidden;
    display: block;
    width: 100%;
}
 
.card-title a {
    color: #00d4ff !important;
    text-decoration: none !important;
    padding: 0 10px !important; /* Side padding for the link text */
    margin: 0 !important;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
 
.card-title a:hover {
    color: #ffffff !important;
}
 
 
 
 
 
/* Hide the grid initially */
.cargo-hidden-grid {
    display: none !important;
    flex-wrap: wrap;
    gap: 15px;
     padding: 20px 0;
}
 
/* Show the grid when the active class is added by JS */
.cargo-hidden-grid.grid-visible {
    display: flex !important;
}
 
/* Style the "Show All" Button */
.cargo-show-all-btn {
    display: inline-block;
    background: #1a1a1b;
    border: 1px solid #333;
     border-radius: 6px;
    padding: 12px 24px;
    color: #00d4ff;
    font-weight: bold;
    cursor: pointer;
     transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
     text-align: center;
    user-select: none;
}
 
.cargo-show-all-btn:hover {
    border-color: #00d4ff;
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
    background: #232324;
}
}


.cargo-show-all-btn.btn-active {
.nav-card:hover {
     background: #00d4ff;
     background: rgba(167, 215, 249, 0.3);
     color: #000;
     transform: translateY(-3px);
}
}


 
.nav-card img {
 
     margin-bottom: 8px;
/* MAIN PAGE NAVIGATION */
     max-width: 60px; /* Adjust based on your icon size */
 
     height: auto;
.nav-icon {
     transition: transform 0.3s ease, box-shadow 0.3s ease;
     border-radius: 8px; /* Optional: rounds corners of the hover shadow */
     padding: 8px;
}
}


.nav-icon:hover {
.nav-card a {
     background-color: rgba(0, 120, 215, 0.1);
     font-weight: bold;
     transform: translateY(-5px); /* Lifts the icon up */
     font-size: 0.9em;
     box-shadow: 0 5px 15px rgba(0,0,0,0.3); /* Adds a soft shadow */
     text-decoration: none;
     cursor: pointer;
     color: inherit;
}
}

Latest revision as of 16:38, 21 February 2026

/* All CSS here will be loaded for users of the Vector skin */

@import url('https://fonts.googleapis.com/css2?family=Geologica:[email protected]&display=swap');

/* RESPONSIVE VECTOR LEGACY (MOBILE) */

@media screen and (max-width: 618px) {
    /* SEARCH BOX MINIMUM WIDTH */
    #simpleSearch {
        min-width: 150px;
    }
    /* Hide the horizontal containers to kill the laggy top navigation links */
    .vectorTabs, #p-views:not(.vectorMenu) {
        display: none !important;
    }

    /* Force the "More" button and its contents to stay visible */
    #p-cactions.vectorMenu, 
    #p-cactions.vectorMenu h3,
    #p-cactions.vectorMenu .menu,
    #p-cactions.vectorMenu .menu ul,
    #p-cactions.vectorMenu .menu ul li {
        display: block !important;
        visibility: visible !important;
    }

    /* 1. RESET BODY & FORCE TOTAL TRANSPARENCY */
    body, #content, #mw-head, #mw-panel, #footer, 
    .portal, .vectorTabs, .vectorTabs li, .vectorMenu, 
    #p-personal, #p-logo, #p-search, #left-navigation, #right-navigation {

        border: none !important;
        box-shadow: none !important;
    }

    /* 2. TOP NAVIGATION */
    #mw-head {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important; 
        z-index: 100 !important;
    }

    /* Centering for all Top Nav Objects */
    #p-personal, #p-logo, #p-search, #left-navigation, #right-navigation, .vectorTabs ul {
        position: relative !important;
        float: none !important;
        margin: 5px auto !important;
        display: inline-flex !important;
        justify-content: center !important;
        text-align: center !important;
    }

    #p-personal ul {
        display: flex !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
        list-style: none !important;
        padding: 0 !important;
    }

    #p-search {
        width: 85% !important;
        max-width: 320px !important;
    }
    #p-search form, #searchInput { width: 100% !important; box-sizing: border-box !important; }

    /* 3. CONTENT AREA */
    #content {
        margin: 140px 0 0 0 !important;
        width: auto !important;
        position: relative !important;
        z-index: 1 !important;
        display: block !important;
    }

    #mw-page-base, #mw-head-base { display: none !important; height: 0 !important; }

    /* 4. SIDEBAR */
    #mw-panel {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important; 
        margin: 5px 0 !important;
        clear: both !important;
    }

    #mw-panel .portal {
        text-align: center !important;
        width: 100% !important;
        margin-bottom: 20px !important;
    }
    
    /* Centering Social Icons/Links in Sidebar */
    #mw-panel .portal ul {
        display: flex !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
        padding: 0 !important;
        list-style: none !important;
    }

    #mw-panel .portal li {
        margin: 5px 12px !important;
    }

    /* 5. FOOTER */
    #footer {
        position: relative !important;
        margin: 20px auto !important;
        padding: 10px 0 !important;
        width: 100% !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    #footer ul {
        display: block !important;
        margin: 5px auto !important;
        padding: 0 !important;
        list-style: none !important;
    }

    #footer li {
        display: inline-block !important;
        margin: 5px 10px !important;
    }
    /* CONTRIBUTORS LEFT ALIGNED */
    .mw-body, #mw-data-after-content {
        margin-left: 5px;
    }
    /* HOME BUTTON */
    #left-navigation::before {
        content: "Home";
        order: -1;
        display: inline-flex !important;
        align-items: center;
        position: relative !important;
        transform: translateY(9px) !important; 
        margin-right: 18px !important; 
        background: transparent !important;
        border: none !important;
        font-size: 1.1em !important;
        font-weight: bold;
        color: white !important; /* Always white */
        cursor: pointer !important;
    }
}
@media (max-width: calc(639px)) {
    .mw-parser-output table {
        display: table;
        overflow: auto;
        max-width: 100%;
    }
}








/*  visualClear CSS class definition for SocialProfile extension
    because Vector does not include the definition anymore; see
    https://phabricator.wikimedia.org/T328235 and 
    https://phabricator.wikimedia.org/T287962 */
.visualClear {
	clear: both;
}

/* SOCIAL ICONS */

/* 1. Base styles for the icons */
li#n-facebook, 
li#n-discord {
    visibility: visible;
    font-size: 0;
    display: inline-block !important;
    width: 35px !important;
    height: 35px !important;
    margin-right: 5px;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    background-position: center !important;
    cursor: pointer;
}

/* 2. Make the LINK fill the box and show the icon */
li#n-facebook a, 
li#n-discord a {
    display: block !important;
    width: 35px !important;
    height: 35px !important;
    text-indent: -9999px;
    overflow: hidden;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    background-position: center !important;
}

/* 3. Specific images for each icon */
li#n-discord {
    background-image: url(https://certified.wiki/images/icons/discord_logo_icon.png) !important;
}

li#n-facebook {
    background-image: url(https://certified.wiki/images/icons/facebook_logo_icon.png) !important;
}

/* 4. Hover state */
li#n-discord:hover, 
li#n-facebook:hover {
    opacity: 0.8;
    transform: scale(1.10);
}



/* Set background and text color */

body,
#p-navigation,
#content,
#mw-head,
#mw-page-base,
#p-logo,
#p-tb,
#p-tb .body,
#p-tb-label,
#bodyContent,
#mw-panel { 
  background-color: #1e1e1e;
  background-image: none;
  color: #e0e0e0 !important;
  font-family: 'Geologica'; 
}
.mw-body { 
  background-color: #1e1e1e; 
  margin-right: 20px; 
  border: none;
  padding: 5px 10px 0px 15px;
}
#catlinks { 
  background-color: #1e1e1e; 
  border: 1px solid #ffffff;
}

#mw-editing-your-version {
  background-color: #333;
}

/* Links */
a {
    color: #80b3ff;
}
a:visited {
    color: #80b3ff;
}
a:hover {
    color: #a3c8ff;
}
.mw-parser-output a.extiw, .mw-parser-output a.external {
    color: #80b3ff;
}
.mw-parser-output a.extiw:visited, .mw-parser-output a.external:visited {
  color: #80b3ff;
}
.mw-parser-output a.extiw:visited, .mw-parser-output a.external:hover {
  color: #80b3ff;
}


/* Headings */
#mw-head-base {
  border-top: 1px solid #000000;
  background-image: none;
}
.mw-heading1,
h1,
.mw-heading2,
h2,
.mw-heading3,
h3,
.mw-heading4,
h4,
.mw-heading5,
h5 {
  border-bottom: 1px solid #ffffff;
  color: #ffffff;
}
body.page-Main_Page h1 {
  border: 0;
}

.mw-body h1, .mw-body .mw-heading1, .mw-body-content h1, .mw-body-content .mw-heading1, .mw-body-content h2, .mw-body-content .mw-heading2 { font-family: 'Geologica'; }

/* Hovering effect and margins for icons on main page */

.main-page-icons { 
  margin-right: 10px;
} 

.main-page-icons:hover { 
  width: 100%;
  height: auto;
  max-width: 100%;
  background-color: #3d3d3d;
  opacity: 0.7;
  transition: .5s ease;
  cursor: pointer;
  margin-right: 10px;
}


/* #content { background-color: #ded5ba; } */

#firstHeading { background-color: rgba(255, 132, 32, 0); }
.oo-ui-panelLayout-framed { border: 1px solid #000000; }


/* Footer */
#footer { background: none; }
#footer-icons a { background: none; }
.mw-footer { min-height: 100px; margin-top: 20px; padding-left: 10px; }
.cdx-button { border: none; }
#footer-info li {
    color: #cccccc;
}

/* Menu tabs */

.vector-menu-tabs-legacy li a { color: #80b3ff; }
.vector-menu-tabs, .vector-menu-tabs a, .vector-menu-dropdown h3 { background-image: none; }
.vector-menu-tabs li { background-image: none; }
.vector-menu-tabs .selected { background: none; background-color: none; }
.vector-menu-tabs .selected a, .vector-menu-tabs .selected a:visited { color: #e0e0e0; }

.vector-legacy-sidebar .vector-menu-portal .vector-menu-heading { background-image: none; }
.vector-legacy-sidebar .vector-menu-portal .vector-menu-content li a { color: #80b3ff; }
.vector-legacy-sidebar .vector-menu-portal .vector-menu-content li a:visited { color: #80b3ff; }
.vector-legacy-sidebar .vector-menu-portal .vector-menu-content li a:hover { color: #ffffff; }
.vector-legacy-sidebar .vector-menu-portal .vector-menu-heading { color: #e0e0e0; }

.vector-menu-heading-label {
    display: none;
}


/* Dropdown menu */

.vector-menu-dropdown .vector-menu-content {
 background-image: none;
 background-color: #2a2a2a;
 border: 1px solid #000000; }

.vector-menu-dropdown .mw-list-item a {
  color: #80b3ff;
}
.vector-menu-dropdown .mw-list-item a:hover {
  color: #ffffff;
}

.vector-menu-dropdown .mw-list-item.selected a, .vector-menu-dropdown .mw-list-item.selected a:visited { color: #ffffff; }

.vector-menu-tabs, .vector-menu-tabs a, #mw-head, .vector-menu-dropdown, .vector-menu-heading { background-image: none; margin-left: 10px; margin-right: 15px; }

.vector-menu-tabs, .vector-menu-tabs a, #mw-head .vector-menu-dropdown .vector-menu-heading { background-image: none; }

.vector-menu-tabs .mw-watchlink.icon a { margin-top: 3px; }

#mw-head .vector-menu-dropdown .vector-menu-heading {
    padding-top: 10px;
    margin-top: 10px;
    font-size: 1em;
    color: #e0e0e0;
}

/* Table customization */
/* Tables and infoboxes */
table,
.infobox {
    background-color: #2a2a2a !important;
    color: #ddd !important;
    border-color: #444 !important;
}

}
table.infotable {border: 1px solid #000000;}
.infotable tr th,
.infotable tr td {
  border: none;
  vertical-align: top;
}

table.main-page-content-bg {
  background-image: url('https://certified.wiki/images/a/a3/Main_page_content_bg.jpg');
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  min-width: 550px;
  border: 1px;
}

/* Search box and input fields */
input,
textarea,
select {
  background-color: #333 !important;
  color: #eee !important;
  border: 1px solid #555 !important;
  font-size: 1em;
}
/* Highlighted text (e.g., search results) */
.searchmatch {
    background-color: #444;
    color: #fff;
}



/* GALLERY */

/* Dark background for gallery container */
.gallery {
    background-color: #1e1e1e !important;
    color: #e0e0e0 !important;
    border-color: #444 !important;
}

/* Dark background for each gallery box */
.gallerybox {
    background-color: #2a2a2a !important;
    border: 1px solid #444 !important;
}
/* Thumbnail area inside each gallery box */
.gallerybox .thumb {
    background-color: #2a2a2a !important;
}
/* Captions under gallery images */
.gallerytext {
    color: #cccccc !important;
}
/* Remove border from gallery thumb */
li.gallerybox div.thumb {
    border: none;
}
/* Caption styling */
div.gallerytext {
    font-size: 90%;
    padding: 2px 3px 2px;
}


.mw-changeslist-legend {
  background-color: #2a2a2a;
}

ul {
  color: #adadad;
  list-style-image: url(https://certified.wiki/images/icons/bullet-icon.svg);
}

.toc, .toccolours {
  background-color: #2a2a2a;
}

.tocnumber {
  color: #cccccc;
}

figure[typeof~='mw:File/Thumb'] > figcaption, figure[typeof~='mw:File/Frame'] > figcaption {
    border: 1px solid var(--border-color-subtle, #c8ccd1);
    background-color: var(--background-color-interactive-subtle, #2a2a2a);
}
.mw-body-content figure[typeof~='mw:File/Thumb'] > a, .mw-body-content figure[typeof~='mw:File/Frame'] > a {
    border: 1px solid var(--border-color-subtle, #c8ccd1);
    background-color: #2a2a2a;
}


/* Datatables */
.mw-datatable th {
  background-color: #2a2a2a;
}
.mw-datatable td {
  background-color: #2a2a2a;
}
.mw-datatable tr:hover td {
  background-color: #3d3d3d;
  opacity: 0.7;
  transition: .5s ease;
}
.wikitable > tr > th, .wikitable > * > tr > th {
  background-color: #2a2a2a;
  color: #cccccc;
}
#filetoc {
  background-color: #2a2a2a;
}
.oo-ui-tagMultiselectWidget-handle {
  background-color: #2a2a2a;
}
.mw_metadata th {
  background-color: #2a2a2a;
}
.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend {
  background-color: #2a2a2a;
}

/* Revisions */
.diff-addedline .diffchange {
  background: #3e77ab;
}
.diff-deletedline .diffchange {
  background: #a98b3a;
}
.diff-context {
    background: #373737;
    color: #ffffff;
}
#pagehistory li.selected {
    background-color: #333333;
    color: #ffffff;
}


/* Font sizes */
.vector-body {
  font-size: 1em;
}
.vector-menu-tabs-legacy li a {
  font-size: 1em;
}
.vector-user-menu-legacy li {
  font-size: 0.9em
}
ol.references li:target, sup.reference:target {
  background-color: #2a2a2a;
}


/* Colors for preferences and changes boxes */
#preferences .mw-htmlform-submit-buttons {
    background-color: var(--background-color-base, #292929);
    border-top: 1px solid var(--border-color-subtle, #595959);
}
.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(--border-color-subtle, #595959);
}
.mw-htmlform-ooui .mw-htmlform-matrix tbody tr:nth-child(even) td {
    background-color: #3d3d3d;
}
.oo-ui-labelWidget.oo-ui-inline-help {
    color: var(--color-subtle, #9b9b9b);
}
.oo-ui-popupWidget-popup {
    background-color: var(--background-color-base, #292929);
    border: 1px solid var(--border-color-base, #595959);
}
.oo-ui-fieldsetLayout.oo-ui-iconElement > .oo-ui-fieldsetLayout-header, .oo-ui-fieldsetLayout.oo-ui-labelElement > .oo-ui-fieldsetLayout-header {
    color: #e9e9e9;
}
.oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-warning {
    background-color: var(--background-color-warning-subtle, #353535);
    border-color: var(--border-color-warning, #ff511d);
}
.ve-ui-mwTransclusionOutlineTemplateWidget-sticky {
    background-color: var(--background-color-base, #353535);
}

.ve-ui-overlay {
    font-family: 'Geologica';
    color: #d9d9d9;
}
.ve-ui-mwTransclusionOutlineTemplateWidget .ve-ui-mwTransclusionOutlineParameterWidget.oo-ui-optionWidget-highlighted {
    background-color: var(--background-color-button-quiet--active, rgb(49 49 49));
    color: var(--color-emphasized, #74b6f9);
}
.ve-ui-mwTemplatePage-description {
    color: var(--color-subtle, #afafaf);
}
.oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-success {
    background-color: var(--background-color-success-subtle, #353535);
    border-color: var(--border-color-success, #ff511d);
}
.oo-ui-messageDialog-message {
    color: var(--color-base, #d53636);
}
.oo-ui-messageDialog-title {
    color: var(--color-emphasized, #dbdbdb);
}
.oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-notice {
    background-color: var(--background-color-notice-subtle, #4f4f4f);
    border-color: var(--border-color-notice, #54595d);
}





.oo-ui-panelLayout {
    background-color: #292929;
}
.ve-ui-mwSaveDialog-license {
    color: var(--color-subtle, #f3f3f3);
}
.oo-ui-window-head, .oo-ui-window-foot {
    background-color: #292929;
}
.ve-ui-mwSaveDialog-options {
    background-color: var(--background-color-neutral-subtle, #292929);
    border: 1px solid var(--border-color-subtle, #595959);
}
#mw-searchoptions {
    background-color: var(--background-color-neutral-subtle, #292929);
    border: 1px solid var(--border-color-subtle, #595959);
}
.search-types .current a {
    color: var(--color-base, #ffffff);
}
.mw-search-profile-tabs {
    background-color: var(--background-color-neutral-subtle, #333333);
    border: 1px solid var(--border-color-subtle, #5f5f5f);
}

.mw-body-content .mw-number-text span {
    color: var(--color-base, #6cace3);
}

.oo-ui-toolbar-bar {
    color: var(--color-base, #e3e3e3);
    background-color: var(--background-color-base, #6aa5ff);
}
.oo-ui-toolbar-bar:hover {
    background-color: var(--background-color-base, #7cb1ff);
}
.oo-ui-toolbar-position-top > .oo-ui-toolbar-bar {
    border-bottom: 1px solid var(--border-color-subtle, #6aa5ff);
}
.oo-ui-popupToolGroup-tools {
    background-color: var(--background-color-base, #7cb1ff);
    border: 1px solid var(--border-color-subtle, #757575);
}

.mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-head {
    background-color: #4875bb;
}

.ve-ui-targetWidget .ve-ui-surface .ve-ce-attachedRootNode, .ve-ui-targetWidget .ve-ui-surface .ve-ui-surface-placeholder {
    background-color: #333333;
}

.mw-mmv-dialog .mw-mmv-dialog-warning {
    background-color: var(--background-color-warning-subtle, #555555);
}
.oo-ui-selectFileInputWidget.oo-ui-widget-enabled.oo-ui-selectFileInputWidget-dropTarget {
    background-color: var(--background-color-base, #535353);
}
.templateForm {
    background: #696969;
}
.sectionForm {
    background: #696969;
}




/* Previews */
.mwe-popups .mwe-popups-container {
    background: var(--background-color-base, #282d33);
}
.mwe-popups .mwe-popups-extract {
    color: var(--color-base, #e9e9e9);
}
.mwe-popups {
    box-shadow: 0 30px 90px -20px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--background-color-neutral, #606060);
}
.mwe-popups .mwe-popups-extract[dir='ltr']::after {
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0), #282d33 50%);
}
.popups-icon--settings {
    background-color: var(--color-base, #456da5);
}






/* wikiEditor colors */
.wikiEditor-ui-toolbar .booklet > .index > div {
    background-color: #555555;
}
.wikiEditor-ui-toolbar .booklet > .index > div:hover {
    background-color: #333333;
}
.wikiEditor-ui-toolbar .page-table th {
    color: var(--color-subtle, #dbdbdb);
}
.wikiEditor-ui-toolbar .page-table td {
    color: var(--color-base, #bdbdbd);
}
.oo-ui-processDialog-actions-safe .oo-ui-widget-enabled.oo-ui-iconElement:not(.oo-ui-labelElement) > .oo-ui-buttonElement-button:hover {
    background-color: var(--background-color-interactive-subtle, #6b2323);
    border-right-color: none;
}
.ext-WikiEditor-ManualWidget {
    background-color: var(--background-color-neutral, #999999);
}





/* Social profiles */
.profile-update-title {
    color: #ffffff;
}
.profile-on {
    background-color: #3f8114;
    border: 1px solid #979797;
}
.profile-tab-on {
    background-color: #555555;
    border: 1px solid #979797;
    font-size: 16px;
}
.profile-tab {
    background-color: #3d3d3d;
    border: 1px solid #979797;
}
.profile-tab-on a, .profile-tab a:hover {
    color: #a3c8ff;
    font-weight: 400;
    text-decoration: none;
}
.profile-info-container b {
    color: #cbcbcb;
}
.profile-info-container div {
    color: #a1a1a1;
}
.profile-update-unit-left {
    color: #bdbdbd;
}
.user-board-message-from {
    background-color: #333333;
}
.no-info-container {
    background-color: #333333;
    color: #adadad;
}
.top-fan-nav h1 {
    color: #e3e3e3;
}
.ga-new {
    background-color: #069716;
    border: 1px solid #a9a9a9;
}
.needed-points {
    color: #bdbdbd;
}
.board-blast-message-form h2 {
    color: #959595;
}
.blast-nav h2 {
    color: #959595;
}
.g-give-all-highlight {
    background-color: #1d53167a;
}
.g-new {
    background-color: #317535;
}
.g-give-container {
    background-color: #224923;
    border: 1px solid #838383;
}





/* Contributors extension */

.contributors-title {
	margin: 10px;
    padding-left: 10px;
}
.contributors-avatars {
	margin: 10px;
    padding-left: 10px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.contributor-avatar {
	width: 60px;
	text-align: center;
	text-decoration: none;
}

.contributor-avatar img {
	width: 52px;
	height: 52px;
	object-fit: cover;
}

.contributor-name {
	font-size: 0.85em;
	word-break: break-word;
	text-align: center;
}



/* Hide the category footer on the Main Page */
.page-Main_Page #catlinks {
	display: none;
}
.no-bullets ul {
	list-style: none;
	margin: 0;
	padding-left: 5px;
}




/* Forms */
.oo-ui-textInputWidget {
    width: 250px;
}
#pfForm .createboxInput, #pfForm .mandatoryField, #pfForm textarea {
    border: 1px solid #535353;
}
.select2-container--default .select2-selection--multiple {
    background-color: #313131;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #ffffff;
}
.select2-container--default .select2-selection--multiple .select2-selection__rendered li {
    background-color: #284f9d;
    color: #ffffff;
}
.pf-select2-dropdown .select2-results {
    background-color: #06243d;
}
div.infoMessage {
    border: 1px solid #777777;
    background: #3b3b3b;
}



/* Hide deletion log warning for non-admins */
body:not(.mw-group-sysop) .mw-warning-with-logexcerpt {
    display: none;
}

/* Hide tabs */
#ca-talk { display:none!important; }
#ca-history { display:none!important; }

/* Hide User talk links */
#pt-mytalk { display: none !important; }
.mw-usertoollinks-talk { display: none !important; }
.mw-contributions-link-talk { display: none !important; }


/* Multiselect colors */
.mw-rcfilters-container .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle {
    background-color: var(--background-color-interactive-subtle, #353535);
    border: 1px solid var(--border-color-base, #353535);
}
.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined {
    background-color: var(--background-color-neutral-subtle, #353535);
}
.mw-rcfilters-ui-watchlistTopSectionWidget-separator {
    border-top: 2px solid var(--border-color-muted, #1e1e1e);
}
.mw-rcfilters-container .mw-rcfilters-ui-filterTagMultiselectWidget-views-select-widget.oo-ui-widget {
    border: 1px solid var(--border-color-base, #353535);
}
.mw-rcfilters-container .mw-rcfilters-ui-filterTagMultiselectWidget-emptyFilters {
    color: var(--color-subtle, #e1e1e1);
}
.mw-rcfilters-container .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title {
    color: var(--color-subtle, #ffffff);
}
.oo-ui-tabSelectWidget-framed {
    background-color: var(--background-color-interactive, #353535);
}
.mw-htmlform-ooui .mw-htmlform-matrix tbody tr:hover td {
    background-color: var(--background-color-neutral, #353535);
}




/* Notifications colors */
.mw-echo-ui-notificationsInboxWidget-toolbarWrapper {
    background-color: var(--background-color-base, #505050);
}
.mw-echo-ui-notificationsInboxWidget-main-toolbar-top .mw-echo-ui-notificationsInboxWidget-row {
    background-color: #505050;
}
.mw-echo-ui-notificationItemWidget-content-message-header {
    color: var(--color-emphasized, #e9e9e9);
}
.mw-echo-ui-menuItemWidget > .oo-ui-buttonElement-button > .oo-ui-labelElement-label {
    color: var(--color-base, #ffffff)
}
.mw-echo-ui-notificationItemWidget:not(:last-child) {
    border-bottom: 1px solid var(--border-color-subtle, #000000);
}
.mw-echo-ui-notificationItemWidget {
    background-color: var(--background-color-neutral, #41566b);
}
.mw-echo-ui-notificationItemWidget:hover {
    background-color: var(--background-color-neutral, #567697);
}
.mw-echo-ui-notificationItemWidget-content-actions-timestamp {
    color: var(--color-emphasized, #ffffff);
}
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover {
    color: var(--color-base, #3d3d3d);
}
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
    color: var(--color-base, #575757);
}
#mw-content-subtitle, #contentSub2 {
    color: var(--color-subtle, #a9a9a9);
}
.ve-ui-mwTransclusionOutlineTemplateWidget-no-template-parameters {
    color: var(--color-subtle, #bdbdbd);
}
.ve-ui-mwParameterPage-doc-required, .ve-ui-mwParameterPage-doc-deprecated, .ve-ui-mwParameterPage-inlineDescription .ve-ui-mwParameterPage-doc-example {
    color: var(--color-subtle, #bdbdbd);
}
.oo-ui-popupToolGroup-tools .oo-ui-tool-link .oo-ui-tool-accel, .oo-ui-popupToolGroup-tools .oo-ui-tool-link .oo-ui-tool-title {
    color: #000000;
}
.oo-ui-popupToolGroup.oo-ui-labelElement .oo-ui-popupToolGroup-handle .oo-ui-labelElement-label {
    color: #000000;
}
.ve-ce-focusableNode-highlight {
    background: #3d3d3d;
    box-shadow: inset 0 0 0 1px #37a740;
}
.oo-ui-menuToolGroup {
    border-left: 1px solid #2667c9;
    border-right: 1px solid #2667c9;
}
.oo-ui-tabOptionWidget > .oo-ui-labelElement-label {
    color: #78a0ff;
}
.mw-destfile-warning {
    border: 1px solid #ff0000;
    background-color: #353535;
    color: #ffffff;
}
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover {
    background-color: var(--background-color-interactive-subtle, #60a7ff);
}
.mw-echo-ui-notificationItemWidget-initiallyUnseen.mw-echo-ui-notificationItemWidget-unread {
    animation-name: none;
}
.mw-echo-ui-notificationItemWidget-initiallyUnseen {
    animation: none !important;
    -webkit-animation: none !important;
}




/* AppreovedRevs forms */
.c-form-title {
    color: #b3b3b3;
}

tr.approved-revision td {
    border-top: solid #878787 2px !important;
    border-bottom: solid #878787 2px !important;
    background-color: #326b32 !important;
}
.approved-revision {
    background-color: #326b32 !important;
}





/* White icons */
.oo-ui-icon-info, .mw-ui-icon-info:before {
    background-image: url(https://certified.wiki/images/icons/white_info.svg);
}
.oo-ui-icon-tray, .mw-ui-icon-tray:before {
    width: 20px;
    height: 20px;
    background-image: url(https://certified.wiki/images/icons/white_tray.svg);
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
}
.oo-ui-icon-bell, .mw-ui-icon-bell:before {
    width: 20px;
    height: 20px;
    background-image: url(https://certified.wiki/images/icons/white_bell.svg);
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
}
.oo-ui-icon-search, .mw-ui-icon-search:before {
    background-image: url(https://certified.wiki/images/icons/white_search.svg);
}
.oo-ui-icon-speechBubbleNotice {
    background-image: url(https://certified.wiki/images/icons/white_speechBubbleNotice.svg);
}
.oo-ui-icon-puzzle, .mw-ui-icon-puzzle:before {
    background-image: url(https://certified.wiki/images/icons/white_puzzle.svg);
}
.oo-ui-icon-add, .mw-ui-icon-add:before {
    background-image: url(https://certified.wiki/images/icons/white_add.svg);
}
.oo-ui-indicator-required {
    background-image: url(https://certified.wiki/images/icons/white_required.svg);
}
.oo-ui-icon-close, .mw-ui-icon-close:before {
    background-image: url(https://certified.wiki/images/icons/white_close.svg);
}
.oo-ui-indicator-clear {
    background-image: url(https://certified.wiki/images/icons/white_clear.svg);
}
.oo-ui-icon-next, .mw-ui-icon-next:before {
    background-image: url(https://certified.wiki/images/icons/white_next.svg);
}
.oo-ui-icon-previous, .mw-ui-icon-previous:before {
    background-image: url(https://certified.wiki/images/icons/white_previous.svg);
}
.oo-ui-icon-imageGallery, .mw-ui-icon-imageGallery:before {
    background-image: url(https://certified.wiki/images/icons/white_gallery.svg);
}
.vector-menu-dropdown .vector-menu-heading::after {
    width: 20px;
    height: 20px;
    background-image: url(https://certified.wiki/images/icons/white_down.svg);
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
}






/* Form layout */

.form-help-box {
  font-size: 90%;
  border: 1px solid #8e8e8e;
  background: #4a4a4a;
  padding: 6px;
  border-radius: 4px;
  max-width: 870px;
}

.form-help-box .mw-collapsible-toggle {
  font-weight: bold;
  cursor: pointer;
}
.external-link-newtab a {
  target-new: tab;
}


/* Constrain Game form width consistently */
.game-form-table {
	max-width: 882px;
	width: 100%;

	box-sizing: border-box;
}
.game-form-table th,
.game-form-table td {
	padding: 8px 10px;
	vertical-align: top;
}
.game-form-table img {
	max-width: 100%;
	height: auto;
}



/* Wrapper forces proper table-cell sizing */
.pf-collapsible-wrapper {
	width: 100%;
}

/* Clickable header */
.pf-collapsible {
	display: block;
	width: 882px;
	box-sizing: border-box;

	padding: 10px 14px;
	border-radius: 3px;
	background: #4a4a4a;
	border: 1px solid #8e8e8e;
	font-weight: bold;
	cursor: pointer;
	user-select: none;
}

/* Hover feedback */
.pf-collapsible:hover {
	background: #4885ff;
}

/* Collapsible content */
.pf-collapsible-content {
	display: none;
	padding-top: 10px;
}





/* Cargo */

table.cargoTable td {
    border: #7d7d7d 1px solid;
    background: #212121;
}
.cargo-pagevalues-tableinfo {
    background-color: #a1a1a100;
}
table.cargoTable.noMerge tr:nth-child(odd) {
    background: #3d3d3d;
}
div.drilldown-filters-wrapper {
    background-color: #3b3b3b;
    color: #ffffff;
}
.drilldown-tabs li.selected a {
        background-color: #28395b;
        color: #ffffff;
    }
}

.forklift-list,
.game-list {
  display: flex;
  flex-direction: column;
  margin-top: 4px;
  margin-bottom: 4px;
}
.game-list-row,
.forklift-list-row {
  display: flex;
  align-items: center;
  gap: 10px;
}




/* News slideshow */
.news-slideshow-container {
  position: relative;
  height: 169px;
  overflow: hidden;
  margin: 0 auto;
  background: #00000000;
}

/* Remove default MediaWiki thumbnail backgrounds inside slideshow */
.news-slideshow-container .thumb,
.news-slideshow-container .thumbinner {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Each slide */
.news-slideshow-slide {
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.news-slideshow-slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* Scale images to fit slideshow box, centered */
.news-slideshow-slide img {
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
  position: absolute;
  object-fit: contain;
}

/* Caption overlay */
.news-slideshow-caption {
  position: absolute;
  bottom: 17%;
  left: 0;
  width: 300px;
  padding: 4px 5px;
  background: rgb(15 15 15 / 45%);
  color: white;
  font-size: 0.75em;
  line-height: 1.1em;
  box-sizing: border-box;
  word-wrap: break-word;
  max-height: 50%;
  overflow: hidden;
  white-space: normal;
}





/* CUSTOM CATEGORY PAGES (Forklifts & Video Games) */

/* Structural reordering: Applies to both Forklifts and Video Games */

body.page-Category_Forklifts #bodyContent,
body.page-Category_Video_Games #bodyContent {
    display: flex;
    flex-direction: column;
}

body.page-Category_Forklifts #mw-subcategories,
body.page-Category_Video_Games #mw-subcategories {
    order: 1;
    margin-top: -15px !important; /* Pulls the box closer to title */
}

body.page-Category_Forklifts .mw-parser-output,
body.page-Category_Video_Games .mw-parser-output {
    order: 2;
}

body.page-Category_Forklifts #mw-subcategories h2,
body.page-Category_Video_Games #mw-subcategories h2 {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* 
   THE FOLLOWING CODE IS CLASS-BASED: 
   It works on ANY page using the <div class="move-subcategories-up"> 
*/

/* Remove the "This category has the following..." text */
body:has(.move-subcategories-up) #mw-subcategories p {
    display: none !important;
}

/* 1. FORCE HORIZONTAL FLOW: Flatten all subcategory containers */
body:has(.move-subcategories-up) #mw-subcategories,
body:has(.move-subcategories-up) #mw-subcategories div,
body:has(.move-subcategories-up) #mw-subcategories ul,
body:has(.move-subcategories-up) #mw-subcategories li {
    display: block !important;
    float: left !important;
    width: auto !important;
    background: none !important;
    margin: 0 !important;
    columns: auto !important;
}

/* 2. CONTAINER SPACING */
body:has(.move-subcategories-up) #mw-subcategories {
    width: 100% !important;
    margin-bottom: 24px !important;
    padding: 0 !important;
    clear: both;
}

/* 3. HIDE HEADERS: Remove A-Z groupings */
body:has(.move-subcategories-up) #mw-subcategories h3 {
    display: none !important;
}

body:has(.move-subcategories-up) #mw-subcategories h2 {
    float: none !important;
    color: #f0f0f0;
    font-size: 1.2em;
    margin-bottom: 15px !important;
    border: none;
}

/* 4. BUTTONS: The specific card look */
body:has(.move-subcategories-up) #mw-subcategories li {
    background: #1a1a1b !important;
    border: 1px solid #333 !important;
    border-color: #00d4ff !important;
    border-radius: 6px !important;
    padding: 0;
    margin: 0 10px 10px 0 !important;
    transition: all 0.3s ease !important;
}

/* 5. LINKS: Neon Blue */
body:has(.move-subcategories-up) #mw-subcategories li a {
    display: block;
    padding: 12px 24px;
    color: #00d4ff !important;
    font-weight: bold;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

/* 6. HOVER: Glow and Pop */
body:has(.move-subcategories-up) #mw-subcategories li:hover {
    border-color: #00d4ff !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.4) !important;
    background: #232324 !important;
}

body:has(.move-subcategories-up) #mw-subcategories li:hover a {
    color: #ffffff !important;
}

/* 7. CLEARFIX + ACTIVE */
.move-subcategories-up {
    clear: both;
}
body:has(.move-subcategories-up) #mw-subcategories li:active {
    background: #00d4ff !important;
}
body:has(.move-subcategories-up) #mw-subcategories li:active a {
    color: #000 !important;
}

/* CUSTOM CARGO GRID STYLING */
/* CUSTOM CARGO GRID STYLING */
.cargo-custom-view {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: flex-start;
    padding: 20px 0;
}

.forklift-card {
    height: 220px;
    width: 200px;
    background: #1a1a1b;
    border: 1px solid #333;
    position: relative; /* Anchor for the absolute title */
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    font-family: inherit;
}

.forklift-card:hover {
    transform: scale(1.05);
    border-color: #00d4ff;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
}

.card-image {
    height: 180px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1; /* Sits behind the title */
}

.card-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

.card-title {
    position: absolute; /* Pulls it out of flow to overlap image */
    bottom: 0;          /* Aligns to the very bottom of the card */
    left: 0;            /* Aligns to the left edge */
    width: 100%;        /* Forces full width of the card */
    z-index: 10;        /* Forces it in front of the image */
    background: #1e1e1e !important; /* Your specific dark background */
    padding: 10px 0;    /* Vertical padding for text centering */
    text-align: center;
    font-size: 0.95em;
    color: #f0f0f0;
}

/* Ensure the background covers the full width even if text is short */
.link-text-bg {
    background: #1e1e1e !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: hidden;
    display: block;
    width: 100%;
}

.card-title a {
    color: #00d4ff !important;
    text-decoration: none !important;
    padding: 0 10px !important; /* Side padding for the link text */
    margin: 0 !important;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-title a:hover {
    color: #ffffff !important;
}





/* Hide the grid initially */
.cargo-hidden-grid {
    display: none !important;
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px 0;
}

/* Show the grid when the active class is added by JS */
.cargo-hidden-grid.grid-visible {
    display: flex !important;
}

/* Style the "Show All" Button */
.cargo-show-all-btn {
    display: inline-block;
    background: #1a1a1b;
    border: 1px solid #00d4ff;
    border-radius: 6px;
    padding: 12px 24px;
    color: #00d4ff;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: center;
    user-select: none;
}

.cargo-show-all-btn:hover {
    border-color: #00d4ff;
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
    background: #232324;
}

.cargo-show-all-btn.btn-active {
    background: #00d4ff;
    color: #000;
}



/* MAIN PAGE NAVIGATION */

.nav-icon {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px; /* Optional: rounds corners of the hover shadow */
    padding: 8px;
}

.nav-icon:hover {
    background-color: rgba(0, 120, 215, 0.1);
    transform: translateY(-5px); /* Lifts the icon up */
    box-shadow: 0 5px 15px rgba(0,0,0,0.3); /* Adds a soft shadow */
    cursor: pointer;
}




/* Create Page Button - Neon Blue Style */
.create-page-button {
    display: inline-block;
    background: #1a1a1b;
    border: 1px solid #00d4ff;
    border-radius: 6px;
    padding: 0; 
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: center;
    user-select: none;
    overflow: hidden;
}

/* Make the link fill the whole button area */
.create-page-button a {
    display: block;
    padding: 12px 24px;
    color: #00d4ff !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.create-page-button:hover {
    border-color: #00d4ff;
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
    background: #232324;
}

/* White text on hover */
.create-page-button:hover a {
    color: #ffffff !important;
}

/* Active state */
.create-page-button:active {
    background: #00d4ff;
}
.create-page-button:active a {
    color: #000 !important;
}




/* Forces a new line in a flex container */
.flex-break {
    flex-basis: 100%;
    height: 0;
    margin: 0;
    border: none;
}
/* Isolate tables and infoboxes specifically inside the flex-cells */
.flex-cell table, 
.flex-cell .infobox {
    background-color: transparent !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Ensure the text remains readable */
.flex-cell table td, 
.flex-cell .infobox td {
    background-color: transparent !important;
}
/* Ensure padding doesn't push width past 100% */
.welcome-banner, 
.nav-section, 
.flex-row {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
/* Container for a responsive "row" */
.flex-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    width: 100%;
}

/* Individual "cells" that become blocks on mobile */
.flex-cell {
    flex: 1;
    min-width: 280px; /* Forces stacking when screen is small */
    background: transparent;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Make the welcome banner stand out */
.welcome-banner {
    width: 100%;
    text-align: center;
    background: linear-gradient(180deg, transparent, rgba(167, 215, 249, 0.1));
    border: 1px solid #a7d7f9;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
}

/* Style for navigation icons to look like cards */
.nav-card {
    background: rgba(255,255,255,0.05);
    border-radius: 6px;
    transition: transform 0.2s;
}
.nav-card:hover {
    transform: translateY(-3px);
    border-color: #a7d7f9;
}




/* Container for the nav section */
.nav-section {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    margin-bottom: 20px;
}

/* Wrapper for the icons */
.nav-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding-top: 15px;
}

/* Individual Icon Card */
.nav-card {
    flex: 0 1 110px; /* Base width of 110px, will grow/shrink as needed */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 8px;
    border-radius: 6px;
    transition: transform 0.2s, background 0.2s;
    line-height: 1.2;
}

.nav-card:hover {
    background: rgba(167, 215, 249, 0.3);
    transform: translateY(-3px);
}

.nav-card img {
    margin-bottom: 8px;
    max-width: 60px; /* Adjust based on your icon size */
    height: auto;
}

.nav-card a {
    font-weight: bold;
    font-size: 0.9em;
    text-decoration: none;
    color: inherit;
}