Pivot.css: Difference between revisions
From Dune Awakening DB
mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
/********************************************************** | /********************************************************** | ||
* Dune-Themed Pivot Skin | * Dune-Themed Pivot Skin - Enhanced Version | ||
**********************************************************/ | **********************************************************/ | ||
/* | /* Base Styles - Maintaining your existing resets */ | ||
html, body { | html, body { | ||
margin: 0; | margin: 0; | ||
| Line 12: | Line 11: | ||
} | } | ||
/* | /* Background - You mentioned this is fine, keeping it as is */ | ||
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; | ||
| Line 22: | Line 20: | ||
} | } | ||
/* | /* Enhanced Typography - Better size hierarchy and letter spacing */ | ||
.skin-pivot | .skin-pivot h1 { font-size: 2rem; letter-spacing: 0.08em; } | ||
.skin-pivot h2 { font-size: 1.8rem; letter-spacing: 0.07em; } | |||
.skin-pivot h3 { font-size: 1.5rem; letter-spacing: 0.06em; } | |||
.skin-pivot h4 { font-size: 1.3rem; letter-spacing: 0.05em; } | |||
.skin-pivot h5 { font-size: 1.1rem; letter-spacing: 0.04em; } | |||
.skin-pivot h6 { font-size: 1rem; letter-spacing: 0.03em; } | |||
} | |||
.skin-pivot | |||
. | |||
. | |||
} | |||
.skin-pivot | |||
. | |||
} | |||
.skin-pivot | |||
} | |||
.skin-pivot | |||
} | |||
.skin-pivot | |||
} | |||
.skin-pivot h1, .skin-pivot h2, .skin-pivot h3, | |||
.skin-pivot h4, .skin-pivot h5, .skin-pivot h6 { | |||
.skin-pivot h1, | |||
.skin-pivot h2, | |||
.skin-pivot h3, | |||
.skin-pivot h4, | |||
.skin-pivot h5, | |||
.skin-pivot h6 { | |||
color: #E2D3AE; | color: #E2D3AE; | ||
font-weight: bold; | font-weight: bold; | ||
margin-top: 1em; | margin-top: 1em; | ||
margin-bottom: 0.5em; | margin-bottom: 0.5em; | ||
text-transform: uppercase; | |||
text-transform: | |||
padding-bottom: 5px; | padding-bottom: 5px; | ||
text-shadow: 0 0 8px rgba(226, 141, 79, 0.3); | |||
} | } | ||
.skin-pivot h1, .skin-pivot h3 { | |||
.skin-pivot | border-bottom: 2px solid rgba(226, 141, 79, 0.4); | ||
.skin-pivot | |||
} | } | ||
/* | /* Section Headers - More game-like with diagonal accent lines */ | ||
.skin-pivot h1.firstHeading, | |||
.skin-pivot .page-header h1 { | |||
.skin-pivot | position: relative; | ||
.skin-pivot | |||
color: #E2D3AE; | color: #E2D3AE; | ||
font-size: 1.8rem; | |||
font-weight: bold; | font-weight: bold; | ||
margin: 0 0 15px 0; | |||
padding: 10px 30px; | |||
border-bottom: 2px solid rgba(196, 127, 58, 0.4); | |||
text-transform: uppercase; | text-transform: uppercase; | ||
letter-spacing: 0.08em; | |||
background: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(196, 127, 58, 0.15), rgba(0, 0, 0, 0)); | |||
} | } | ||
.skin-pivot h1.firstHeading::before, | |||
.skin-pivot .page-header h1::before, | |||
.skin-pivot h1.firstHeading::after, | |||
.skin-pivot .page-header h1::after { | |||
.skin-pivot . | |||
.skin-pivot . | |||
.skin-pivot | |||
.skin-pivot . | |||
content: ''; | content: ''; | ||
position: absolute; | position: absolute; | ||
width: | width: 20px; | ||
height: | height: 20px; | ||
border: | border: 2px solid #C47F3A; | ||
} | } | ||
.skin-pivot h1.firstHeading::before, | |||
.skin-pivot .page-header h1::before { | |||
.skin-pivot | top: 0; | ||
left: 0; | |||
.skin-pivot . | |||
top: | |||
left: | |||
border-right: none; | border-right: none; | ||
border-bottom: none; | border-bottom: none; | ||
} | } | ||
.skin-pivot h1.firstHeading::after, | |||
.skin-pivot .page-header h1::after { | |||
.skin-pivot | bottom: 0; | ||
right: 0; | |||
.skin-pivot . | |||
bottom: | |||
right: | |||
border-left: none; | border-left: none; | ||
border-top: none; | border-top: none; | ||
} | } | ||
/* | /* Enhanced Transparent Containers - Consistent styling */ | ||
.skin-pivot | .skin-pivot #content, | ||
.skin-pivot | .skin-pivot .mw-body, | ||
.skin-pivot . | .skin-pivot .mw-content-ltr, | ||
.skin-pivot . | .skin-pivot .mw-content-rtl { | ||
background: rgba(10, 12, 14, 0.7); | |||
padding: 20px; | |||
border-radius: 5px; | |||
margin: 0; | |||
border: 1px solid rgba(196, 127, 58, 0.3); | |||
box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); | |||
} | } | ||
/* Enhanced Navigation - Hexagonal Styling */ | |||
.skin-pivot . | .skin-pivot .navbar, | ||
.skin-pivot . | .skin-pivot .navbar-default, | ||
.skin-pivot . | .skin-pivot .navbar-inverse { | ||
. | background: linear-gradient(to bottom, rgba(25, 30, 35, 0.9), rgba(15, 20, 25, 0.9)) !important; | ||
. | border: none !important; | ||
border-bottom: 1px solid #C47F3A !important; | |||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5) !important; | |||
} | } | ||
.skin-pivot . | /* Enhanced Nav Tabs - Similar to Game UI */ | ||
. | .skin-pivot nav.tab-bar.hide-for-print { | ||
background: linear-gradient(to bottom, rgba(30, 35, 40, 0.9), rgba(15, 20, 25, 0.9)); | |||
border: none; | |||
border-bottom: 1px solid #C47F3A; | |||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); | |||
display: flex; | |||
justify-content: center; | |||
padding: 0; | |||
} | } | ||
.skin-pivot . | .skin-pivot nav.tab-bar.hide-for-print a.tab { | ||
color: #C47F3A; | |||
. | font-weight: bold; | ||
text-transform: uppercase; | |||
letter-spacing: 0.05em; | |||
padding: 12px 20px; | |||
margin: 0 1px; | |||
position: relative; | position: relative; | ||
transition: all 0.3s ease; | |||
} | } | ||
.skin-pivot nav.tab-bar.hide-for-print a.tab:hover, | |||
.skin-pivot . | .skin-pivot nav.tab-bar.hide-for-print a.tab.active { | ||
. | color: #E2D3AE; | ||
.skin-pivot . | background: rgba(196, 127, 58, 0.2); | ||
. | |||
} | } | ||
.skin-pivot nav.tab-bar.hide-for-print a.tab::before, | |||
.skin-pivot | .skin-pivot nav.tab-bar.hide-for-print a.tab::after { | ||
. | |||
.skin-pivot . | |||
content: ''; | content: ''; | ||
position: absolute; | position: absolute; | ||
width: | width: 10px; | ||
height: | height: 10px; | ||
opacity: 0; | |||
transition: all 0.3s ease; | |||
} | } | ||
.skin-pivot . | .skin-pivot nav.tab-bar.hide-for-print a.tab::before { | ||
top: | top: 5px; | ||
left: | left: 5px; | ||
border- | border-top: 1px solid #C47F3A; | ||
border- | border-left: 1px solid #C47F3A; | ||
} | } | ||
.skin-pivot . | .skin-pivot nav.tab-bar.hide-for-print a.tab::after { | ||
bottom: | bottom: 5px; | ||
right: | right: 5px; | ||
border- | border-bottom: 1px solid #C47F3A; | ||
border- | border-right: 1px solid #C47F3A; | ||
} | } | ||
.skin-pivot nav.tab-bar.hide-for-print a.tab:hover::before, | |||
.skin-pivot . | .skin-pivot nav.tab-bar.hide-for-print a.tab:hover::after, | ||
.skin-pivot | .skin-pivot nav.tab-bar.hide-for-print a.tab.active::before, | ||
.skin-pivot . | .skin-pivot nav.tab-bar.hide-for-print a.tab.active::after { | ||
.skin-pivot . | opacity: 1; | ||
} | } | ||
/* | /* Enhanced Links - More consistent styling */ | ||
.skin-pivot | .skin-pivot a { | ||
color: #C47F3A; | |||
text-decoration: none; | |||
color: # | |||
text- | |||
font-weight: bold; | font-weight: bold; | ||
transition: all 0.2s ease; | |||
. | |||
position: relative; | position: relative; | ||
} | } | ||
.skin-pivot a:hover { | |||
color: #E28D4F; | |||
text-shadow: 0 0 5px rgba(226, 141, 79, 0.4); | |||
. | |||
} | } | ||
/* Enhanced Badge/Button Styles - More consistent with game UI */ | |||
/* Enhanced | |||
.skin-pivot .game-button { | .skin-pivot .game-button { | ||
background: linear-gradient(to bottom, #C47F3A, #9F6230); | background: linear-gradient(to bottom, #C47F3A, #9F6230); | ||
border: 1px solid #C47F3A; | border: 1px solid #C47F3A; | ||
color: # | color: #1A1A1A; | ||
padding: 8px | padding: 8px 16px; | ||
border-radius: 3px; | border-radius: 3px; | ||
cursor: pointer; | cursor: pointer; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
font-size: 0.85em; | font-size: 0.85em; | ||
letter-spacing: | letter-spacing: 1px; | ||
font-weight: bold; | |||
transition: all 0.2s ease; | transition: all 0.2s ease; | ||
position: relative; | position: relative; | ||
display: inline-block; | display: inline-block; | ||
margin: 5px; | |||
text-align: center; | |||
} | } | ||
.skin-pivot . | |||
.skin-pivot .game-button::before, | |||
.skin-pivot .game-button::after { | |||
content: ''; | |||
position: absolute; | position: absolute; | ||
width: 6px; | |||
height: 6px; | |||
transition: all 0.2s ease; | |||
transition: | |||
} | } | ||
.skin-pivot . | |||
.skin-pivot .game-button::before { | |||
top: -1px; | |||
left: -1px; | |||
border-top: 1px solid #E2D3AE; | |||
border-left: 1px solid #E2D3AE; | |||
} | } | ||
.skin-pivot . | .skin-pivot .game-button::after { | ||
bottom: -1px; | |||
right: -1px; | |||
border-bottom: 1px solid #E2D3AE; | |||
border-right: 1px solid #E2D3AE; | |||
border: 1px solid # | |||
} | } | ||
.skin-pivot .game-button:hover { | |||
background: linear-gradient(to bottom, #E28D4F, #B97233); | |||
box-shadow: 0 0 10px rgba(226, 141, 79, 0.4); | |||
.skin-pivot . | |||
background: | |||
} | } | ||
.skin-pivot .game-button:hover::before, | |||
.skin-pivot .game-button:hover::after { | |||
width: 10px; | |||
height: 10px; | |||
.skin-pivot . | |||
.skin-pivot .game- | |||
} | } | ||
.skin-pivot .game-button:active { | |||
transform: translateY(1px); | |||
.skin-pivot .game- | |||
} | } | ||
/* Enhanced | /* Enhanced Infobox - Closer to game UI with angled corners */ | ||
.skin-pivot .dune-infobox, | .skin-pivot .dune-infobox, | ||
.skin-pivot table.infobox-dune, | .skin-pivot table.infobox-dune, | ||
.skin-pivot .dune-card, | .skin-pivot .dune-card, | ||
.skin-pivot .game-panel { | .skin-pivot .game-panel { | ||
background- | background: linear-gradient(135deg, #0E1216, #1A232F) !important; | ||
border: 1px solid #C47F3A; | 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; | |||
position: relative; | position: relative; | ||
border-radius: 0 !important; | |||
padding: 20px !important; | |||
margin: 1.5em 0 !important; | |||
clip-path: polygon( | |||
0% 15px, /* top-left */ | |||
15px 0%, /* top-left corner */ | |||
calc(100% - 15px) 0%, /* top-right */ | |||
100% 15px, /* top-right corner */ | |||
100% calc(100% - 15px), /* bottom-right */ | |||
calc(100% - 15px) 100%, /* bottom-right corner */ | |||
15px 100%, /* bottom-left */ | |||
0% calc(100% - 15px) /* bottom-left corner */ | |||
); | |||
} | } | ||
/* | /* Better Infobox Headers */ | ||
.skin-pivot .dune-infobox-title, | .skin-pivot .dune-infobox-title, | ||
.skin-pivot . | .skin-pivot table.infobox-dune th:first-child, | ||
.skin-pivot .dune-card-title, | |||
.skin-pivot .dune- | |||
.skin-pivot .game-panel-header { | .skin-pivot .game-panel-header { | ||
background: linear-gradient(to right, rgba(196, 127, 58, 0.1), rgba(196, 127, 58, 0.2), rgba(196, 127, 58, 0.1)) !important; | |||
color: #E2D3AE !important; | |||
text-transform: uppercase !important; | |||
letter-spacing: 1px !important; | |||
font-weight: bold !important; | |||
padding: | padding: 10px 15px !important; | ||
border-bottom: 1px solid #C47F3A !important; | |||
margin: -20px -20px 15px -20px !important; | |||
position: relative; | |||
} | } | ||
/* | /* Enhanced Tables with better spacing */ | ||
.skin-pivot .game-table { | .skin-pivot .game-table { | ||
width: 100% !important; | width: 100% !important; | ||
border-collapse: separate !important; | border-collapse: separate !important; | ||
border-spacing: 0 !important; | border-spacing: 0 !important; | ||
margin | margin: 15px 0 !important; | ||
} | } | ||
.skin-pivot .game-table th, | .skin-pivot .game-table th { | ||
background: linear-gradient(to bottom, #1A1A1A, #101010) !important; | |||
color: #E2D3AE !important; | |||
text-transform: uppercase !important; | |||
letter-spacing: 1px !important; | |||
padding: 10px 12px !important; | |||
border-bottom: 2px solid #C47F3A !important; | |||
text-align: left !important; | |||
} | } | ||
.skin-pivot .game-table td { | |||
.skin-pivot .game-table | background-color: rgba(22, 22, 24, 0.7) !important; | ||
padding: 8px 12px !important; | |||
border-bottom: 1px solid rgba(196, 127, 58, 0.3) !important; | |||
transition: background-color 0.2s ease !important; | |||
} | } | ||
.skin-pivot .game-table | .skin-pivot .game-table tr:hover td { | ||
background-color: rgba(30, 30, 35, 0.8) !important; | |||
} | } | ||
.skin-pivot .game-table tr:last-child td { | |||
.skin-pivot .game-table | border-bottom: none !important; | ||
} | } | ||
/* | /* Resource Items - More game-like */ | ||
.skin-pivot | .skin-pivot .resource { | ||
display: inline-flex !important; | |||
align-items: center !important; | |||
margin: 0 0 | padding: 4px 8px !important; | ||
background: linear-gradient(to bottom, rgba(30, 30, 35, 0.7), rgba(15, 20, 25, 0.7)) !important; | |||
border: 1px solid #C47F3A !important; | |||
border-radius: 3px !important; | |||
margin: 2px 4px 2px 0 !important; | |||
transition: all 0.2s ease !important; | |||
} | } | ||
.skin-pivot | .skin-pivot .resource:hover { | ||
. | background: linear-gradient(to bottom, rgba(40, 40, 45, 0.8), rgba(25, 30, 35, 0.8)) !important; | ||
box-shadow: 0 0 5px rgba(196, 127, 58, 0.4) !important; | |||
} | } | ||
.skin-pivot .resource .resource-icon { | |||
margin-right: 6px !important; | |||
.skin-pivot . | |||
. | |||
margin- | |||
} | } | ||
.skin-pivot .resource .resource-amount { | |||
.skin-pivot . | font-weight: bold !important; | ||
. | color: #E28D4F !important; | ||
} | } | ||
/* | /* Enhanced Progress Bar */ | ||
.skin-pivot . | .skin-pivot .progress-bar { | ||
height: 12px !important; | |||
background-color: rgba(15, 20, 25, 0.8) !important; | |||
overflow | border: 1px solid #C47F3A !important; | ||
border-radius: 2px !important; | |||
overflow: hidden !important; | |||
margin: 8px 0 !important; | |||
position: relative !important; | |||
} | } | ||
.skin-pivot .progress-bar::before, | |||
.skin-pivot . | .skin-pivot .progress-bar::after { | ||
.skin-pivot . | content: ''; | ||
position: absolute; | |||
width: 5px; | |||
height: 5px; | |||
z-index: 2; | |||
} | } | ||
.skin-pivot . | .skin-pivot .progress-bar::before { | ||
top: -1px; | |||
left: -1px; | |||
border-top: 1px solid #E2D3AE; | |||
border-left: 1px solid #E2D3AE; | |||
} | } | ||
.skin-pivot . | .skin-pivot .progress-bar::after { | ||
bottom: -1px; | |||
right: -1px; | |||
border-bottom: 1px solid #E2D3AE; | |||
border-right: 1px solid #E2D3AE; | |||
} | } | ||
.skin-pivot .progress-fill { | |||
.skin-pivot . | height: 100% !important; | ||
background: linear-gradient(to right, #9F6230, #C47F3A, #E28D4F) !important; | |||
width: 0% !important; | |||
transition: width 0.3s ease !important; | |||
position: relative !important; | |||
} | } | ||
/* | /* Custom Scrollbar - More game-like */ | ||
.skin-pivot | .skin-pivot ::-webkit-scrollbar { | ||
width: 10px; | |||
width: | height: 10px; | ||
} | } | ||
.skin-pivot ::-webkit-scrollbar-track { | |||
.skin-pivot | background: rgba(15, 20, 25, 0.4); | ||
. | border-radius: 2px; | ||
} | } | ||
.skin-pivot ::-webkit-scrollbar-thumb { | |||
.skin-pivot | background: linear-gradient(to bottom, #9F6230, #C47F3A); | ||
border-radius: 2px; | |||
border: 1px solid #1A1A1A; | |||
} | } | ||
.skin-pivot ::-webkit-scrollbar-thumb:hover { | |||
.skin-pivot | background: linear-gradient(to bottom, #C47F3A, #E28D4F); | ||
} | } | ||
.skin-pivot . | /* Hexagonal Icon Containers */ | ||
.skin-pivot .hex-icon { | |||
position: relative; | |||
width: 40px; | |||
height: 40px; | |||
display: inline-flex; | |||
align-items: center; | |||
justify-content: center; | |||
margin: 5px; | |||
clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); | |||
background: linear-gradient(135deg, #9F6230, #C47F3A); | |||
transition: all 0.2s ease; | |||
} | } | ||
.skin-pivot .hex-icon:hover { | |||
.skin-pivot . | transform: scale(1.1); | ||
background: linear-gradient(135deg, #C47F3A, #E28D4F); | |||
} | } | ||
.skin-pivot .hex-icon img, | |||
.skin-pivot . | .skin-pivot .hex-icon i { | ||
width: 60%; | |||
height: 60%; | |||
object-fit: contain; | |||
color: #1A1A1A; | |||
} | } | ||
/* | /* Enhanced Badge Indicators */ | ||
.skin-pivot . | .skin-pivot .badge { | ||
display: inline-block !important; | |||
padding: 4px 8px !important; | |||
display: | border-radius: 2px !important; | ||
font-size: 0.75em !important; | |||
text-transform: uppercase !important; | |||
letter-spacing: 0.5px !important; | |||
margin-left: 5px !important; | |||
position: relative !important; | position: relative !important; | ||
clip-path: polygon( | |||
5px 0%, | |||
100% 0%, | |||
100% 100%, | |||
5px 100%, | |||
0% 50% | |||
) !important; | |||
} | } | ||
.skin-pivot | .skin-pivot .badge-functional { | ||
background: linear-gradient(to bottom, rgba(65, 130, 65, 0.3), rgba(45, 90, 45, 0.3)) !important; | |||
border: 1px solid #5a9d5a !important; | |||
color: #a3d9a3 !important; | |||
} | } | ||
.skin-pivot .badge-locked { | |||
.skin-pivot . | background: linear-gradient(to bottom, rgba(130, 65, 65, 0.3), rgba(90, 45, 45, 0.3)) !important; | ||
border: 1px solid #9d5a5a !important; | |||
color: #d9a3a3 !important; | |||
border: 1px solid # | |||
} | } | ||
. | /* Enhanced Responsive Layout */ | ||
.responsive-container { | |||
display: flex !important; | display: flex !important; | ||
align-items: | flex-wrap: wrap !important; | ||
gap: 20px !important; | |||
align-items: stretch !important; | |||
width: 100% !important; | |||
margin: 20px 0 !important; | |||
box-sizing: border-box !important; | |||
} | } | ||
@media screen and (min-width: 700px) { | |||
.responsive-col { | |||
width: calc(50% - 10px) !important; | |||
} | |||
} | } | ||
@media screen and (min-width: 1100px) { | |||
.responsive-col { | |||
width: calc(33.333% - 14px) !important; | |||
} | |||
} | } | ||
/* | /* Special Hover Effects for Card Interactions */ | ||
.skin-pivot .dune-card | .skin-pivot .dune-card:hover { | ||
transform: translateY(-2px); | |||
box-shadow: | box-shadow: | ||
0 0 0 1px #3a3a3a, | 0 0 0 1px #3a3a3a, | ||
0 0 0 2px #000002, | 0 0 0 2px #000002, | ||
0 0 0 3px # | 0 0 0 3px #E28D4F, | ||
0 0 | 0 0 20px rgba(226, 141, 79, 0.4) !important; | ||
transition: all 0.3s ease; | |||
} | } | ||
/* | /* Diamond-shaped Decorative Elements */ | ||
.skin-pivot . | .skin-pivot .diamond-accent { | ||
position: absolute; | |||
width: 10px; | |||
height: 10px; | |||
background: #C47F3A; | |||
transform: rotate(45deg); | |||
z-index: 1; | |||
} | } | ||
.skin-pivot . | .skin-pivot .diamond-accent.top-left { | ||
top: 10px; | |||
left: 10px; | |||
} | } | ||
.skin-pivot .diamond-accent.top-right { | |||
.skin-pivot . | top: 10px; | ||
right: 10px; | |||
} | } | ||
.skin-pivot .diamond-accent.bottom-left { | |||
.skin-pivot . | bottom: 10px; | ||
left: 10px; | |||
} | } | ||
.skin-pivot . | .skin-pivot .diamond-accent.bottom-right { | ||
bottom: 10px; | |||
right: 10px; | |||
} | } | ||
/* | /* Locked Behind Section - Better Visual Emphasis */ | ||
.skin-pivot | .skin-pivot .dune-card-locked { | ||
margin: 15px 0 !important; | |||
background: linear-gradient(135deg, rgba(25, 20, 20, 0.7), rgba(35, 25, 25, 0.7)) !important; | |||
border: 1px solid #9d5a5a !important; | |||
border-radius: 4px !important; | |||
padding: 15px !important; | |||
position: relative !important; | |||
text-align: center !important; | text-align: center !important; | ||
box-shadow: 0 0 10px rgba(157, 90, 90, 0.2) !important; | |||
} | } | ||
.skin-pivot . | .skin-pivot .locked-behind-header { | ||
background- | background: linear-gradient(to right, rgba(157, 90, 90, 0.1), rgba(157, 90, 90, 0.2), rgba(157, 90, 90, 0.1)) !important; | ||
border-bottom: 1px solid # | color: #d9a3a3 !important; | ||
border-bottom: 1px solid #9d5a5a !important; | |||
padding: 8px 12px !important; | padding: 8px 12px !important; | ||
margin- | margin: -15px -15px 15px -15px !important; | ||
text-transform: uppercase !important; | text-transform: uppercase !important; | ||
letter-spacing: 0.5px !important; | |||
font-weight: bold !important; | font-weight: bold !important; | ||
display: flex !important; | display: flex !important; | ||
align-items: center !important; | align-items: center !important; | ||
| Line 1,260: | Line 552: | ||
} | } | ||
.skin-pivot .dune-card-locked-value { | |||
.skin-pivot | color: #d9a3a3 !important; | ||
font-weight: bold !important; | |||
padding: 8px 0 !important; | |||
font-size: 1.1em !important; | |||
} | } | ||
/* | /* Visual Fix for Mobile Views */ | ||
.skin-pivot table.infobox-dune | @media only screen and (max-width: 600px) { | ||
.skin-pivot #content { | |||
padding: 10px !important; | |||
} | |||
.skin-pivot .dune-infobox, | |||
.skin-pivot table.infobox-dune, | |||
.skin-pivot .dune-card, | |||
.skin-pivot .game-panel { | |||
padding: 15px !important; | |||
clip-path: polygon( | |||
0% 10px, | |||
10px 0%, | |||
calc(100% - 10px) 0%, | |||
100% 10px, | |||
100% calc(100% - 10px), | |||
calc(100% - 10px) 100%, | |||
10px 100%, | |||
0% calc(100% - 10px) | |||
) !important; | |||
} | |||
.skin-pivot .dune-infobox-title, | |||
.skin-pivot table.infobox-dune th:first-child, | |||
.skin-pivot .dune-card-title, | |||
.skin-pivot .game-panel-header { | |||
margin: -15px -15px 15px -15px !important; | |||
} | |||
} | } | ||
Revision as of 23:36, 3 April 2025
/**********************************************************
* Dune-Themed Pivot Skin - Enhanced Version
**********************************************************/
/* Base Styles - Maintaining your existing resets */
html, body {
margin: 0;
padding: 0;
height: 100%;
min-height: 100%;
}
/* Background - You mentioned this is fine, keeping it as is */
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;
}
/* Enhanced Typography - Better size hierarchy and letter spacing */
.skin-pivot h1 { font-size: 2rem; letter-spacing: 0.08em; }
.skin-pivot h2 { font-size: 1.8rem; letter-spacing: 0.07em; }
.skin-pivot h3 { font-size: 1.5rem; letter-spacing: 0.06em; }
.skin-pivot h4 { font-size: 1.3rem; letter-spacing: 0.05em; }
.skin-pivot h5 { font-size: 1.1rem; letter-spacing: 0.04em; }
.skin-pivot h6 { font-size: 1rem; letter-spacing: 0.03em; }
.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;
text-transform: uppercase;
padding-bottom: 5px;
text-shadow: 0 0 8px rgba(226, 141, 79, 0.3);
}
.skin-pivot h1, .skin-pivot h3 {
border-bottom: 2px solid rgba(226, 141, 79, 0.4);
}
/* Section Headers - More game-like with diagonal accent lines */
.skin-pivot h1.firstHeading,
.skin-pivot .page-header h1 {
position: relative;
color: #E2D3AE;
font-size: 1.8rem;
font-weight: bold;
margin: 0 0 15px 0;
padding: 10px 30px;
border-bottom: 2px solid rgba(196, 127, 58, 0.4);
text-transform: uppercase;
letter-spacing: 0.08em;
background: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(196, 127, 58, 0.15), rgba(0, 0, 0, 0));
}
.skin-pivot h1.firstHeading::before,
.skin-pivot .page-header h1::before,
.skin-pivot h1.firstHeading::after,
.skin-pivot .page-header h1::after {
content: '';
position: absolute;
width: 20px;
height: 20px;
border: 2px solid #C47F3A;
}
.skin-pivot h1.firstHeading::before,
.skin-pivot .page-header h1::before {
top: 0;
left: 0;
border-right: none;
border-bottom: none;
}
.skin-pivot h1.firstHeading::after,
.skin-pivot .page-header h1::after {
bottom: 0;
right: 0;
border-left: none;
border-top: none;
}
/* Enhanced Transparent Containers - Consistent styling */
.skin-pivot #content,
.skin-pivot .mw-body,
.skin-pivot .mw-content-ltr,
.skin-pivot .mw-content-rtl {
background: rgba(10, 12, 14, 0.7);
padding: 20px;
border-radius: 5px;
margin: 0;
border: 1px solid rgba(196, 127, 58, 0.3);
box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}
/* Enhanced Navigation - Hexagonal Styling */
.skin-pivot .navbar,
.skin-pivot .navbar-default,
.skin-pivot .navbar-inverse {
background: linear-gradient(to bottom, rgba(25, 30, 35, 0.9), rgba(15, 20, 25, 0.9)) !important;
border: none !important;
border-bottom: 1px solid #C47F3A !important;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5) !important;
}
/* Enhanced Nav Tabs - Similar to Game UI */
.skin-pivot nav.tab-bar.hide-for-print {
background: linear-gradient(to bottom, rgba(30, 35, 40, 0.9), rgba(15, 20, 25, 0.9));
border: none;
border-bottom: 1px solid #C47F3A;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
display: flex;
justify-content: center;
padding: 0;
}
.skin-pivot nav.tab-bar.hide-for-print a.tab {
color: #C47F3A;
font-weight: bold;
text-transform: uppercase;
letter-spacing: 0.05em;
padding: 12px 20px;
margin: 0 1px;
position: relative;
transition: all 0.3s ease;
}
.skin-pivot nav.tab-bar.hide-for-print a.tab:hover,
.skin-pivot nav.tab-bar.hide-for-print a.tab.active {
color: #E2D3AE;
background: rgba(196, 127, 58, 0.2);
}
.skin-pivot nav.tab-bar.hide-for-print a.tab::before,
.skin-pivot nav.tab-bar.hide-for-print a.tab::after {
content: '';
position: absolute;
width: 10px;
height: 10px;
opacity: 0;
transition: all 0.3s ease;
}
.skin-pivot nav.tab-bar.hide-for-print a.tab::before {
top: 5px;
left: 5px;
border-top: 1px solid #C47F3A;
border-left: 1px solid #C47F3A;
}
.skin-pivot nav.tab-bar.hide-for-print a.tab::after {
bottom: 5px;
right: 5px;
border-bottom: 1px solid #C47F3A;
border-right: 1px solid #C47F3A;
}
.skin-pivot nav.tab-bar.hide-for-print a.tab:hover::before,
.skin-pivot nav.tab-bar.hide-for-print a.tab:hover::after,
.skin-pivot nav.tab-bar.hide-for-print a.tab.active::before,
.skin-pivot nav.tab-bar.hide-for-print a.tab.active::after {
opacity: 1;
}
/* Enhanced Links - More consistent styling */
.skin-pivot a {
color: #C47F3A;
text-decoration: none;
font-weight: bold;
transition: all 0.2s ease;
position: relative;
}
.skin-pivot a:hover {
color: #E28D4F;
text-shadow: 0 0 5px rgba(226, 141, 79, 0.4);
}
/* Enhanced Badge/Button Styles - More consistent with game UI */
.skin-pivot .game-button {
background: linear-gradient(to bottom, #C47F3A, #9F6230);
border: 1px solid #C47F3A;
color: #1A1A1A;
padding: 8px 16px;
border-radius: 3px;
cursor: pointer;
text-transform: uppercase;
font-size: 0.85em;
letter-spacing: 1px;
font-weight: bold;
transition: all 0.2s ease;
position: relative;
display: inline-block;
margin: 5px;
text-align: center;
}
.skin-pivot .game-button::before,
.skin-pivot .game-button::after {
content: '';
position: absolute;
width: 6px;
height: 6px;
transition: all 0.2s ease;
}
.skin-pivot .game-button::before {
top: -1px;
left: -1px;
border-top: 1px solid #E2D3AE;
border-left: 1px solid #E2D3AE;
}
.skin-pivot .game-button::after {
bottom: -1px;
right: -1px;
border-bottom: 1px solid #E2D3AE;
border-right: 1px solid #E2D3AE;
}
.skin-pivot .game-button:hover {
background: linear-gradient(to bottom, #E28D4F, #B97233);
box-shadow: 0 0 10px rgba(226, 141, 79, 0.4);
}
.skin-pivot .game-button:hover::before,
.skin-pivot .game-button:hover::after {
width: 10px;
height: 10px;
}
.skin-pivot .game-button:active {
transform: translateY(1px);
}
/* Enhanced Infobox - Closer to game UI with angled corners */
.skin-pivot .dune-infobox,
.skin-pivot table.infobox-dune,
.skin-pivot .dune-card,
.skin-pivot .game-panel {
background: linear-gradient(135deg, #0E1216, #1A232F) !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;
position: relative;
border-radius: 0 !important;
padding: 20px !important;
margin: 1.5em 0 !important;
clip-path: polygon(
0% 15px, /* top-left */
15px 0%, /* top-left corner */
calc(100% - 15px) 0%, /* top-right */
100% 15px, /* top-right corner */
100% calc(100% - 15px), /* bottom-right */
calc(100% - 15px) 100%, /* bottom-right corner */
15px 100%, /* bottom-left */
0% calc(100% - 15px) /* bottom-left corner */
);
}
/* Better Infobox Headers */
.skin-pivot .dune-infobox-title,
.skin-pivot table.infobox-dune th:first-child,
.skin-pivot .dune-card-title,
.skin-pivot .game-panel-header {
background: linear-gradient(to right, rgba(196, 127, 58, 0.1), rgba(196, 127, 58, 0.2), rgba(196, 127, 58, 0.1)) !important;
color: #E2D3AE !important;
text-transform: uppercase !important;
letter-spacing: 1px !important;
font-weight: bold !important;
padding: 10px 15px !important;
border-bottom: 1px solid #C47F3A !important;
margin: -20px -20px 15px -20px !important;
position: relative;
}
/* Enhanced Tables with better spacing */
.skin-pivot .game-table {
width: 100% !important;
border-collapse: separate !important;
border-spacing: 0 !important;
margin: 15px 0 !important;
}
.skin-pivot .game-table th {
background: linear-gradient(to bottom, #1A1A1A, #101010) !important;
color: #E2D3AE !important;
text-transform: uppercase !important;
letter-spacing: 1px !important;
padding: 10px 12px !important;
border-bottom: 2px solid #C47F3A !important;
text-align: left !important;
}
.skin-pivot .game-table td {
background-color: rgba(22, 22, 24, 0.7) !important;
padding: 8px 12px !important;
border-bottom: 1px solid rgba(196, 127, 58, 0.3) !important;
transition: background-color 0.2s ease !important;
}
.skin-pivot .game-table tr:hover td {
background-color: rgba(30, 30, 35, 0.8) !important;
}
.skin-pivot .game-table tr:last-child td {
border-bottom: none !important;
}
/* Resource Items - More game-like */
.skin-pivot .resource {
display: inline-flex !important;
align-items: center !important;
padding: 4px 8px !important;
background: linear-gradient(to bottom, rgba(30, 30, 35, 0.7), rgba(15, 20, 25, 0.7)) !important;
border: 1px solid #C47F3A !important;
border-radius: 3px !important;
margin: 2px 4px 2px 0 !important;
transition: all 0.2s ease !important;
}
.skin-pivot .resource:hover {
background: linear-gradient(to bottom, rgba(40, 40, 45, 0.8), rgba(25, 30, 35, 0.8)) !important;
box-shadow: 0 0 5px rgba(196, 127, 58, 0.4) !important;
}
.skin-pivot .resource .resource-icon {
margin-right: 6px !important;
}
.skin-pivot .resource .resource-amount {
font-weight: bold !important;
color: #E28D4F !important;
}
/* Enhanced Progress Bar */
.skin-pivot .progress-bar {
height: 12px !important;
background-color: rgba(15, 20, 25, 0.8) !important;
border: 1px solid #C47F3A !important;
border-radius: 2px !important;
overflow: hidden !important;
margin: 8px 0 !important;
position: relative !important;
}
.skin-pivot .progress-bar::before,
.skin-pivot .progress-bar::after {
content: '';
position: absolute;
width: 5px;
height: 5px;
z-index: 2;
}
.skin-pivot .progress-bar::before {
top: -1px;
left: -1px;
border-top: 1px solid #E2D3AE;
border-left: 1px solid #E2D3AE;
}
.skin-pivot .progress-bar::after {
bottom: -1px;
right: -1px;
border-bottom: 1px solid #E2D3AE;
border-right: 1px solid #E2D3AE;
}
.skin-pivot .progress-fill {
height: 100% !important;
background: linear-gradient(to right, #9F6230, #C47F3A, #E28D4F) !important;
width: 0% !important;
transition: width 0.3s ease !important;
position: relative !important;
}
/* Custom Scrollbar - More game-like */
.skin-pivot ::-webkit-scrollbar {
width: 10px;
height: 10px;
}
.skin-pivot ::-webkit-scrollbar-track {
background: rgba(15, 20, 25, 0.4);
border-radius: 2px;
}
.skin-pivot ::-webkit-scrollbar-thumb {
background: linear-gradient(to bottom, #9F6230, #C47F3A);
border-radius: 2px;
border: 1px solid #1A1A1A;
}
.skin-pivot ::-webkit-scrollbar-thumb:hover {
background: linear-gradient(to bottom, #C47F3A, #E28D4F);
}
/* Hexagonal Icon Containers */
.skin-pivot .hex-icon {
position: relative;
width: 40px;
height: 40px;
display: inline-flex;
align-items: center;
justify-content: center;
margin: 5px;
clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
background: linear-gradient(135deg, #9F6230, #C47F3A);
transition: all 0.2s ease;
}
.skin-pivot .hex-icon:hover {
transform: scale(1.1);
background: linear-gradient(135deg, #C47F3A, #E28D4F);
}
.skin-pivot .hex-icon img,
.skin-pivot .hex-icon i {
width: 60%;
height: 60%;
object-fit: contain;
color: #1A1A1A;
}
/* Enhanced Badge Indicators */
.skin-pivot .badge {
display: inline-block !important;
padding: 4px 8px !important;
border-radius: 2px !important;
font-size: 0.75em !important;
text-transform: uppercase !important;
letter-spacing: 0.5px !important;
margin-left: 5px !important;
position: relative !important;
clip-path: polygon(
5px 0%,
100% 0%,
100% 100%,
5px 100%,
0% 50%
) !important;
}
.skin-pivot .badge-functional {
background: linear-gradient(to bottom, rgba(65, 130, 65, 0.3), rgba(45, 90, 45, 0.3)) !important;
border: 1px solid #5a9d5a !important;
color: #a3d9a3 !important;
}
.skin-pivot .badge-locked {
background: linear-gradient(to bottom, rgba(130, 65, 65, 0.3), rgba(90, 45, 45, 0.3)) !important;
border: 1px solid #9d5a5a !important;
color: #d9a3a3 !important;
}
/* Enhanced Responsive Layout */
.responsive-container {
display: flex !important;
flex-wrap: wrap !important;
gap: 20px !important;
align-items: stretch !important;
width: 100% !important;
margin: 20px 0 !important;
box-sizing: border-box !important;
}
@media screen and (min-width: 700px) {
.responsive-col {
width: calc(50% - 10px) !important;
}
}
@media screen and (min-width: 1100px) {
.responsive-col {
width: calc(33.333% - 14px) !important;
}
}
/* Special Hover Effects for Card Interactions */
.skin-pivot .dune-card:hover {
transform: translateY(-2px);
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: all 0.3s ease;
}
/* Diamond-shaped Decorative Elements */
.skin-pivot .diamond-accent {
position: absolute;
width: 10px;
height: 10px;
background: #C47F3A;
transform: rotate(45deg);
z-index: 1;
}
.skin-pivot .diamond-accent.top-left {
top: 10px;
left: 10px;
}
.skin-pivot .diamond-accent.top-right {
top: 10px;
right: 10px;
}
.skin-pivot .diamond-accent.bottom-left {
bottom: 10px;
left: 10px;
}
.skin-pivot .diamond-accent.bottom-right {
bottom: 10px;
right: 10px;
}
/* Locked Behind Section - Better Visual Emphasis */
.skin-pivot .dune-card-locked {
margin: 15px 0 !important;
background: linear-gradient(135deg, rgba(25, 20, 20, 0.7), rgba(35, 25, 25, 0.7)) !important;
border: 1px solid #9d5a5a !important;
border-radius: 4px !important;
padding: 15px !important;
position: relative !important;
text-align: center !important;
box-shadow: 0 0 10px rgba(157, 90, 90, 0.2) !important;
}
.skin-pivot .locked-behind-header {
background: linear-gradient(to right, rgba(157, 90, 90, 0.1), rgba(157, 90, 90, 0.2), rgba(157, 90, 90, 0.1)) !important;
color: #d9a3a3 !important;
border-bottom: 1px solid #9d5a5a !important;
padding: 8px 12px !important;
margin: -15px -15px 15px -15px !important;
text-transform: uppercase !important;
letter-spacing: 0.5px !important;
font-weight: bold !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
}
.skin-pivot .dune-card-locked-value {
color: #d9a3a3 !important;
font-weight: bold !important;
padding: 8px 0 !important;
font-size: 1.1em !important;
}
/* Visual Fix for Mobile Views */
@media only screen and (max-width: 600px) {
.skin-pivot #content {
padding: 10px !important;
}
.skin-pivot .dune-infobox,
.skin-pivot table.infobox-dune,
.skin-pivot .dune-card,
.skin-pivot .game-panel {
padding: 15px !important;
clip-path: polygon(
0% 10px,
10px 0%,
calc(100% - 10px) 0%,
100% 10px,
100% calc(100% - 10px),
calc(100% - 10px) 100%,
10px 100%,
0% calc(100% - 10px)
) !important;
}
.skin-pivot .dune-infobox-title,
.skin-pivot table.infobox-dune th:first-child,
.skin-pivot .dune-card-title,
.skin-pivot .game-panel-header {
margin: -15px -15px 15px -15px !important;
}
}