Pivot.css: Difference between revisions
From Dune Awakening DB
mNo edit summary Tag: Reverted |
mNo edit summary Tag: Manual revert |
||
| Line 1: | Line 1: | ||
/********************************************************** | /********************************************************** | ||
* Dune-Themed Pivot Skin ( | * Dune-Themed Pivot Skin (Integrated Full CSS with | ||
* Full-Screen Background & Infobox Overrides) | |||
**********************************************************/ | **********************************************************/ | ||
/* | /* 1) RESET MARGINS & ENSURE BODY CAN GROW AS TALL AS NEEDED */ | ||
html, body { | html, body { | ||
margin: 0; | margin: 0; | ||
| Line 67: | Line 12: | ||
} | } | ||
/* 2) FULLSCREEN BACKGROUND IMAGE */ | |||
/* Uses your [[:File:DuneDB Background.jpg]] file */ | |||
body.skin-pivot { | body.skin-pivot { | ||
background: url('https://dunedb.com/images/5/57/DuneDB_Background.jpg') no-repeat center center fixed; | background: url('https://dunedb.com/images/5/57/DuneDB_Background.jpg') no-repeat center center fixed; | ||
background-size: cover; | background-size: cover; | ||
background-attachment: fixed; | background-attachment: fixed; | ||
color: | color: #E0E0E0; | ||
font-family: | font-family: "Orbitron", sans-serif; | ||
} | } | ||
/* | /* 3) TRANSPARENT MAIN CONTAINERS */ | ||
.skin-pivot #content, | .skin-pivot #content, | ||
.skin-pivot .mw-body, | .skin-pivot .mw-body, | ||
| Line 86: | Line 28: | ||
.skin-pivot .mw-content-rtl { | .skin-pivot .mw-content-rtl { | ||
background: transparent; | background: transparent; | ||
padding: | padding: 15px; | ||
border-radius: | border-radius: 10px; | ||
margin: 0; | margin: 0; | ||
} | } | ||
/* | /* 4) FORCE MAJOR WRAPPERS TO BE TRANSPARENT */ | ||
.skin-pivot .off-canvas-wrap, | .skin-pivot .off-canvas-wrap, | ||
.skin-pivot .docs-wrap, | .skin-pivot .docs-wrap, | ||
| Line 105: | Line 47: | ||
background: transparent !important; | background: transparent !important; | ||
border: none !important; | border: none !important; | ||
} | } | ||
/* | /* 5) FOOTER, CATLINKS, PRINTFOOTER: ALSO TRANSPARENT */ | ||
.skin-pivot footer, | .skin-pivot footer, | ||
.skin-pivot .footer, | .skin-pivot .footer, | ||
| Line 121: | Line 62: | ||
background: transparent !important; | background: transparent !important; | ||
border: none !important; | border: none !important; | ||
color: | color: #E0E0E0 !important; | ||
} | } | ||
/* | /********************************************************** | ||
* NAVIGATION & HEADINGS | |||
**********************************************************/ | |||
/* Navbars */ | /* Navbars */ | ||
.skin-pivot .navbar, | .skin-pivot .navbar, | ||
.skin-pivot .navbar-default, | .skin-pivot .navbar-default, | ||
.skin-pivot .navbar-inverse { | .skin-pivot .navbar-inverse { | ||
background: | background: rgba(15, 20, 25, 0.9) !important; | ||
border: none !important; | border: none !important; | ||
color: | color: #E0E0E0 !important; | ||
} | } | ||
.skin-pivot .navbar-nav > li > a, | .skin-pivot .navbar-nav > li > a, | ||
.skin-pivot .dropdown-menu > li > a { | .skin-pivot .dropdown-menu > li > a { | ||
color: | color: #C47F3A !important; | ||
font-weight: bold !important; | font-weight: bold !important; | ||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
.skin-pivot .navbar-nav > li > a:hover, | .skin-pivot .navbar-nav > li > a:hover, | ||
.skin-pivot .dropdown-menu > li > a:hover { | .skin-pivot .dropdown-menu > li > a:hover { | ||
color: | color: #E28D4F !important; | ||
text-decoration: underline; | text-decoration: underline; | ||
} | } | ||
| Line 163: | Line 95: | ||
.skin-pivot .list-group, | .skin-pivot .list-group, | ||
.skin-pivot .list-group-item { | .skin-pivot .list-group-item { | ||
background: | background: rgba(15, 20, 25, 0.9); | ||
border: none; | border: none; | ||
color: | color: #E0E0E0; | ||
} | } | ||
.skin-pivot .list-group-item:hover { | .skin-pivot .list-group-item:hover { | ||
background-color: | background-color: rgba(15, 20, 25, 1); | ||
} | } | ||
| Line 179: | Line 110: | ||
background-color: transparent; | background-color: transparent; | ||
border: none; | border: none; | ||
color: | color: #E2D3AE; | ||
margin: 10px 0 5px; | margin: 10px 0 5px; | ||
font-weight: bold; | font-weight: bold; | ||
| Line 192: | Line 123: | ||
.skin-pivot h5, | .skin-pivot h5, | ||
.skin-pivot h6 { | .skin-pivot h6 { | ||
color: | color: #E2D3AE; | ||
font-weight: bold; | font-weight: bold; | ||
margin-top: 1em; | margin-top: 1em; | ||
| Line 200: | Line 131: | ||
padding-bottom: 5px; | padding-bottom: 5px; | ||
} | } | ||
.skin-pivot h1, | .skin-pivot h1, | ||
.skin-pivot h3 { | .skin-pivot h3 { | ||
border-bottom: | border-bottom: 2px solid rgba(255, 255, 255, 0.2); | ||
} | } | ||
/* Links site-wide */ | /* Links site-wide */ | ||
.skin-pivot a { | .skin-pivot a { | ||
color: | color: #C47F3A; | ||
text-decoration: none; | text-decoration: none; | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
.skin-pivot a:hover { | .skin-pivot a:hover { | ||
color: | color: #E28D4F; | ||
text-decoration: underline; | text-decoration: underline; | ||
} | } | ||
.skin-pivot a.new, | .skin-pivot a.new, | ||
.skin-pivot a.new:visited { | .skin-pivot a.new:visited { | ||
| Line 236: | Line 151: | ||
text-decoration: underline; | text-decoration: underline; | ||
} | } | ||
.skin-pivot a.new:hover { | .skin-pivot a.new:hover { | ||
color: #DD0000 !important; | color: #DD0000 !important; | ||
} | } | ||
/* | /********************************************************** | ||
* PIVOT NAV OVERRIDES | |||
**********************************************************/ | |||
.skin-pivot nav.tab-bar.hide-for-print { | .skin-pivot nav.tab-bar.hide-for-print { | ||
background: | background: rgba(15, 20, 25, 0.9); | ||
border: none; | border: none; | ||
color: | color: #E0E0E0; | ||
padding: 0.5em; | padding: 0.5em; | ||
} | } | ||
.skin-pivot nav.tab-bar.hide-for-print a { | .skin-pivot nav.tab-bar.hide-for-print a { | ||
color: | color: #C47F3A; | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
.skin-pivot nav.tab-bar.hide-for-print a:hover { | .skin-pivot nav.tab-bar.hide-for-print a:hover { | ||
color: | color: #E28D4F; | ||
text-decoration: underline; | text-decoration: underline; | ||
} | } | ||
.skin-pivot nav.tab-bar.hide-for-print .title a { | .skin-pivot nav.tab-bar.hide-for-print .title a { | ||
color: | color: #E2D3AE; | ||
font-size: | font-size: 1.2em; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
} | } | ||
.skin-pivot #left-nav-aside, | .skin-pivot #left-nav-aside, | ||
.skin-pivot #middle-nav, | .skin-pivot #middle-nav, | ||
.skin-pivot #right-nav-aside { | .skin-pivot #right-nav-aside { | ||
background-color: transparent; | background-color: transparent; | ||
color: | color: #E0E0E0; | ||
} | } | ||
.skin-pivot li.name.logo img { | .skin-pivot li.name.logo img { | ||
max-width: 100%; | max-width: 100%; | ||
| Line 290: | Line 189: | ||
vertical-align: middle; | vertical-align: middle; | ||
} | } | ||
.skin-pivot li.has-form input[type="search"] { | .skin-pivot li.has-form input[type="search"] { | ||
background: rgba(30, 40, 50, 0.8); | background: rgba(30, 40, 50, 0.8); | ||
color: | color: #E0E0E0; | ||
border: | border: 1px solid #C47F3A; | ||
padding: 0.5em; | padding: 0.5em; | ||
width: 100%; | width: 100%; | ||
} | } | ||
.skin-pivot li.has-form input[type="search"]::placeholder { | .skin-pivot li.has-form input[type="search"]::placeholder { | ||
color: #C9B795; | color: #C9B795; | ||
} | } | ||
.skin-pivot label.sidebar { | .skin-pivot label.sidebar { | ||
background-color: transparent; | background-color: transparent; | ||
color: | color: #E2D3AE; | ||
font-weight: bold; | font-weight: bold; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
padding: 0.5em 0; | padding: 0.5em 0; | ||
display: block; | display: block; | ||
border-bottom: | border-bottom: 2px solid rgba(255, 255, 255, 0.2); | ||
margin-bottom: 0.5em; | margin-bottom: 0.5em; | ||
} | } | ||
.skin-pivot li.mw-list-item a { | .skin-pivot li.mw-list-item a { | ||
color: | color: #C47F3A; | ||
font-weight: bold; | font-weight: bold; | ||
text-decoration: none; | text-decoration: none; | ||
| Line 321: | Line 216: | ||
padding: 0.25em 0; | padding: 0.25em 0; | ||
} | } | ||
.skin-pivot li.mw-list-item a:hover { | .skin-pivot li.mw-list-item a:hover { | ||
color: | color: #E28D4F; | ||
text-decoration: underline; | text-decoration: underline; | ||
} | } | ||
/* | /********************************************************** | ||
* SIDEBAR/HIDING TOOLS | |||
**********************************************************/ | |||
html body.skin-pivot #p-tb, | html body.skin-pivot #p-tb, | ||
html body.skin-pivot #p-tb + ul, | html body.skin-pivot #p-tb + ul, | ||
| Line 337: | Line 231: | ||
} | } | ||
/*------------ | /********************************************************** | ||
* TABLES | |||
**********************************************************/ | |||
/* Two-Column Table */ | |||
.skin-pivot table.two-column-table { | |||
background-color: #1A232F !important; | |||
border: none !important; | |||
width: 100% !important; | |||
table-layout: fixed; | |||
} | |||
.skin-pivot table.two-column-table thead, | |||
.skin-pivot table.two-column-table tbody, | |||
.skin-pivot table.two-column-table tfoot { | |||
background-color: #1A232F !important; | |||
border: none !important; | |||
} | |||
.skin-pivot table.two-column-table th, | |||
.skin-pivot table.two-column-table td { | |||
background-color: #1A232F !important; | |||
border: none !important; | |||
vertical-align: top; | |||
} | } | ||
.skin-pivot table.two-column-table > tbody > tr > td:first-child { | |||
. | border-right: 2px solid rgba(255, 255, 255, 0.2) !important; | ||
} | } | ||
@media only screen and (max-width: 600px) { | |||
@media screen and ( | .skin-pivot table.two-column-table > tbody > tr { | ||
. | display: flex; | ||
flex-direction: column; | |||
} | } | ||
.skin-pivot table.two-column-table > tbody > tr > td { | |||
width: 100%; | |||
border: none !important; | |||
width: | |||
} | } | ||
} | } | ||
/********************************************************** | |||
* INFOBOX COLORS & STYLES | |||
**********************************************************/ | |||
/* IMPROVED INFOBOX BORDERS AND STYLING */ | |||
. | /* 1. Enhanced Infobox Base */ | ||
.skin-pivot .dune-infobox, | |||
.skin-pivot table.infobox-dune, | .skin-pivot table.infobox-dune, | ||
.skin-pivot . | .skin-pivot .dune-card, | ||
.skin-pivot .game-panel { | |||
background-color: #000002 !important; | |||
border: none !important; /* Remove standard border */ | |||
background-color: | |||
border: | |||
box-shadow: | box-shadow: | ||
0 0 0 1px #3a3a3a, | 0 0 0 1px #3a3a3a, | ||
0 0 0 2px | 0 0 0 2px #000002, | ||
0 0 0 3px | 0 0 0 3px #C47F3A, | ||
0 0 15px | 0 0 15px rgba(196, 127, 58, 0.2) !important; /* Layered borders with glow */ | ||
position: relative; | |||
border-radius: 4px !important; | |||
padding: 16px !important; | |||
margin: 1em 0 !important; | |||
} | } | ||
/* | /* 2. Decorative Corner Elements */ | ||
.skin-pivot | .skin-pivot .dune-infobox::before, | ||
.skin-pivot . | .skin-pivot .dune-infobox::after, | ||
.skin-pivot table.infobox-dune::before, | |||
.skin-pivot table.infobox-dune::after, | |||
.skin-pivot .dune-card::before, | |||
.skin-pivot .dune-card::after, | |||
.skin-pivot .game-panel::before, | |||
.skin-pivot .game-panel::after { | |||
content: ''; | |||
position: absolute; | |||
width: 12px; | |||
height: 12px; | |||
border: 1px solid #C47F3A; | |||
pointer-events: none; | |||
z-index: 1; | |||
} | } | ||
/* | /* Top-left corner */ | ||
.skin-pivot table.infobox-dune | .skin-pivot .dune-infobox::before, | ||
.skin-pivot . | .skin-pivot table.infobox-dune::before, | ||
.skin-pivot .dune-card::before, | |||
.skin-pivot .game-panel::before { | |||
top: 4px; | |||
left: 4px; | |||
border-right: none; | |||
border-bottom: none; | |||
border-bottom: | |||
} | } | ||
/* | /* Bottom-right corner */ | ||
.skin-pivot table.infobox-dune | .skin-pivot .dune-infobox::after, | ||
.skin-pivot . | .skin-pivot table.infobox-dune::after, | ||
.skin-pivot .dune-card::after, | |||
.skin-pivot .game-panel::after { | |||
bottom: 4px; | |||
right: 4px; | |||
border-left: none; | |||
border-top: none; | |||
} | } | ||
/* | /* 3. Add diagonal accent lines to corners */ | ||
.skin-pivot . | .skin-pivot .dune-infobox-title, | ||
.skin-pivot table.infobox-dune th:first-child, | |||
.skin-pivot .dune-card-title, | |||
.skin-pivot .game-panel-header { | |||
position: relative; | |||
overflow: visible !important; | |||
} | } | ||
.skin-pivot .dune-infobox-title::before, | |||
.skin-pivot .game- | .skin-pivot .dune-infobox-title::after, | ||
.skin-pivot .dune-card-title::before, | |||
.skin-pivot .dune-card-title::after, | |||
.skin-pivot .game-panel-header::before, | |||
.skin-pivot .game-panel-header::after { | |||
content: ''; | |||
position: absolute; | |||
width: 20px; | |||
height: 2px; | |||
background-color: #C47F3A; | |||
top: 50%; | |||
transform: translateY(-50%); | |||
} | } | ||
.skin-pivot .dune-infobox-title::before, | |||
.skin-pivot | .skin-pivot .dune-card-title::before, | ||
.skin-pivot . | .skin-pivot .game-panel-header::before { | ||
left: -25px; | |||
} | } | ||
.skin-pivot .dune-infobox-title::after, | |||
.skin-pivot | .skin-pivot .dune-card-title::after, | ||
.skin-pivot .game-panel-header::after { | |||
right: -25px; | |||
} | } | ||
.skin-pivot table.infobox-dune | /* 4. Inner Container Styling */ | ||
.skin-pivot .dune-infobox-description, | |||
.skin-pivot .dune-infobox-stats td, | |||
.skin-pivot .dune-infobox-stats th, | |||
.skin-pivot table.infobox-dune td, | |||
.skin-pivot table.infobox-dune th, | |||
.skin-pivot .dune-card-description, | |||
.skin-pivot .game-table td, | |||
.skin-pivot .game-table th { | |||
background-color: #161618 !important; | |||
color: #e2d3ae !important; | |||
border: 1px solid #333 !important; | |||
position: relative; | |||
overflow: hidden; | |||
} | } | ||
/* | /* 5. Glowing border effect on hover */ | ||
.skin-pivot . | .skin-pivot .dune-infobox:hover, | ||
.skin-pivot table.infobox-dune:hover, | |||
.skin-pivot .dune-card:hover, | |||
.skin-pivot .game-panel:hover { | |||
box-shadow: | |||
0 0 0 1px #3a3a3a, | |||
0 0 0 2px #000002, | |||
0 0 0 3px #E28D4F, | |||
0 0 20px rgba(226, 141, 79, 0.4) !important; | |||
transition: box-shadow 0.3s ease; | |||
} | } | ||
/* | /* 6. Improved table head styling */ | ||
.skin-pivot table. | .skin-pivot table.infobox-dune th, | ||
background- | .skin-pivot .game-table th { | ||
background: linear-gradient(to bottom, #1A1A1A, #101010) !important; | |||
text-transform: uppercase; | |||
letter-spacing: 1px; | |||
text-shadow: 0 0 5px rgba(226, 141, 79, 0.5); | |||
border-bottom: 2px solid #C47F3A !important; | |||
} | } | ||
. | /* 7. Replace dune-card-decoration with more sci-fi approach */ | ||
.skin-pivot | .skin-pivot .dune-card-decoration { | ||
display: none; /* Remove the existing decoration */ | |||
} | } | ||
.skin-pivot .dune-card { | .skin-pivot .dune-card { | ||
overflow: visible; | |||
overflow: visible | |||
} | } | ||
.skin-pivot .dune-card::before, | .skin-pivot .dune-card::before, | ||
.skin-pivot .dune-card::after { | .skin-pivot .dune-card::after { | ||
| Line 561: | Line 420: | ||
width: 20px; | width: 20px; | ||
height: 20px; | height: 20px; | ||
border: | border: 2px solid #C47F3A; | ||
z-index: 1; | z-index: 1; | ||
} | } | ||
| Line 579: | Line 438: | ||
} | } | ||
/* | /* 8. Additional subtle tech pattern for background */ | ||
.skin-pivot .dune-card- | .skin-pivot .dune-infobox, | ||
.skin-pivot table.infobox-dune, | |||
.skin-pivot .dune-card, | |||
.skin-pivot .game-panel { | |||
background-image: | |||
linear-gradient(rgba(20, 30, 40, 0.1) 1px, transparent 1px), | |||
linear-gradient(90deg, rgba(20, 30, 40, 0.1) 1px, transparent 1px) !important; | |||
background-size: 20px 20px !important; | |||
background-position: -1px -1px !important; | |||
} | |||
/* 9. Enhanced focus on important data */ | |||
.skin-pivot table.infobox-dune td strong, | |||
.skin-pivot .dune-infobox strong, | |||
.skin-pivot .dune-card strong { | |||
color: #E28D4F; | |||
text-shadow: 0 0 3px rgba(226, 141, 79, 0.3); | |||
font-weight: bold; | |||
} | } | ||
/* | /********************************************************** | ||
. | * DUNE-CARD STYLES | ||
**********************************************************/ | |||
.dune-card { | |||
position: relative; | |||
background-color: #1F2A37; | |||
color: #E2D3AE; | |||
width: auto !important; | |||
max-width: 100% !important; | |||
padding: 16px; | |||
margin: 1em; | |||
border: 1px solid #E2D3AE; | |||
border-radius: 6px; | |||
box-sizing: border-box; | |||
} | |||
.dune-card-decoration { | |||
position: absolute; | |||
top: 0; | |||
left: 0; | |||
width: 100%; | |||
height: 100%; | |||
pointer-events: none; | |||
border: 2px solid #E2D3AE; | |||
border-radius: 6px; | |||
transform: translate(4px, 4px); | |||
} | |||
.dune-card-inner { | |||
position: relative; | position: relative; | ||
z-index: 1; | z-index: 1; | ||
} | } | ||
.dune-card-label { | |||
color: #b6a896; | color: #b6a896; | ||
font-size: | font-size: 0.8em; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
margin-bottom: | margin-bottom: 6px; | ||
border-bottom: | border-bottom: 1px solid #444; | ||
padding-bottom: | padding-bottom: 4px; | ||
} | } | ||
.dune-card-title { | |||
margin: 0; | margin: 0; | ||
font-size: | font-size: 1.4em; | ||
color: | color: #E2D3AE; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
border-bottom: | border-bottom: 1px solid #444; | ||
padding-bottom: | padding-bottom: 4px; | ||
margin-bottom: | margin-bottom: 8px; | ||
} | } | ||
.dune-card-description { | |||
font-size: 1.1em; | |||
font-size: | |||
line-height: 1.4; | line-height: 1.4; | ||
background-color: | background-color: #262626; | ||
border-radius: | border-radius: 4px; | ||
border: | border: 1px solid #444; | ||
padding: | padding: 10px; | ||
margin-bottom: | margin-bottom: 10px; | ||
display: block !important; | display: block !important; | ||
} | } | ||
/* | /********************************************************** | ||
. | * RESPONSIVE LAYOUT | ||
**********************************************************/ | |||
margin: | .responsive-container { | ||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 0.25em; | |||
align-items: stretch; | |||
width: 100%; | |||
margin: 0.25em 0; | |||
box-sizing: border-box; | |||
} | } | ||
.responsive-col { | |||
display: flex; | |||
flex-direction: column; | |||
box-sizing: border-box; | |||
width: 100%; | |||
min-width: 350px; | |||
} | } | ||
@media screen and (min-width: 700px) { | |||
.responsive-col { | |||
width: calc(50% - 0.3em); | |||
} | |||
} | } | ||
@media screen and (min-width: 1100px) { | |||
.responsive-col { | |||
width: calc(33.333% - 0.26em); | |||
} | |||
} | } | ||
.responsive-col .skin-pivot:last-child { | |||
.skin-pivot | flex: 1 1 auto; | ||
display: flex; | |||
flex-direction: column; | |||
} | } | ||
.responsive-col .skin-pivot:last-child .dune-card { | |||
.skin-pivot .dune-card | flex: 1 1 auto; | ||
display: flex; | |||
flex-direction: column; | |||
} | } | ||
/********************************************************** | |||
* ADDITIONAL PANEL & TABLE STYLES (Game UI Feel) | |||
**********************************************************/ | |||
.skin-pivot .game-panel { | .skin-pivot .game-panel { | ||
background: linear-gradient(to bottom, #1a1a1a, | background: linear-gradient(to bottom, #1a1a1a, #1F2A37); | ||
border: | border: 1px solid #364957; | ||
border-radius: | border-radius: 5px; | ||
box-shadow: 0 0 8px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 215, 128, 0.1) inset; | box-shadow: 0 0 8px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 215, 128, 0.1) inset; | ||
margin-bottom: | margin-bottom: 10px; | ||
position: relative; | position: relative; | ||
overflow: hidden; | |||
overflow: | |||
} | } | ||
.skin-pivot .game-panel-header { | .skin-pivot .game-panel-header { | ||
background-color: rgba(196,127,58,0.2); | background-color: rgba(196,127,58,0.2); | ||
border-bottom: | border-bottom: 1px solid #C47F3A; | ||
padding: | padding: 6px 10px; | ||
position: relative; | position: relative; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
font-weight: bold; | font-weight: bold; | ||
color: | color: #E2D3AE; | ||
letter-spacing: 0.5px; | letter-spacing: 0.5px; | ||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
} | } | ||
.skin-pivot .game-panel-header::before, | .skin-pivot .game-panel-header::before, | ||
.skin-pivot .game-panel-header::after { | .skin-pivot .game-panel-header::after { | ||
| Line 736: | Line 587: | ||
width: 12px; | width: 12px; | ||
height: 12px; | height: 12px; | ||
border-top: | border-top: 2px solid #C47F3A; | ||
border-left: | border-left: 2px solid #C47F3A; | ||
transform: rotate(-45deg); | transform: rotate(-45deg); | ||
margin: 0 12px; | margin: 0 12px; | ||
} | } | ||
.skin-pivot .game-panel-header::after { | .skin-pivot .game-panel-header::after { | ||
transform: rotate(135deg); | transform: rotate(135deg); | ||
} | } | ||
.skin-pivot .game-panel-content { | .skin-pivot .game-panel-content { | ||
padding: 0 | padding: 8px 12px; | ||
color: #E0E0E0; | |||
font-size: | font-size: 0.9em; | ||
} | |||
/* Enhanced Table Styling */ | |||
.skin-pivot .game-table { | |||
width: 100%; | |||
border-collapse: collapse; | |||
margin-bottom: 10px; | |||
} | |||
.skin-pivot .game-table th { | |||
background-color: rgba(196,127,58,0.2); | |||
color: #E2D3AE; | |||
padding: 6px; | |||
text-align: left; | |||
font-size: 0.85em; | |||
text-transform: uppercase; | |||
letter-spacing: 0.5px; | |||
border-bottom: 1px solid #C47F3A; | |||
} | |||
.skin-pivot .game-table td { | |||
padding: 4px 6px; | |||
border-bottom: 1px solid rgba(196,127,58, 0.3); | |||
vertical-align: middle; | |||
} | |||
.skin-pivot .game-table tr:nth-child(even) td { | |||
background-color: rgba(15, 20, 25, 0.4); | |||
} | |||
.skin-pivot .game-table tr:last-child td { | |||
border-bottom: none; | |||
} | } | ||
/* Resource Item Styling */ | |||
/* Resource Item */ | |||
.skin-pivot .resource { | .skin-pivot .resource { | ||
display: inline-flex | display: inline-flex; | ||
align-items: center | align-items: center; | ||
padding: | padding: 2px 6px; | ||
background-color: | background-color: rgba(15, 20, 25, 0.6); | ||
border: | border: 1px solid rgba(196,127,58, 0.6); | ||
border-radius: | border-radius: 3px; | ||
margin: | margin-right: 5px; | ||
color: | margin-bottom: 5px; | ||
color: #E0E0E0; | |||
} | } | ||
.skin-pivot .resource .resource-icon { | .skin-pivot .resource .resource-icon { | ||
margin-right: | margin-right: 4px; | ||
} | } | ||
.skin-pivot .resource .resource-amount { | .skin-pivot .resource .resource-amount { | ||
font-weight: bold; | font-weight: bold; | ||
color: | color: #C47F3A; | ||
} | } | ||
/* Buttons */ | /* Buttons */ | ||
.skin-pivot .game-button { | .skin-pivot .game-button { | ||
background: linear-gradient(to bottom, | background: linear-gradient(to bottom, #C47F3A, #9F6230); | ||
border: | border: 1px solid #C47F3A; | ||
color: | color: #E2D3AE; | ||
padding: | padding: 8px 12px; | ||
border-radius: | border-radius: 3px; | ||
cursor: pointer; | cursor: pointer; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
font-size: | font-size: 0.85em; | ||
letter-spacing: 0.5px; | letter-spacing: 0.5px; | ||
transition: all 0.2s ease; | |||
position: relative; | position: relative; | ||
} | } | ||
.skin-pivot .game-button:hover { | .skin-pivot .game-button:hover { | ||
background: linear-gradient(to bottom, | background: linear-gradient(to bottom, #E28D4F, #B97233); | ||
box-shadow: 0 0 | box-shadow: 0 0 8px rgba(226, 141, 79, 0.4); | ||
} | } | ||
.skin-pivot .game-button:active { | .skin-pivot .game-button:active { | ||
top: 1px; | top: 1px; | ||
} | } | ||
/* Progress Bar */ | /* Progress Bar */ | ||
.skin-pivot .progress-bar { | .skin-pivot .progress-bar { | ||
height: 10px; | height: 10px; | ||
background-color: | background-color: rgba(15, 20, 25, 0.8); | ||
border: | border: 1px solid #C47F3A; | ||
border-radius: | border-radius: 5px; | ||
overflow: hidden; | overflow: hidden; | ||
margin: 5px 0; | margin: 5px 0; | ||
} | } | ||
.skin-pivot .progress-fill { | .skin-pivot .progress-fill { | ||
height: 100%; | height: 100%; | ||
background: linear-gradient(to right, | background: linear-gradient(to right, #C47F3A, #E28D4F); | ||
width: 0%; | width: 0%; | ||
transition: width 0.3s ease; | transition: width 0.3s ease; | ||
} | } | ||
/* Hover Effects for Interactive Elements */ | |||
.skin-pivot a:not(.game-button), | |||
.skin-pivot .clickable { | |||
transition: color 0.2s ease, text-shadow 0.2s ease; | |||
} | |||
.skin-pivot a:not(.game-button):hover, | |||
.skin-pivot .clickable:hover { | |||
color: #E28D4F; | |||
text-shadow: 0 0 5px rgba(226, 141, 79, 0.4); | |||
} | |||
/* Tooltip */ | /* Tooltip */ | ||
.skin-pivot .tooltip { | .skin-pivot .tooltip { | ||
| Line 825: | Line 698: | ||
cursor: help; | cursor: help; | ||
} | } | ||
.skin-pivot .tooltip .tooltip-text { | .skin-pivot .tooltip .tooltip-text { | ||
visibility: hidden; | visibility: hidden; | ||
width: 200px; | width: 200px; | ||
background-color: | background-color: #1F2A37; | ||
color: | color: #E0E0E0; | ||
text-align: center; | text-align: center; | ||
border: | border: 1px solid #C47F3A; | ||
border-radius: | border-radius: 5px; | ||
padding: | padding: 8px; | ||
position: absolute; | position: absolute; | ||
z-index: 1; | z-index: 1; | ||
| Line 842: | Line 714: | ||
opacity: 0; | opacity: 0; | ||
transition: opacity 0.3s; | transition: opacity 0.3s; | ||
box-shadow: | box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); | ||
font-size: | font-size: 0.85em; | ||
} | } | ||
.skin-pivot .tooltip:hover .tooltip-text { | .skin-pivot .tooltip:hover .tooltip-text { | ||
visibility: visible; | visibility: visible; | ||
opacity: 1; | opacity: 1; | ||
} | } | ||
/* Badge Indicators */ | /* Badge Indicators */ | ||
.skin-pivot .badge { | .skin-pivot .badge { | ||
display: inline-block; | display: inline-block; | ||
padding: 3px 6px; | padding: 3px 6px; | ||
border-radius: | border-radius: 3px; | ||
font-size: | font-size: 0.75em; | ||
margin-left: 5px; | margin-left: 5px; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
} | } | ||
.skin-pivot .badge-functional { | .skin-pivot .badge-functional { | ||
background-color: rgba(65, 130, 65, 0.3); | background-color: rgba(65, 130, 65, 0.3); | ||
border: | border: 1px solid #5a9d5a; | ||
color: #a3d9a3; | color: #a3d9a3; | ||
} | } | ||
.skin-pivot .badge-locked { | .skin-pivot .badge-locked { | ||
background-color: rgba(130, 65, 65, 0.3); | background-color: rgba(130, 65, 65, 0.3); | ||
border: | border: 1px solid #9d5a5a; | ||
color: #d9a3a3; | color: #d9a3a3; | ||
} | } | ||
/* Animation for loading */ | /* Animation for loading */ | ||
@keyframes pulsate { | @keyframes pulsate { | ||
| Line 878: | Line 745: | ||
50% { opacity: 1; } | 50% { opacity: 1; } | ||
} | } | ||
.skin-pivot .loading { | .skin-pivot .loading { | ||
animation: pulsate 1.5s infinite; | animation: pulsate 1.5s infinite; | ||
} | } | ||
/* | /********************************************************** | ||
* BREADCRUMBS, HEADINGS, ETC. | |||
**********************************************************/ | |||
.skin-pivot .breadcrumbs-container, | .skin-pivot .breadcrumbs-container, | ||
.skin-pivot .breadcrumb-trail { | .skin-pivot .breadcrumb-trail { | ||
| Line 891: | Line 759: | ||
padding: 0; | padding: 0; | ||
} | } | ||
.skin-pivot .breadcrumb-trail { | .skin-pivot .breadcrumb-trail { | ||
display: inline-flex; | display: inline-flex; | ||
align-items: center; | align-items: center; | ||
padding: 5px 0; | padding: 5px 0; | ||
color: | color: #C47F3A; | ||
} | } | ||
.skin-pivot .breadcrumb-unavailable { | .skin-pivot .breadcrumb-unavailable { | ||
background-color: | background-color: rgba(15, 20, 25, 0.6); | ||
border: | border: 1px solid #C47F3A; | ||
padding: 5px 10px; | padding: 5px 10px; | ||
margin-bottom: 10px; | margin-bottom: 10px; | ||
color: | color: #E0E0E0; | ||
font-size: | font-size: 0.9em; | ||
} | |||
.skin-pivot h1.firstHeading, | |||
.skin-pivot .page-header h1 { | |||
color: #E2D3AE; | |||
font-size: 1.6em; | |||
font-weight: bold; | |||
margin: 0 0 10px 0; | |||
padding-bottom: 5px; | |||
border-bottom: 2px solid rgba(196,127,58, 0.4); | |||
text-transform: uppercase; | |||
} | } | ||
.skin-pivot .fromdb { | .skin-pivot .fromdb { | ||
color: | color: #C47F3A; | ||
font-size: | font-size: 0.85em; | ||
margin: -5px 0 15px 0; | margin: -5px 0 15px 0; | ||
opacity: 0.7; | opacity: 0.7; | ||
} | } | ||
.skin-pivot .video-container { | .skin-pivot .video-container { | ||
border: | border: 1px solid #364957; | ||
border-radius: | border-radius: 3px; | ||
overflow: hidden; | overflow: hidden; | ||
margin-bottom: 8px; | |||
} | |||
.skin-pivot .related-buildings { | |||
padding: 8px; | |||
background-color: rgba(15, 20, 25, 0.4); | |||
} | |||
.skin-pivot .related-buildings p { | |||
margin: 5px 0; | |||
color: #E0E0E0; | |||
font-size: 0.9em; | |||
} | |||
.skin-pivot .schematic-section, | |||
.skin-pivot .crafting-section, | |||
.skin-pivot .tutorials-section { | |||
margin-bottom: 10px; | |||
} | |||
.skin-pivot .schematic-section .game-panel, | |||
.skin-pivot .crafting-section .game-panel, | |||
.skin-pivot .tutorials-section .game-panel { | |||
margin-bottom: 8px; | |||
} | |||
/* DuneDB Updated Infobox Colors */ | |||
/* OUTER BOX — darker black for main box */ | |||
.skin-pivot .dune-infobox, | |||
.skin-pivot table.infobox-dune, | |||
.skin-pivot .dune-card, | |||
.skin-pivot .game-panel { | |||
background-color: #000002 !important; | |||
border-color: #3a3a3a !important; | |||
} | |||
/* INNER BOXES — use subtle graphite color */ | |||
.skin-pivot .dune-infobox-description, | |||
.skin-pivot .dune-infobox-stats td, | |||
.skin-pivot .dune-infobox-stats th, | |||
.skin-pivot table.infobox-dune td, | |||
.skin-pivot table.infobox-dune th, | |||
.skin-pivot .game-table td, | |||
.skin-pivot .game-table th, | |||
.skin-pivot .dune-card-description, | |||
.skin-pivot .dune-card-infobox td, | |||
.skin-pivot .dune-card-infobox th { | |||
background-color: #161618 !important; | |||
color: #e2d3ae !important; | |||
border-color: #333 !important; | |||
} | |||
/* Enhanced double-outline for infoboxes, panels, and cards */ | |||
.skin-pivot .dune-infobox, | |||
.skin-pivot table.infobox-dune, | |||
.skin-pivot .dune-card, | |||
.skin-pivot .game-panel { | |||
background-color: #000002 !important; | |||
border: 1px solid #C47F3A; /* Bronze inner line */ | |||
position: relative; | |||
box-shadow: 0 0 0 2px #0a0a0a, /* Outer dark stroke */ | |||
0 0 8px rgba(0, 0, 0, 0.5); /* Optional glow */ | |||
border-radius: 4px; | |||
} | |||
/* Optional: style header blocks with bronze accents */ | |||
.skin-pivot .game-panel-header, | |||
.skin-pivot .dune-infobox-title, | |||
.skin-pivot .dune-card-title { | |||
border-bottom: 1px solid #C47F3A; | |||
color: #E2D3AE; | |||
} | |||
/* Optional: use a light glow effect on hover */ | |||
.skin-pivot .dune-card:hover, | |||
.skin-pivot .game-panel:hover, | |||
.skin-pivot .dune-infobox:hover { | |||
box-shadow: 0 0 0 2px #0a0a0a, | |||
0 0 10px rgba(226, 141, 79, 0.3); /* Orange glow */ | |||
} | |||
/********************************************************** | |||
* IMPROVED SPACING WITHOUT UNNECESSARY SCROLLBARS | |||
**********************************************************/ | |||
/* 1. Better column spacing across the page */ | |||
.responsive-container { | |||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 1.5em !important; /* Increased from 0.25em */ | |||
align-items: stretch; | |||
width: 100%; | |||
margin: 1em 0; | |||
box-sizing: border-box; | |||
} | |||
/* Ensure proper column widths with new gap */ | |||
@media screen and (min-width: 700px) { | |||
.responsive-col { | |||
width: calc(50% - 0.75em) !important; /* Adjusted for new gap */ | |||
} | |||
} | |||
@media screen and (min-width: 1100px) { | |||
.responsive-col { | |||
width: calc(33.333% - 1em) !important; /* Adjusted for new gap */ | |||
} | |||
} | |||
/* 2. Add padding inside game panels for better content spacing */ | |||
.skin-pivot .game-panel { | |||
padding: 12px !important; | |||
margin-bottom: 20px !important; /* Increase bottom margin for better separation */ | |||
overflow: visible !important; /* Remove scrollbars */ | |||
} | |||
.skin-pivot .game-panel-header { | |||
margin: -12px -12px 12px -12px !important; /* Negative margin to span full width */ | |||
padding: 8px 12px !important; | |||
} | |||
.skin-pivot .game-panel-content { | |||
padding: 0 !important; /* Remove redundant padding */ | |||
overflow: visible !important; /* Remove scrollbars */ | |||
} | |||
/* 3. Better spacing within tables */ | |||
.skin-pivot .game-table { | |||
width: 100% !important; | |||
table-layout: auto !important; /* Allow table to expand based on content */ | |||
border-collapse: separate !important; | |||
border-spacing: 0 !important; | |||
margin-bottom: 12px !important; | |||
} | |||
.skin-pivot .game-table th, | |||
.skin-pivot .game-table td { | |||
padding: 8px 10px !important; /* More breathing room */ | |||
vertical-align: middle !important; | |||
word-break: normal !important; | |||
line-height: 1.4 !important; | |||
} | |||
/* Ensure consistent cell sizing */ | |||
.skin-pivot .game-table th:first-child, | |||
.skin-pivot .game-table td:first-child { | |||
padding-left: 10px !important; | |||
} | |||
.skin-pivot .game-table th:last-child, | |||
.skin-pivot .game-table td:last-child { | |||
padding-right: 10px !important; | |||
} | |||
/* 4. Fixed width for certain columns to maintain consistency */ | |||
.skin-pivot .game-table .time-column, | |||
.skin-pivot .game-table .quantity-column { | |||
width: 100px !important; | |||
text-align: center !important; | |||
} | |||
/* 5. Make sure tables within infoboxes expand properly */ | |||
.skin-pivot table.infobox-dune { | |||
width: 100% !important; | |||
table-layout: auto !important; /* Allow content to determine width */ | |||
margin: 0 0 15px 0 !important; | margin: 0 0 15px 0 !important; | ||
} | } | ||
/* | .skin-pivot table.infobox-dune th, | ||
.skin-pivot table.infobox-dune td { | |||
padding: 8px 10px !important; | |||
line-height: 1.4 !important; | |||
} | |||
/* 6. Better spacing for the main sections */ | |||
.skin-pivot .schematic-section, | .skin-pivot .schematic-section, | ||
.skin-pivot .crafting-section, | .skin-pivot .crafting-section, | ||
| Line 931: | Line 972: | ||
.skin-pivot .related-buildings-section { | .skin-pivot .related-buildings-section { | ||
padding: 0 10px !important; | padding: 0 10px !important; | ||
margin-bottom: | margin-bottom: 20px !important; | ||
overflow: | overflow: visible !important; /* Remove scrollbars */ | ||
} | |||
/* 7. Fix scrollbar issues - only show when necessary */ | |||
.skin-pivot .dune-card, | |||
.skin-pivot .game-panel, | |||
.skin-pivot table.infobox-dune, | |||
.skin-pivot #content, | |||
.skin-pivot .mw-body, | |||
.skin-pivot .crafting-section, | |||
.skin-pivot .schematic-section, | |||
.skin-pivot .tutorials-section, | |||
.skin-pivot .related-buildings-section { | |||
overflow: visible !important; /* Default to visible */ | |||
} | |||
/* Only add horizontal scrolling to tables when they would overflow */ | |||
.skin-pivot .game-table-container { | |||
width: 100%; | |||
overflow-x: auto; /* Only add horizontal scroll when needed */ | |||
overflow-y: visible; /* No vertical scroll */ | |||
} | |||
/* 8. Improve spacing between elements inside infoboxes */ | |||
.skin-pivot .dune-card-title, | |||
.skin-pivot .game-panel-header, | |||
.skin-pivot table.infobox-dune th:first-of-type { | |||
margin-bottom: 12px !important; | |||
} | |||
.skin-pivot .dune-card-description, | |||
.skin-pivot .game-panel-content > p:first-child { | |||
margin-top: 0 !important; | |||
} | |||
.skin-pivot .dune-card-description, | |||
.skin-pivot .game-panel-content > p:last-child { | |||
margin-bottom: 0 !important; | |||
} | |||
/* 9. Better spacing in the crafting tables specifically */ | |||
.skin-pivot .crafting-section .game-table th, | |||
.skin-pivot .crafting-section .game-table td { | |||
vertical-align: middle !important; | |||
padding: 8px 12px !important; | |||
} | |||
/* Output column should expand to fill available space */ | |||
.skin-pivot .crafting-section .game-table th:first-child, | |||
.skin-pivot .crafting-section .game-table td:first-child { | |||
width: 30% !important; | |||
} | |||
/* Recipe column should be given most space */ | |||
.skin-pivot .crafting-section .game-table th:nth-child(2), | |||
.skin-pivot .crafting-section .game-table td:nth-child(2) { | |||
width: 50% !important; | |||
} | |||
/* Time column should be fixed width */ | |||
.skin-pivot .crafting-section .game-table th:last-child, | |||
.skin-pivot .crafting-section .game-table td:last-child { | |||
width: 20% !important; | |||
text-align: center !important; | |||
} | |||
/* 10. Improve the layout of the building properties table */ | |||
.skin-pivot .schematic-section .game-table th:first-child, | |||
.skin-pivot .schematic-section .game-table td:first-child { | |||
width: 40% !important; | |||
} | |||
.skin-pivot .schematic-section .game-table th:last-child, | |||
.skin-pivot .schematic-section .game-table td:last-child { | |||
width: 60% !important; | |||
} | |||
/* 11. Better spacing for inventory, power, health icons */ | |||
.skin-pivot .resource { | |||
margin: 0 5px 5px 0 !important; | |||
padding: 4px 8px !important; | |||
display: inline-flex !important; | |||
align-items: center !important; | |||
} | |||
/* 12. Video container spacing */ | |||
.skin-pivot .video-container { | |||
margin: 0 0 15px 0 !important; | |||
border-radius: 4px !important; | |||
overflow: hidden !important; /* Only keep overflow hidden for video containers */ | |||
} | } | ||
/* | /* 13. Add a clearfix to prevent floating issues */ | ||
.skin-pivot .clearfix::after { | .skin-pivot .clearfix::after { | ||
content: ""; | content: ""; | ||
| Line 942: | Line 1,072: | ||
} | } | ||
/* | /* 14. Remove scrollbars from specific containers */ | ||
.skin-pivot .dune- | .skin-pivot .off-canvas-wrap, | ||
.skin-pivot .inner-wrap, | |||
margin: 0 auto; | .skin-pivot #page-base, | ||
padding: 0 | .skin-pivot .page-base, | ||
.skin-pivot #main-section.main-section, | |||
.skin-pivot #page-content, | |||
.skin-pivot .row, | |||
.skin-pivot .columns, | |||
.skin-pivot #sidebar.large-2.medium-3.columns.hide-for-small.hide-for-print { | |||
overflow: visible !important; | |||
} | |||
/* 15. Fix for NESTED scrollbars in MediaWiki */ | |||
.mw-body-content { | |||
overflow: visible !important; | |||
} | |||
.skin-pivot .mw-body, | |||
.skin-pivot #content, | |||
.skin-pivot #mw-content-text { | |||
overflow: visible !important; | |||
} | |||
/* 16. Wrap long text instead of forcing horizontal scroll */ | |||
.skin-pivot table.game-table td, | |||
.skin-pivot table.infobox-dune td { | |||
word-wrap: break-word !important; | |||
overflow-wrap: break-word !important; | |||
max-width: 500px !important; /* Prevent extremely wide cells */ | |||
} | |||
/********************************************************** | |||
* ICON ALIGNMENT AND TEXT FORMATTING FIXES | |||
**********************************************************/ | |||
/* 1. Remove sepia filter and fix icon alignment */ | |||
.skin-pivot table.game-table svg path, | |||
.skin-pivot table.game-table img, | |||
.skin-pivot table.game-table i, | |||
.skin-pivot table.infobox-dune svg path, | |||
.skin-pivot table.infobox-dune img, | |||
.skin-pivot table.infobox-dune i { | |||
fill: inherit !important; /* Remove color overrides */ | |||
color: inherit !important; | |||
filter: none !important; /* Remove sepia filter */ | |||
} | |||
/* 2. Properly align emoji icons in infobox-dune table */ | |||
.skin-pivot table.infobox-dune tr th { | |||
position: relative !important; | |||
padding-left: 32px !important; /* Space for emoji icon */ | |||
text-transform: none !important; /* Remove uppercase transformation */ | |||
} | |||
.skin-pivot table.infobox-dune tr th .icon { | |||
position: absolute !important; | |||
left: 8px !important; | |||
top: 50% !important; | |||
transform: translateY(-50%) !important; | |||
font-size: 18px !important; | |||
} | |||
/* 3. Improved Locked Behind section */ | |||
.skin-pivot .dune-card-locked { | |||
margin: 15px 0 !important; | |||
background-color: rgba(15, 20, 25, 0.6) !important; | |||
border: 1px solid #C47F3A !important; | |||
border-radius: 4px !important; | |||
padding: 10px !important; | |||
position: relative !important; | |||
text-align: center !important; /* Center align text */ | |||
} | |||
.skin-pivot .dune-card-locked-label { | |||
color: #E2D3AE !important; | |||
font-weight: bold !important; | |||
font-size: 0.9em !important; | |||
letter-spacing: 0.5px !important; | |||
margin-bottom: 6px !important; | |||
border-bottom: 1px solid rgba(196, 127, 58, 0.4) !important; | |||
padding-bottom: 4px !important; | |||
display: flex !important; | |||
align-items: center !important; | |||
justify-content: center !important; /* Center icon and text */ | |||
} | |||
.skin-pivot .dune-card-locked-icon { | |||
display: inline-flex !important; | |||
align-items: center !important; | |||
justify-content: center !important; | |||
width: 18px !important; | |||
height: 18px !important; | |||
margin-right: 6px !important; | |||
color: #C47F3A !important; | |||
font-size: 16px !important; | |||
} | |||
.skin-pivot .dune-card-locked-value { | |||
color: #E28D4F !important; | |||
font-weight: bold !important; | |||
padding: 4px 0 !important; /* Add padding but remove left padding */ | |||
} | |||
/* 4. Consistent styling between infobox-dune and dune-card-locked */ | |||
.skin-pivot .dune-card-locked, | |||
.skin-pivot table.infobox-dune { | |||
background-color: #000002 !important; | |||
border: 1px solid #3a3a3a !important; | |||
box-shadow: | |||
0 0 0 1px #3a3a3a, | |||
0 0 0 2px #000002, | |||
0 0 0 3px #C47F3A, | |||
0 0 15px rgba(196, 127, 58, 0.2) !important; | |||
border-radius: 4px !important; | |||
} | |||
/* 5. Header for Locked Behind to match other section headers */ | |||
.skin-pivot .locked-behind-header { | |||
background-color: rgba(196,127,58,0.2) !important; | |||
border-bottom: 1px solid #C47F3A !important; | |||
padding: 8px 12px !important; | |||
margin: -10px -10px 10px -10px !important; | |||
position: relative !important; | |||
text-transform: uppercase !important; | |||
font-weight: bold !important; | |||
color: #E2D3AE !important; | |||
letter-spacing: 0.5px !important; | |||
display: flex !important; | |||
align-items: center !important; | |||
justify-content: center !important; | |||
} | |||
.skin-pivot .locked-behind-header .icon { | |||
margin-right: 6px !important; | |||
} | |||
/* 6. Add space between the first description section and the locked behind section */ | |||
.skin-pivot .dune-card-description + .dune-card-locked { | |||
margin-top: 20px !important; | |||
} | |||
/* 7. Make sure icons in the recipe section align properly */ | |||
.skin-pivot .game-table tr td span.resource, | |||
.skin-pivot .infobox-dune tr td span.resource { | |||
display: inline-flex !important; | |||
align-items: center !important; | |||
margin: 2px 5px 2px 0 !important; | |||
} | |||
.skin-pivot .game-table tr td span.resource img, | |||
.skin-pivot .infobox-dune tr td span.resource img { | |||
margin-right: 4px !important; | |||
width: 16px !important; | |||
height: 16px !important; | |||
} | |||
/* 8. Fix for journey link text */ | |||
.skin-pivot a[href*="Journey"] { | |||
color: #E28D4F !important; | |||
text-decoration: none !important; | |||
font-weight: bold !important; | |||
transition: text-shadow 0.2s ease !important; | |||
display: inline-block !important; | |||
margin: 0 auto !important; /* Help with centering */ | |||
} | |||
/* 9. Special case for specific lockbox layout */ | |||
.skin-pivot .lockbox { | |||
text-align: center !important; | |||
} | |||
.skin-pivot .lockbox .lockbox-header { | |||
background-color: rgba(196,127,58,0.2) !important; | |||
border-bottom: 1px solid #C47F3A !important; | |||
padding: 8px 12px !important; | |||
margin-bottom: 10px !important; | |||
text-transform: uppercase !important; | |||
font-weight: bold !important; | |||
color: #E2D3AE !important; | |||
letter-spacing: 0.5px !important; | |||
display: flex !important; | |||
align-items: center !important; | |||
justify-content: center !important; | |||
} | } | ||
/* | /* Add consistent spacing below the building info table */ | ||
.skin-pivot .dune | .skin-pivot table.infobox-dune { | ||
margin-bottom: 20px !important; | |||
} | } | ||
/* | /* 10. Specific adjustments for building type icons in first column */ | ||
.skin-pivot . | .skin-pivot table.infobox-dune tr th:first-child .icon { | ||
margin-right: 6px !important; | |||
width: auto !important; | |||
height: auto !important; | |||
} | } | ||
/* | /********************************************************** | ||
* DUNE THEME: INVENTORY UI ENHANCEMENTS | |||
**********************************************************/ | |||
/* Inventory grid layout for panels mimicking game UI */ | |||
.skin-pivot .inventory-grid { | .skin-pivot .inventory-grid { | ||
display: grid; | display: grid; | ||
| Line 973: | Line 1,281: | ||
gap: 6px; | gap: 6px; | ||
padding: 10px; | padding: 10px; | ||
background-color: | background-color: #0f1419; | ||
border: | border: 1px solid #3a3a3a; | ||
border-radius: | border-radius: 6px; | ||
box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5); | box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5); | ||
} | } | ||
/* Individual inventory-style slot */ | |||
.skin-pivot .inventory-slot { | .skin-pivot .inventory-slot { | ||
background-color: rgba(22, 22, 24, 0.8); | background-color: rgba(22, 22, 24, 0.8); | ||
border: | border: 1px solid rgba(196, 127, 58, 0.4); | ||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
| Line 989: | Line 1,298: | ||
transition: box-shadow 0.2s; | transition: box-shadow 0.2s; | ||
font-size: 1.4em; | font-size: 1.4em; | ||
color: | color: #E2D3AE; | ||
} | } | ||
.skin-pivot .inventory-slot:hover { | .skin-pivot .inventory-slot:hover { | ||
box-shadow: 0 0 4px | box-shadow: 0 0 4px #E28D4F; | ||
} | } | ||
/* Highlighted slot for active selection */ | |||
.skin-pivot .dune-selected { | .skin-pivot .dune-selected { | ||
border: | border: 2px solid #E28D4F !important; | ||
box-shadow: 0 0 8px rgba(226, 141, 79, 0.6); | box-shadow: 0 0 8px rgba(226, 141, 79, 0.6); | ||
} | } | ||
/* | /* Consistent centered container */ | ||
.skin-pivot . | .skin-pivot .dune-container { | ||
text- | max-width: 1080px; | ||
margin: 0 auto; | |||
padding: 0 1em; | |||
} | |||
/* Divider for segments inside panels or cards */ | |||
.skin-pivot .dune-divider { | |||
height: 1px; | |||
background: linear-gradient(to right, transparent, rgba(255,255,255,0.15), transparent); | |||
margin: 1em 0; | |||
} | |||
/* Uppercase UI labels */ | |||
.skin-pivot .label-ui { | |||
letter-spacing: 1.2px; | |||
text-transform: uppercase; | |||
color: #C47F3A; | |||
font-size: 0.75em; | |||
margin-bottom: 4px; | |||
} | |||
/* Button enhancements for more depth and glow */ | |||
.skin-pivot .game-button { | |||
background: linear-gradient(to bottom, #C47F3A, #9F6230); | |||
border: 1px solid #C47F3A; | |||
color: #E2D3AE; | |||
padding: 8px 12px; | |||
border-radius: 3px; | |||
cursor: pointer; | |||
text-transform: uppercase; | |||
font-size: 0.85em; | |||
letter-spacing: 0.5px; | |||
box-shadow: 0 0 3px #C47F3A, inset 0 0 5px #5a3c1d; | |||
transition: all 0.2s ease; | |||
position: relative; | |||
} | |||
.skin-pivot .game-button:hover { | |||
background: linear-gradient(to bottom, #E28D4F, #B97233); | |||
box-shadow: 0 0 6px #E28D4F, 0 0 12px rgba(226, 141, 79, 0.6); | |||
} | |||
.skin-pivot .game-button:active { | |||
top: 1px; | |||
} | } | ||
.skin-pivot | /* Typography tweaks */ | ||
body.skin-pivot { | |||
font-family: "Orbitron", "Segoe UI", sans-serif; | |||
line-height: 1.35; | |||
font-size: 15px; | |||
font- | |||
} | } | ||
Revision as of 00:03, 4 April 2025
/**********************************************************
* Dune-Themed Pivot Skin (Integrated Full CSS with
* Full-Screen Background & Infobox Overrides)
**********************************************************/
/* 1) RESET MARGINS & ENSURE BODY CAN GROW AS TALL AS NEEDED */
html, body {
margin: 0;
padding: 0;
height: 100%;
min-height: 100%;
}
/* 2) FULLSCREEN BACKGROUND IMAGE */
/* Uses your [[:File:DuneDB Background.jpg]] file */
body.skin-pivot {
background: url('https://dunedb.com/images/5/57/DuneDB_Background.jpg') no-repeat center center fixed;
background-size: cover;
background-attachment: fixed;
color: #E0E0E0;
font-family: "Orbitron", sans-serif;
}
/* 3) TRANSPARENT MAIN CONTAINERS */
.skin-pivot #content,
.skin-pivot .mw-body,
.skin-pivot .mw-content-ltr,
.skin-pivot .mw-content-rtl {
background: transparent;
padding: 15px;
border-radius: 10px;
margin: 0;
}
/* 4) FORCE MAJOR WRAPPERS TO BE TRANSPARENT */
.skin-pivot .off-canvas-wrap,
.skin-pivot .docs-wrap,
.skin-pivot .inner-wrap,
.skin-pivot #page-base,
.skin-pivot .page-base,
.skin-pivot #main-section.main-section,
.skin-pivot #page-content,
.skin-pivot .row,
.skin-pivot .columns,
.skin-pivot #sidebar.large-2.medium-3.columns.hide-for-small.hide-for-print,
.skin-pivot .exit-off-canvas {
background: transparent !important;
border: none !important;
}
/* 5) FOOTER, CATLINKS, PRINTFOOTER: ALSO TRANSPARENT */
.skin-pivot footer,
.skin-pivot .footer,
.skin-pivot #footer,
.skin-pivot .mw-footer,
.skin-pivot #mw-footer-container,
.skin-pivot #mw-footer,
.skin-pivot #catlinks,
.skin-pivot .catlinks,
.skin-pivot .printfooter,
.skin-pivot #mw-data-after-content {
background: transparent !important;
border: none !important;
color: #E0E0E0 !important;
}
/**********************************************************
* NAVIGATION & HEADINGS
**********************************************************/
/* Navbars */
.skin-pivot .navbar,
.skin-pivot .navbar-default,
.skin-pivot .navbar-inverse {
background: rgba(15, 20, 25, 0.9) !important;
border: none !important;
color: #E0E0E0 !important;
}
.skin-pivot .navbar-nav > li > a,
.skin-pivot .dropdown-menu > li > a {
color: #C47F3A !important;
font-weight: bold !important;
text-decoration: none;
}
.skin-pivot .navbar-nav > li > a:hover,
.skin-pivot .dropdown-menu > li > a:hover {
color: #E28D4F !important;
text-decoration: underline;
}
/* Sidebar & Panels */
.skin-pivot #nav,
.skin-pivot #nav-wrapper,
.skin-pivot .nav-content,
.skin-pivot .list-group,
.skin-pivot .list-group-item {
background: rgba(15, 20, 25, 0.9);
border: none;
color: #E0E0E0;
}
.skin-pivot .list-group-item:hover {
background-color: rgba(15, 20, 25, 1);
}
/* Sidebar / Panel Headings */
.skin-pivot #nav h3,
.skin-pivot #nav-wrapper h3,
.skin-pivot .panel-heading,
.skin-pivot .nav-content h3 {
background-color: transparent;
border: none;
color: #E2D3AE;
margin: 10px 0 5px;
font-weight: bold;
text-transform: uppercase;
}
/* Main content headings */
.skin-pivot h1,
.skin-pivot h2,
.skin-pivot h3,
.skin-pivot h4,
.skin-pivot h5,
.skin-pivot h6 {
color: #E2D3AE;
font-weight: bold;
margin-top: 1em;
margin-bottom: 0.5em;
border-bottom: none;
text-transform: none;
padding-bottom: 5px;
}
.skin-pivot h1,
.skin-pivot h3 {
border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}
/* Links site-wide */
.skin-pivot a {
color: #C47F3A;
text-decoration: none;
font-weight: bold;
}
.skin-pivot a:hover {
color: #E28D4F;
text-decoration: underline;
}
.skin-pivot a.new,
.skin-pivot a.new:visited {
color: #BA0000 !important;
text-decoration: underline;
}
.skin-pivot a.new:hover {
color: #DD0000 !important;
}
/**********************************************************
* PIVOT NAV OVERRIDES
**********************************************************/
.skin-pivot nav.tab-bar.hide-for-print {
background: rgba(15, 20, 25, 0.9);
border: none;
color: #E0E0E0;
padding: 0.5em;
}
.skin-pivot nav.tab-bar.hide-for-print a {
color: #C47F3A;
font-weight: bold;
}
.skin-pivot nav.tab-bar.hide-for-print a:hover {
color: #E28D4F;
text-decoration: underline;
}
.skin-pivot nav.tab-bar.hide-for-print .title a {
color: #E2D3AE;
font-size: 1.2em;
text-transform: uppercase;
}
.skin-pivot #left-nav-aside,
.skin-pivot #middle-nav,
.skin-pivot #right-nav-aside {
background-color: transparent;
color: #E0E0E0;
}
.skin-pivot li.name.logo img {
max-width: 100%;
height: auto;
display: inline-block;
vertical-align: middle;
}
.skin-pivot li.has-form input[type="search"] {
background: rgba(30, 40, 50, 0.8);
color: #E0E0E0;
border: 1px solid #C47F3A;
padding: 0.5em;
width: 100%;
}
.skin-pivot li.has-form input[type="search"]::placeholder {
color: #C9B795;
}
.skin-pivot label.sidebar {
background-color: transparent;
color: #E2D3AE;
font-weight: bold;
text-transform: uppercase;
padding: 0.5em 0;
display: block;
border-bottom: 2px solid rgba(255, 255, 255, 0.2);
margin-bottom: 0.5em;
}
.skin-pivot li.mw-list-item a {
color: #C47F3A;
font-weight: bold;
text-decoration: none;
display: block;
padding: 0.25em 0;
}
.skin-pivot li.mw-list-item a:hover {
color: #E28D4F;
text-decoration: underline;
}
/**********************************************************
* SIDEBAR/HIDING TOOLS
**********************************************************/
html body.skin-pivot #p-tb,
html body.skin-pivot #p-tb + ul,
html body.skin-pivot #p-tb + li,
li[id^="t-"] {
display: none !important;
}
/**********************************************************
* TABLES
**********************************************************/
/* Two-Column Table */
.skin-pivot table.two-column-table {
background-color: #1A232F !important;
border: none !important;
width: 100% !important;
table-layout: fixed;
}
.skin-pivot table.two-column-table thead,
.skin-pivot table.two-column-table tbody,
.skin-pivot table.two-column-table tfoot {
background-color: #1A232F !important;
border: none !important;
}
.skin-pivot table.two-column-table th,
.skin-pivot table.two-column-table td {
background-color: #1A232F !important;
border: none !important;
vertical-align: top;
}
.skin-pivot table.two-column-table > tbody > tr > td:first-child {
border-right: 2px solid rgba(255, 255, 255, 0.2) !important;
}
@media only screen and (max-width: 600px) {
.skin-pivot table.two-column-table > tbody > tr {
display: flex;
flex-direction: column;
}
.skin-pivot table.two-column-table > tbody > tr > td {
width: 100%;
border: none !important;
}
}
/**********************************************************
* INFOBOX COLORS & STYLES
**********************************************************/
/* IMPROVED INFOBOX BORDERS AND STYLING */
/* 1. Enhanced Infobox Base */
.skin-pivot .dune-infobox,
.skin-pivot table.infobox-dune,
.skin-pivot .dune-card,
.skin-pivot .game-panel {
background-color: #000002 !important;
border: none !important; /* Remove standard border */
box-shadow:
0 0 0 1px #3a3a3a,
0 0 0 2px #000002,
0 0 0 3px #C47F3A,
0 0 15px rgba(196, 127, 58, 0.2) !important; /* Layered borders with glow */
position: relative;
border-radius: 4px !important;
padding: 16px !important;
margin: 1em 0 !important;
}
/* 2. Decorative Corner Elements */
.skin-pivot .dune-infobox::before,
.skin-pivot .dune-infobox::after,
.skin-pivot table.infobox-dune::before,
.skin-pivot table.infobox-dune::after,
.skin-pivot .dune-card::before,
.skin-pivot .dune-card::after,
.skin-pivot .game-panel::before,
.skin-pivot .game-panel::after {
content: '';
position: absolute;
width: 12px;
height: 12px;
border: 1px solid #C47F3A;
pointer-events: none;
z-index: 1;
}
/* Top-left corner */
.skin-pivot .dune-infobox::before,
.skin-pivot table.infobox-dune::before,
.skin-pivot .dune-card::before,
.skin-pivot .game-panel::before {
top: 4px;
left: 4px;
border-right: none;
border-bottom: none;
}
/* Bottom-right corner */
.skin-pivot .dune-infobox::after,
.skin-pivot table.infobox-dune::after,
.skin-pivot .dune-card::after,
.skin-pivot .game-panel::after {
bottom: 4px;
right: 4px;
border-left: none;
border-top: none;
}
/* 3. Add diagonal accent lines to corners */
.skin-pivot .dune-infobox-title,
.skin-pivot table.infobox-dune th:first-child,
.skin-pivot .dune-card-title,
.skin-pivot .game-panel-header {
position: relative;
overflow: visible !important;
}
.skin-pivot .dune-infobox-title::before,
.skin-pivot .dune-infobox-title::after,
.skin-pivot .dune-card-title::before,
.skin-pivot .dune-card-title::after,
.skin-pivot .game-panel-header::before,
.skin-pivot .game-panel-header::after {
content: '';
position: absolute;
width: 20px;
height: 2px;
background-color: #C47F3A;
top: 50%;
transform: translateY(-50%);
}
.skin-pivot .dune-infobox-title::before,
.skin-pivot .dune-card-title::before,
.skin-pivot .game-panel-header::before {
left: -25px;
}
.skin-pivot .dune-infobox-title::after,
.skin-pivot .dune-card-title::after,
.skin-pivot .game-panel-header::after {
right: -25px;
}
/* 4. Inner Container Styling */
.skin-pivot .dune-infobox-description,
.skin-pivot .dune-infobox-stats td,
.skin-pivot .dune-infobox-stats th,
.skin-pivot table.infobox-dune td,
.skin-pivot table.infobox-dune th,
.skin-pivot .dune-card-description,
.skin-pivot .game-table td,
.skin-pivot .game-table th {
background-color: #161618 !important;
color: #e2d3ae !important;
border: 1px solid #333 !important;
position: relative;
overflow: hidden;
}
/* 5. Glowing border effect on hover */
.skin-pivot .dune-infobox:hover,
.skin-pivot table.infobox-dune:hover,
.skin-pivot .dune-card:hover,
.skin-pivot .game-panel:hover {
box-shadow:
0 0 0 1px #3a3a3a,
0 0 0 2px #000002,
0 0 0 3px #E28D4F,
0 0 20px rgba(226, 141, 79, 0.4) !important;
transition: box-shadow 0.3s ease;
}
/* 6. Improved table head styling */
.skin-pivot table.infobox-dune th,
.skin-pivot .game-table th {
background: linear-gradient(to bottom, #1A1A1A, #101010) !important;
text-transform: uppercase;
letter-spacing: 1px;
text-shadow: 0 0 5px rgba(226, 141, 79, 0.5);
border-bottom: 2px solid #C47F3A !important;
}
/* 7. Replace dune-card-decoration with more sci-fi approach */
.skin-pivot .dune-card-decoration {
display: none; /* Remove the existing decoration */
}
.skin-pivot .dune-card {
overflow: visible;
}
.skin-pivot .dune-card::before,
.skin-pivot .dune-card::after {
content: '';
position: absolute;
width: 20px;
height: 20px;
border: 2px solid #C47F3A;
z-index: 1;
}
.skin-pivot .dune-card::before {
top: -5px;
left: -5px;
border-right: none;
border-bottom: none;
}
.skin-pivot .dune-card::after {
bottom: -5px;
right: -5px;
border-left: none;
border-top: none;
}
/* 8. Additional subtle tech pattern for background */
.skin-pivot .dune-infobox,
.skin-pivot table.infobox-dune,
.skin-pivot .dune-card,
.skin-pivot .game-panel {
background-image:
linear-gradient(rgba(20, 30, 40, 0.1) 1px, transparent 1px),
linear-gradient(90deg, rgba(20, 30, 40, 0.1) 1px, transparent 1px) !important;
background-size: 20px 20px !important;
background-position: -1px -1px !important;
}
/* 9. Enhanced focus on important data */
.skin-pivot table.infobox-dune td strong,
.skin-pivot .dune-infobox strong,
.skin-pivot .dune-card strong {
color: #E28D4F;
text-shadow: 0 0 3px rgba(226, 141, 79, 0.3);
font-weight: bold;
}
/**********************************************************
* DUNE-CARD STYLES
**********************************************************/
.dune-card {
position: relative;
background-color: #1F2A37;
color: #E2D3AE;
width: auto !important;
max-width: 100% !important;
padding: 16px;
margin: 1em;
border: 1px solid #E2D3AE;
border-radius: 6px;
box-sizing: border-box;
}
.dune-card-decoration {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
border: 2px solid #E2D3AE;
border-radius: 6px;
transform: translate(4px, 4px);
}
.dune-card-inner {
position: relative;
z-index: 1;
}
.dune-card-label {
color: #b6a896;
font-size: 0.8em;
text-transform: uppercase;
margin-bottom: 6px;
border-bottom: 1px solid #444;
padding-bottom: 4px;
}
.dune-card-title {
margin: 0;
font-size: 1.4em;
color: #E2D3AE;
text-transform: uppercase;
border-bottom: 1px solid #444;
padding-bottom: 4px;
margin-bottom: 8px;
}
.dune-card-description {
font-size: 1.1em;
line-height: 1.4;
background-color: #262626;
border-radius: 4px;
border: 1px solid #444;
padding: 10px;
margin-bottom: 10px;
display: block !important;
}
/**********************************************************
* RESPONSIVE LAYOUT
**********************************************************/
.responsive-container {
display: flex;
flex-wrap: wrap;
gap: 0.25em;
align-items: stretch;
width: 100%;
margin: 0.25em 0;
box-sizing: border-box;
}
.responsive-col {
display: flex;
flex-direction: column;
box-sizing: border-box;
width: 100%;
min-width: 350px;
}
@media screen and (min-width: 700px) {
.responsive-col {
width: calc(50% - 0.3em);
}
}
@media screen and (min-width: 1100px) {
.responsive-col {
width: calc(33.333% - 0.26em);
}
}
.responsive-col .skin-pivot:last-child {
flex: 1 1 auto;
display: flex;
flex-direction: column;
}
.responsive-col .skin-pivot:last-child .dune-card {
flex: 1 1 auto;
display: flex;
flex-direction: column;
}
/**********************************************************
* ADDITIONAL PANEL & TABLE STYLES (Game UI Feel)
**********************************************************/
.skin-pivot .game-panel {
background: linear-gradient(to bottom, #1a1a1a, #1F2A37);
border: 1px solid #364957;
border-radius: 5px;
box-shadow: 0 0 8px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 215, 128, 0.1) inset;
margin-bottom: 10px;
position: relative;
overflow: hidden;
}
.skin-pivot .game-panel-header {
background-color: rgba(196,127,58,0.2);
border-bottom: 1px solid #C47F3A;
padding: 6px 10px;
position: relative;
text-transform: uppercase;
font-weight: bold;
color: #E2D3AE;
letter-spacing: 0.5px;
display: flex;
align-items: center;
}
.skin-pivot .game-panel-header::before,
.skin-pivot .game-panel-header::after {
content: '';
display: inline-block;
width: 12px;
height: 12px;
border-top: 2px solid #C47F3A;
border-left: 2px solid #C47F3A;
transform: rotate(-45deg);
margin: 0 12px;
}
.skin-pivot .game-panel-header::after {
transform: rotate(135deg);
}
.skin-pivot .game-panel-content {
padding: 8px 12px;
color: #E0E0E0;
font-size: 0.9em;
}
/* Enhanced Table Styling */
.skin-pivot .game-table {
width: 100%;
border-collapse: collapse;
margin-bottom: 10px;
}
.skin-pivot .game-table th {
background-color: rgba(196,127,58,0.2);
color: #E2D3AE;
padding: 6px;
text-align: left;
font-size: 0.85em;
text-transform: uppercase;
letter-spacing: 0.5px;
border-bottom: 1px solid #C47F3A;
}
.skin-pivot .game-table td {
padding: 4px 6px;
border-bottom: 1px solid rgba(196,127,58, 0.3);
vertical-align: middle;
}
.skin-pivot .game-table tr:nth-child(even) td {
background-color: rgba(15, 20, 25, 0.4);
}
.skin-pivot .game-table tr:last-child td {
border-bottom: none;
}
/* Resource Item Styling */
.skin-pivot .resource {
display: inline-flex;
align-items: center;
padding: 2px 6px;
background-color: rgba(15, 20, 25, 0.6);
border: 1px solid rgba(196,127,58, 0.6);
border-radius: 3px;
margin-right: 5px;
margin-bottom: 5px;
color: #E0E0E0;
}
.skin-pivot .resource .resource-icon {
margin-right: 4px;
}
.skin-pivot .resource .resource-amount {
font-weight: bold;
color: #C47F3A;
}
/* Buttons */
.skin-pivot .game-button {
background: linear-gradient(to bottom, #C47F3A, #9F6230);
border: 1px solid #C47F3A;
color: #E2D3AE;
padding: 8px 12px;
border-radius: 3px;
cursor: pointer;
text-transform: uppercase;
font-size: 0.85em;
letter-spacing: 0.5px;
transition: all 0.2s ease;
position: relative;
}
.skin-pivot .game-button:hover {
background: linear-gradient(to bottom, #E28D4F, #B97233);
box-shadow: 0 0 8px rgba(226, 141, 79, 0.4);
}
.skin-pivot .game-button:active {
top: 1px;
}
/* Progress Bar */
.skin-pivot .progress-bar {
height: 10px;
background-color: rgba(15, 20, 25, 0.8);
border: 1px solid #C47F3A;
border-radius: 5px;
overflow: hidden;
margin: 5px 0;
}
.skin-pivot .progress-fill {
height: 100%;
background: linear-gradient(to right, #C47F3A, #E28D4F);
width: 0%;
transition: width 0.3s ease;
}
/* Hover Effects for Interactive Elements */
.skin-pivot a:not(.game-button),
.skin-pivot .clickable {
transition: color 0.2s ease, text-shadow 0.2s ease;
}
.skin-pivot a:not(.game-button):hover,
.skin-pivot .clickable:hover {
color: #E28D4F;
text-shadow: 0 0 5px rgba(226, 141, 79, 0.4);
}
/* Tooltip */
.skin-pivot .tooltip {
position: relative;
display: inline-block;
cursor: help;
}
.skin-pivot .tooltip .tooltip-text {
visibility: hidden;
width: 200px;
background-color: #1F2A37;
color: #E0E0E0;
text-align: center;
border: 1px solid #C47F3A;
border-radius: 5px;
padding: 8px;
position: absolute;
z-index: 1;
bottom: 125%;
left: 50%;
margin-left: -100px;
opacity: 0;
transition: opacity 0.3s;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
font-size: 0.85em;
}
.skin-pivot .tooltip:hover .tooltip-text {
visibility: visible;
opacity: 1;
}
/* Badge Indicators */
.skin-pivot .badge {
display: inline-block;
padding: 3px 6px;
border-radius: 3px;
font-size: 0.75em;
margin-left: 5px;
text-transform: uppercase;
}
.skin-pivot .badge-functional {
background-color: rgba(65, 130, 65, 0.3);
border: 1px solid #5a9d5a;
color: #a3d9a3;
}
.skin-pivot .badge-locked {
background-color: rgba(130, 65, 65, 0.3);
border: 1px solid #9d5a5a;
color: #d9a3a3;
}
/* Animation for loading */
@keyframes pulsate {
0%, 100% { opacity: 0.6; }
50% { opacity: 1; }
}
.skin-pivot .loading {
animation: pulsate 1.5s infinite;
}
/**********************************************************
* BREADCRUMBS, HEADINGS, ETC.
**********************************************************/
.skin-pivot .breadcrumbs-container,
.skin-pivot .breadcrumb-trail {
background: transparent;
border: none;
margin: 0;
padding: 0;
}
.skin-pivot .breadcrumb-trail {
display: inline-flex;
align-items: center;
padding: 5px 0;
color: #C47F3A;
}
.skin-pivot .breadcrumb-unavailable {
background-color: rgba(15, 20, 25, 0.6);
border: 1px solid #C47F3A;
padding: 5px 10px;
margin-bottom: 10px;
color: #E0E0E0;
font-size: 0.9em;
}
.skin-pivot h1.firstHeading,
.skin-pivot .page-header h1 {
color: #E2D3AE;
font-size: 1.6em;
font-weight: bold;
margin: 0 0 10px 0;
padding-bottom: 5px;
border-bottom: 2px solid rgba(196,127,58, 0.4);
text-transform: uppercase;
}
.skin-pivot .fromdb {
color: #C47F3A;
font-size: 0.85em;
margin: -5px 0 15px 0;
opacity: 0.7;
}
.skin-pivot .video-container {
border: 1px solid #364957;
border-radius: 3px;
overflow: hidden;
margin-bottom: 8px;
}
.skin-pivot .related-buildings {
padding: 8px;
background-color: rgba(15, 20, 25, 0.4);
}
.skin-pivot .related-buildings p {
margin: 5px 0;
color: #E0E0E0;
font-size: 0.9em;
}
.skin-pivot .schematic-section,
.skin-pivot .crafting-section,
.skin-pivot .tutorials-section {
margin-bottom: 10px;
}
.skin-pivot .schematic-section .game-panel,
.skin-pivot .crafting-section .game-panel,
.skin-pivot .tutorials-section .game-panel {
margin-bottom: 8px;
}
/* DuneDB Updated Infobox Colors */
/* OUTER BOX — darker black for main box */
.skin-pivot .dune-infobox,
.skin-pivot table.infobox-dune,
.skin-pivot .dune-card,
.skin-pivot .game-panel {
background-color: #000002 !important;
border-color: #3a3a3a !important;
}
/* INNER BOXES — use subtle graphite color */
.skin-pivot .dune-infobox-description,
.skin-pivot .dune-infobox-stats td,
.skin-pivot .dune-infobox-stats th,
.skin-pivot table.infobox-dune td,
.skin-pivot table.infobox-dune th,
.skin-pivot .game-table td,
.skin-pivot .game-table th,
.skin-pivot .dune-card-description,
.skin-pivot .dune-card-infobox td,
.skin-pivot .dune-card-infobox th {
background-color: #161618 !important;
color: #e2d3ae !important;
border-color: #333 !important;
}
/* Enhanced double-outline for infoboxes, panels, and cards */
.skin-pivot .dune-infobox,
.skin-pivot table.infobox-dune,
.skin-pivot .dune-card,
.skin-pivot .game-panel {
background-color: #000002 !important;
border: 1px solid #C47F3A; /* Bronze inner line */
position: relative;
box-shadow: 0 0 0 2px #0a0a0a, /* Outer dark stroke */
0 0 8px rgba(0, 0, 0, 0.5); /* Optional glow */
border-radius: 4px;
}
/* Optional: style header blocks with bronze accents */
.skin-pivot .game-panel-header,
.skin-pivot .dune-infobox-title,
.skin-pivot .dune-card-title {
border-bottom: 1px solid #C47F3A;
color: #E2D3AE;
}
/* Optional: use a light glow effect on hover */
.skin-pivot .dune-card:hover,
.skin-pivot .game-panel:hover,
.skin-pivot .dune-infobox:hover {
box-shadow: 0 0 0 2px #0a0a0a,
0 0 10px rgba(226, 141, 79, 0.3); /* Orange glow */
}
/**********************************************************
* IMPROVED SPACING WITHOUT UNNECESSARY SCROLLBARS
**********************************************************/
/* 1. Better column spacing across the page */
.responsive-container {
display: flex;
flex-wrap: wrap;
gap: 1.5em !important; /* Increased from 0.25em */
align-items: stretch;
width: 100%;
margin: 1em 0;
box-sizing: border-box;
}
/* Ensure proper column widths with new gap */
@media screen and (min-width: 700px) {
.responsive-col {
width: calc(50% - 0.75em) !important; /* Adjusted for new gap */
}
}
@media screen and (min-width: 1100px) {
.responsive-col {
width: calc(33.333% - 1em) !important; /* Adjusted for new gap */
}
}
/* 2. Add padding inside game panels for better content spacing */
.skin-pivot .game-panel {
padding: 12px !important;
margin-bottom: 20px !important; /* Increase bottom margin for better separation */
overflow: visible !important; /* Remove scrollbars */
}
.skin-pivot .game-panel-header {
margin: -12px -12px 12px -12px !important; /* Negative margin to span full width */
padding: 8px 12px !important;
}
.skin-pivot .game-panel-content {
padding: 0 !important; /* Remove redundant padding */
overflow: visible !important; /* Remove scrollbars */
}
/* 3. Better spacing within tables */
.skin-pivot .game-table {
width: 100% !important;
table-layout: auto !important; /* Allow table to expand based on content */
border-collapse: separate !important;
border-spacing: 0 !important;
margin-bottom: 12px !important;
}
.skin-pivot .game-table th,
.skin-pivot .game-table td {
padding: 8px 10px !important; /* More breathing room */
vertical-align: middle !important;
word-break: normal !important;
line-height: 1.4 !important;
}
/* Ensure consistent cell sizing */
.skin-pivot .game-table th:first-child,
.skin-pivot .game-table td:first-child {
padding-left: 10px !important;
}
.skin-pivot .game-table th:last-child,
.skin-pivot .game-table td:last-child {
padding-right: 10px !important;
}
/* 4. Fixed width for certain columns to maintain consistency */
.skin-pivot .game-table .time-column,
.skin-pivot .game-table .quantity-column {
width: 100px !important;
text-align: center !important;
}
/* 5. Make sure tables within infoboxes expand properly */
.skin-pivot table.infobox-dune {
width: 100% !important;
table-layout: auto !important; /* Allow content to determine width */
margin: 0 0 15px 0 !important;
}
.skin-pivot table.infobox-dune th,
.skin-pivot table.infobox-dune td {
padding: 8px 10px !important;
line-height: 1.4 !important;
}
/* 6. Better spacing for the main sections */
.skin-pivot .schematic-section,
.skin-pivot .crafting-section,
.skin-pivot .tutorials-section,
.skin-pivot .related-buildings-section {
padding: 0 10px !important;
margin-bottom: 20px !important;
overflow: visible !important; /* Remove scrollbars */
}
/* 7. Fix scrollbar issues - only show when necessary */
.skin-pivot .dune-card,
.skin-pivot .game-panel,
.skin-pivot table.infobox-dune,
.skin-pivot #content,
.skin-pivot .mw-body,
.skin-pivot .crafting-section,
.skin-pivot .schematic-section,
.skin-pivot .tutorials-section,
.skin-pivot .related-buildings-section {
overflow: visible !important; /* Default to visible */
}
/* Only add horizontal scrolling to tables when they would overflow */
.skin-pivot .game-table-container {
width: 100%;
overflow-x: auto; /* Only add horizontal scroll when needed */
overflow-y: visible; /* No vertical scroll */
}
/* 8. Improve spacing between elements inside infoboxes */
.skin-pivot .dune-card-title,
.skin-pivot .game-panel-header,
.skin-pivot table.infobox-dune th:first-of-type {
margin-bottom: 12px !important;
}
.skin-pivot .dune-card-description,
.skin-pivot .game-panel-content > p:first-child {
margin-top: 0 !important;
}
.skin-pivot .dune-card-description,
.skin-pivot .game-panel-content > p:last-child {
margin-bottom: 0 !important;
}
/* 9. Better spacing in the crafting tables specifically */
.skin-pivot .crafting-section .game-table th,
.skin-pivot .crafting-section .game-table td {
vertical-align: middle !important;
padding: 8px 12px !important;
}
/* Output column should expand to fill available space */
.skin-pivot .crafting-section .game-table th:first-child,
.skin-pivot .crafting-section .game-table td:first-child {
width: 30% !important;
}
/* Recipe column should be given most space */
.skin-pivot .crafting-section .game-table th:nth-child(2),
.skin-pivot .crafting-section .game-table td:nth-child(2) {
width: 50% !important;
}
/* Time column should be fixed width */
.skin-pivot .crafting-section .game-table th:last-child,
.skin-pivot .crafting-section .game-table td:last-child {
width: 20% !important;
text-align: center !important;
}
/* 10. Improve the layout of the building properties table */
.skin-pivot .schematic-section .game-table th:first-child,
.skin-pivot .schematic-section .game-table td:first-child {
width: 40% !important;
}
.skin-pivot .schematic-section .game-table th:last-child,
.skin-pivot .schematic-section .game-table td:last-child {
width: 60% !important;
}
/* 11. Better spacing for inventory, power, health icons */
.skin-pivot .resource {
margin: 0 5px 5px 0 !important;
padding: 4px 8px !important;
display: inline-flex !important;
align-items: center !important;
}
/* 12. Video container spacing */
.skin-pivot .video-container {
margin: 0 0 15px 0 !important;
border-radius: 4px !important;
overflow: hidden !important; /* Only keep overflow hidden for video containers */
}
/* 13. Add a clearfix to prevent floating issues */
.skin-pivot .clearfix::after {
content: "";
clear: both;
display: table;
}
/* 14. Remove scrollbars from specific containers */
.skin-pivot .off-canvas-wrap,
.skin-pivot .inner-wrap,
.skin-pivot #page-base,
.skin-pivot .page-base,
.skin-pivot #main-section.main-section,
.skin-pivot #page-content,
.skin-pivot .row,
.skin-pivot .columns,
.skin-pivot #sidebar.large-2.medium-3.columns.hide-for-small.hide-for-print {
overflow: visible !important;
}
/* 15. Fix for NESTED scrollbars in MediaWiki */
.mw-body-content {
overflow: visible !important;
}
.skin-pivot .mw-body,
.skin-pivot #content,
.skin-pivot #mw-content-text {
overflow: visible !important;
}
/* 16. Wrap long text instead of forcing horizontal scroll */
.skin-pivot table.game-table td,
.skin-pivot table.infobox-dune td {
word-wrap: break-word !important;
overflow-wrap: break-word !important;
max-width: 500px !important; /* Prevent extremely wide cells */
}
/**********************************************************
* ICON ALIGNMENT AND TEXT FORMATTING FIXES
**********************************************************/
/* 1. Remove sepia filter and fix icon alignment */
.skin-pivot table.game-table svg path,
.skin-pivot table.game-table img,
.skin-pivot table.game-table i,
.skin-pivot table.infobox-dune svg path,
.skin-pivot table.infobox-dune img,
.skin-pivot table.infobox-dune i {
fill: inherit !important; /* Remove color overrides */
color: inherit !important;
filter: none !important; /* Remove sepia filter */
}
/* 2. Properly align emoji icons in infobox-dune table */
.skin-pivot table.infobox-dune tr th {
position: relative !important;
padding-left: 32px !important; /* Space for emoji icon */
text-transform: none !important; /* Remove uppercase transformation */
}
.skin-pivot table.infobox-dune tr th .icon {
position: absolute !important;
left: 8px !important;
top: 50% !important;
transform: translateY(-50%) !important;
font-size: 18px !important;
}
/* 3. Improved Locked Behind section */
.skin-pivot .dune-card-locked {
margin: 15px 0 !important;
background-color: rgba(15, 20, 25, 0.6) !important;
border: 1px solid #C47F3A !important;
border-radius: 4px !important;
padding: 10px !important;
position: relative !important;
text-align: center !important; /* Center align text */
}
.skin-pivot .dune-card-locked-label {
color: #E2D3AE !important;
font-weight: bold !important;
font-size: 0.9em !important;
letter-spacing: 0.5px !important;
margin-bottom: 6px !important;
border-bottom: 1px solid rgba(196, 127, 58, 0.4) !important;
padding-bottom: 4px !important;
display: flex !important;
align-items: center !important;
justify-content: center !important; /* Center icon and text */
}
.skin-pivot .dune-card-locked-icon {
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
width: 18px !important;
height: 18px !important;
margin-right: 6px !important;
color: #C47F3A !important;
font-size: 16px !important;
}
.skin-pivot .dune-card-locked-value {
color: #E28D4F !important;
font-weight: bold !important;
padding: 4px 0 !important; /* Add padding but remove left padding */
}
/* 4. Consistent styling between infobox-dune and dune-card-locked */
.skin-pivot .dune-card-locked,
.skin-pivot table.infobox-dune {
background-color: #000002 !important;
border: 1px solid #3a3a3a !important;
box-shadow:
0 0 0 1px #3a3a3a,
0 0 0 2px #000002,
0 0 0 3px #C47F3A,
0 0 15px rgba(196, 127, 58, 0.2) !important;
border-radius: 4px !important;
}
/* 5. Header for Locked Behind to match other section headers */
.skin-pivot .locked-behind-header {
background-color: rgba(196,127,58,0.2) !important;
border-bottom: 1px solid #C47F3A !important;
padding: 8px 12px !important;
margin: -10px -10px 10px -10px !important;
position: relative !important;
text-transform: uppercase !important;
font-weight: bold !important;
color: #E2D3AE !important;
letter-spacing: 0.5px !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
}
.skin-pivot .locked-behind-header .icon {
margin-right: 6px !important;
}
/* 6. Add space between the first description section and the locked behind section */
.skin-pivot .dune-card-description + .dune-card-locked {
margin-top: 20px !important;
}
/* 7. Make sure icons in the recipe section align properly */
.skin-pivot .game-table tr td span.resource,
.skin-pivot .infobox-dune tr td span.resource {
display: inline-flex !important;
align-items: center !important;
margin: 2px 5px 2px 0 !important;
}
.skin-pivot .game-table tr td span.resource img,
.skin-pivot .infobox-dune tr td span.resource img {
margin-right: 4px !important;
width: 16px !important;
height: 16px !important;
}
/* 8. Fix for journey link text */
.skin-pivot a[href*="Journey"] {
color: #E28D4F !important;
text-decoration: none !important;
font-weight: bold !important;
transition: text-shadow 0.2s ease !important;
display: inline-block !important;
margin: 0 auto !important; /* Help with centering */
}
/* 9. Special case for specific lockbox layout */
.skin-pivot .lockbox {
text-align: center !important;
}
.skin-pivot .lockbox .lockbox-header {
background-color: rgba(196,127,58,0.2) !important;
border-bottom: 1px solid #C47F3A !important;
padding: 8px 12px !important;
margin-bottom: 10px !important;
text-transform: uppercase !important;
font-weight: bold !important;
color: #E2D3AE !important;
letter-spacing: 0.5px !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
}
/* Add consistent spacing below the building info table */
.skin-pivot table.infobox-dune {
margin-bottom: 20px !important;
}
/* 10. Specific adjustments for building type icons in first column */
.skin-pivot table.infobox-dune tr th:first-child .icon {
margin-right: 6px !important;
width: auto !important;
height: auto !important;
}
/**********************************************************
* DUNE THEME: INVENTORY UI ENHANCEMENTS
**********************************************************/
/* Inventory grid layout for panels mimicking game UI */
.skin-pivot .inventory-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
gap: 6px;
padding: 10px;
background-color: #0f1419;
border: 1px solid #3a3a3a;
border-radius: 6px;
box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}
/* Individual inventory-style slot */
.skin-pivot .inventory-slot {
background-color: rgba(22, 22, 24, 0.8);
border: 1px solid rgba(196, 127, 58, 0.4);
display: flex;
align-items: center;
justify-content: center;
height: 80px;
width: 80px;
transition: box-shadow 0.2s;
font-size: 1.4em;
color: #E2D3AE;
}
.skin-pivot .inventory-slot:hover {
box-shadow: 0 0 4px #E28D4F;
}
/* Highlighted slot for active selection */
.skin-pivot .dune-selected {
border: 2px solid #E28D4F !important;
box-shadow: 0 0 8px rgba(226, 141, 79, 0.6);
}
/* Consistent centered container */
.skin-pivot .dune-container {
max-width: 1080px;
margin: 0 auto;
padding: 0 1em;
}
/* Divider for segments inside panels or cards */
.skin-pivot .dune-divider {
height: 1px;
background: linear-gradient(to right, transparent, rgba(255,255,255,0.15), transparent);
margin: 1em 0;
}
/* Uppercase UI labels */
.skin-pivot .label-ui {
letter-spacing: 1.2px;
text-transform: uppercase;
color: #C47F3A;
font-size: 0.75em;
margin-bottom: 4px;
}
/* Button enhancements for more depth and glow */
.skin-pivot .game-button {
background: linear-gradient(to bottom, #C47F3A, #9F6230);
border: 1px solid #C47F3A;
color: #E2D3AE;
padding: 8px 12px;
border-radius: 3px;
cursor: pointer;
text-transform: uppercase;
font-size: 0.85em;
letter-spacing: 0.5px;
box-shadow: 0 0 3px #C47F3A, inset 0 0 5px #5a3c1d;
transition: all 0.2s ease;
position: relative;
}
.skin-pivot .game-button:hover {
background: linear-gradient(to bottom, #E28D4F, #B97233);
box-shadow: 0 0 6px #E28D4F, 0 0 12px rgba(226, 141, 79, 0.6);
}
.skin-pivot .game-button:active {
top: 1px;
}
/* Typography tweaks */
body.skin-pivot {
font-family: "Orbitron", "Segoe UI", sans-serif;
line-height: 1.35;
font-size: 15px;
}