MediaWiki:Vector.css: Difference between revisions
Jump to navigation
Jump to search
| (41 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 120: | Line 139: | ||
.mw-body, #mw-data-after-content { | .mw-body, #mw-data-after-content { | ||
margin-left: 5px; | 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 162: | Line 197: | ||
} | } | ||
/* 2. Specific images for each icon */ | /* 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 { | li#n-discord { | ||
background-image: url(https://certified.wiki/images/icons/discord_logo_icon.png) !important; | background-image: url(https://certified.wiki/images/icons/discord_logo_icon.png) !important; | ||
| Line 171: | Line 219: | ||
} | } | ||
/* | /* 4. Hover state */ | ||
li#n-discord:hover, | li#n-discord:hover, | ||
li#n-facebook:hover { | li#n-facebook:hover { | ||
| Line 792: | Line 840: | ||
/* Forms */ | |||
/* | .oo-ui-textInputWidget { | ||
. | width: 250px; | ||
width: | |||
} | } | ||
. | #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); | |||
. | |||
} | } | ||
| Line 924: | Line 912: | ||
/* 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: #ffffff | 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: # | 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: | color: #000000; | ||
} | } | ||
. | .oo-ui-popupToolGroup.oo-ui-labelElement .oo-ui-popupToolGroup-handle .oo-ui-labelElement-label { | ||
color: | color: #000000; | ||
} | } | ||
. | .ve-ce-focusableNode-highlight { | ||
background- | 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- | .mw-destfile-warning { | ||
background-color: # | border: 1px solid #ff0000; | ||
background-color: #353535; | |||
color: #ffffff; | |||
} | } | ||
. | .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover { | ||
color: var(--color- | background-color: var(--background-color-interactive-subtle, #60a7ff); | ||
} | } | ||
.mw-echo-ui- | .mw-echo-ui-notificationItemWidget-initiallyUnseen.mw-echo-ui-notificationItemWidget-unread { | ||
animation-name: none; | |||
} | } | ||
.mw-echo-ui-notificationItemWidget | .mw-echo-ui-notificationItemWidget-initiallyUnseen { | ||
animation: none !important; | |||
-webkit-animation: none !important; | |||
} | } | ||
. | |||
/* AppreovedRevs forms */ | |||
.c-form-title { | |||
color: #b3b3b3; | |||
} | } | ||
. | |||
background-color: | tr.approved-revision td { | ||
border-top: solid #878787 2px !important; | |||
border-bottom: solid #878787 2px !important; | |||
background-color: #326b32 !important; | |||
} | } | ||
. | .approved-revision { | ||
color: | background-color: #326b32 !important; | ||
} | } | ||
.oo-ui- | |||
/* White icons */ | |||
.oo-ui-icon-info, .mw-ui-icon-info:before { | |||
background-image: url(https://certified.wiki/images/icons/white_info.svg); | |||
} | } | ||
.oo-ui- | .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- | .oo-ui-icon-speechBubbleNotice { | ||
background-image: url(https://certified.wiki/images/icons/white_speechBubbleNotice.svg); | |||
} | } | ||
.oo-ui- | .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: | background-image: url(https://certified.wiki/images/icons/white_add.svg); | ||
} | } | ||
.oo-ui- | .oo-ui-indicator-required { | ||
background-image: url(https://certified.wiki/images/icons/white_required.svg); | |||
} | } | ||
.oo-ui- | .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); | |||
background- | |||
} | } | ||
.oo-ui- | .oo-ui-icon-next, .mw-ui-icon-next:before { | ||
background- | background-image: url(https://certified.wiki/images/icons/white_next.svg); | ||
} | } | ||
.mw- | .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; | |||
} | } | ||
| Line 1,081: | Line 1,071: | ||
/* 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; | |||
} | } | ||
. | |||
background | |||
/* Cargo */ | |||
table.cargoTable td { | |||
border: #7d7d7d 1px solid; | |||
background: #212121; | |||
} | } | ||
. | .cargo-pagevalues-tableinfo { | ||
background- | background-color: #a1a1a100; | ||
} | } | ||
. | table.cargoTable.noMerge tr:nth-child(odd) { | ||
background | background: #3d3d3d; | ||
} | } | ||
. | div.drilldown-filters-wrapper { | ||
background- | 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; | |||
} | } | ||
| Line 1,164: | Line 1,186: | ||
/* 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; | |||
box-shadow: | 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; | 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 { | |||
color: #00d4ff | display: inline-block; | ||
background: #1a1a1b; | |||
border: 1px solid #00d4ff; | |||
border-radius: 6px; | |||
padding: 12px 24px; | |||
color: #00d4ff; | |||
font-weight: bold; | font-weight: bold; | ||
text- | 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; | |||
border-color: #00d4ff | transform: translateY(-2px); | ||
transform: translateY(- | box-shadow: 0 0 15px rgba(0, 212, 255, 0.4); | ||
box-shadow: 0 0 | background: #232324; | ||
background: #232324 | |||
} | } | ||
.cargo-show-all-btn.btn-active { | |||
color: # | 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; | background: #1a1a1b; | ||
border: 1px solid # | 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; | 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; | border-color: #00d4ff; | ||
box-shadow: 0 0 15px rgba(0, 212, 255, 0. | 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; | |||
/* | |||
. | |||
display: | |||
flex-wrap: wrap; | flex-wrap: wrap; | ||
gap: 15px; | 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; | 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 */ | ||
border- | .nav-card { | ||
transform: translateY(- | 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- | .nav-card img { | ||
margin-bottom: 8px; | |||
max-width: 60px; /* Adjust based on your icon size */ | |||
height: auto; | |||
} | } | ||
.nav- | .nav-card a { | ||
font-weight: bold; | |||
font-size: 0.9em; | |||
text-decoration: none; | |||
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;
}