Common.css: Difference between revisions
From Dune Awakening DB
mNo edit summary |
mNo edit summary |
||
| Line 1,512: | Line 1,512: | ||
opacity: 1; | opacity: 1; | ||
} | } | ||
/* ======================================== | |||
REMOVE SIDEBAR COMPLETELY | |||
======================================== */ | |||
#sidebar, | |||
.large-2.medium-3.columns, | |||
#sidebar.large-2.medium-3.columns.hide-for-small.hide-for-print, | |||
aside.columns { | |||
display: none !important; | |||
} | |||
/* Adjust main content to full width */ | |||
#main-section, | |||
#main-section.main-section, | |||
#content, | |||
.mw-body, | |||
.large-10.medium-9.columns { | |||
width: 100% !important; | |||
max-width: 100% !important; | |||
margin: 0 !important; | |||
padding: 0 !important; | |||
} | |||
/* ======================================== | |||
GAME-STYLE TOP NAVIGATION BAR | |||
======================================== */ | |||
/* Create game UI navigation */ | |||
.skin-pivot .navbar { | |||
background: linear-gradient(180deg, rgba(20, 18, 28, 0.95) 0%, rgba(10, 8, 16, 0.98) 100%) !important; | |||
height: 60px !important; | |||
padding: 0 20px !important; | |||
position: fixed !important; | |||
top: 0 !important; | |||
left: 0 !important; | |||
right: 0 !important; | |||
z-index: 1000 !important; | |||
display: flex !important; | |||
align-items: center !important; | |||
border-bottom: 3px solid rgba(252, 231, 200, 0.4) !important; | |||
box-shadow: 0 2px 20px rgba(0,0,0,0.8) !important; | |||
} | |||
/* Logo/Site name in game font style */ | |||
.navbar-brand, | |||
.title-name { | |||
font-family: var(--font-display) !important; | |||
font-size: 22px !important; | |||
color: var(--dune-gold) !important; | |||
text-transform: uppercase !important; | |||
letter-spacing: 3px !important; | |||
font-weight: 700 !important; | |||
margin-right: 40px !important; | |||
text-shadow: 0 0 15px rgba(252, 231, 200, 0.4) !important; | |||
white-space: nowrap !important; | |||
} | |||
/* Navigation menu container */ | |||
.navbar-nav { | |||
display: flex !important; | |||
gap: 0 !important; | |||
margin: 0 !important; | |||
padding: 0 !important; | |||
flex: 1 !important; | |||
list-style: none !important; | |||
} | |||
/* Game-style navigation items */ | |||
.navbar-nav > li { | |||
position: relative !important; | |||
margin: 0 !important; | |||
} | |||
.navbar-nav > li > a { | |||
display: flex !important; | |||
align-items: center !important; | |||
padding: 0 20px !important; | |||
height: 60px !important; | |||
color: rgba(252, 231, 200, 0.8) !important; | |||
font-family: var(--font-primary) !important; | |||
font-size: 14px !important; | |||
font-weight: 600 !important; | |||
text-transform: uppercase !important; | |||
letter-spacing: 1.5px !important; | |||
text-decoration: none !important; | |||
border-right: 1px solid rgba(252, 231, 200, 0.1) !important; | |||
transition: all 0.3s ease !important; | |||
background: transparent !important; | |||
} | |||
.navbar-nav > li:first-child > a { | |||
border-left: 1px solid rgba(252, 231, 200, 0.1) !important; | |||
} | |||
/* Hover state like game UI */ | |||
.navbar-nav > li > a:hover { | |||
background: rgba(252, 231, 200, 0.1) !important; | |||
color: var(--dune-gold-bright) !important; | |||
text-shadow: 0 0 10px rgba(252, 231, 200, 0.5) !important; | |||
} | |||
/* Active/current page */ | |||
.navbar-nav > li.active > a, | |||
.navbar-nav > li.current > a { | |||
background: rgba(252, 231, 200, 0.15) !important; | |||
color: var(--dune-gold) !important; | |||
border-bottom: 3px solid var(--dune-gold) !important; | |||
} | |||
/* Search bar in navigation */ | |||
.navbar-search { | |||
display: flex !important; | |||
align-items: center !important; | |||
margin-left: auto !important; | |||
padding-left: 20px !important; | |||
} | |||
#searchInput, | |||
.navbar-search input { | |||
background: rgba(0, 0, 2, 0.8) !important; | |||
border: 2px solid rgba(252, 231, 200, 0.3) !important; | |||
color: var(--text-primary) !important; | |||
padding: 6px 12px !important; | |||
width: 200px !important; | |||
font-size: 13px !important; | |||
transition: all 0.3s ease !important; | |||
} | |||
#searchInput:focus, | |||
.navbar-search input:focus { | |||
border-color: var(--dune-gold) !important; | |||
box-shadow: 0 0 10px rgba(252, 231, 200, 0.3) !important; | |||
width: 250px !important; | |||
} | |||
/* ======================================== | |||
PAGE TITLE INTEGRATION | |||
======================================== */ | |||
/* Push content down for fixed navbar */ | |||
body.skin-pivot { | |||
padding-top: 60px !important; | |||
} | |||
/* Integrate page title with design */ | |||
.mw-body h1.firstHeading, | |||
h1.title, | |||
.mw-page-title-main { | |||
background: linear-gradient(180deg, rgba(10, 8, 16, 0.9) 0%, transparent 100%) !important; | |||
padding: 30px 40px 20px 40px !important; | |||
margin: 0 !important; | |||
font-family: var(--font-display) !important; | |||
font-size: 36px !important; | |||
color: var(--dune-gold) !important; | |||
text-transform: uppercase !important; | |||
letter-spacing: 4px !important; | |||
text-align: center !important; | |||
position: relative !important; | |||
text-shadow: 0 0 30px rgba(252, 231, 200, 0.4) !important; | |||
} | |||
/* Add decorative lines around title */ | |||
.mw-body h1.firstHeading::before, | |||
.mw-body h1.firstHeading::after { | |||
content: ''; | |||
position: absolute; | |||
top: 50%; | |||
width: 100px; | |||
height: 2px; | |||
background: linear-gradient(90deg, transparent 0%, var(--dune-gold) 100%); | |||
} | |||
.mw-body h1.firstHeading::before { | |||
left: 20px; | |||
} | |||
.mw-body h1.firstHeading::after { | |||
right: 20px; | |||
background: linear-gradient(90deg, var(--dune-gold) 0%, transparent 100%); | |||
} | |||
/* ======================================== | |||
BREADCRUMB ADJUSTMENTS | |||
======================================== */ | |||
/* Tone down breadcrumb brightness */ | |||
.dune-breadcrumb-nav { | |||
background: rgba(0,0,2,.6) !important; /* Darker background */ | |||
border: 1px solid rgba(252, 231, 200, 0.2) !important; /* Softer border */ | |||
margin-bottom: 16px !important; | |||
font-size: 13px !important; /* Smaller text */ | |||
padding: 6px 16px !important; | |||
} | |||
/* Remove glowing border effect */ | |||
.dune-breadcrumb-nav::before { | |||
display: none !important; | |||
} | |||
/* Softer link colors */ | |||
.dune-breadcrumb-nav a { | |||
color: rgba(252, 231, 200, 0.7) !important; /* Less bright */ | |||
font-weight: 500 !important; | |||
letter-spacing: 0.5px !important; | |||
} | |||
.dune-breadcrumb-nav a:hover { | |||
color: var(--dune-gold) !important; | |||
text-shadow: none !important; /* Remove glow */ | |||
} | |||
/* Softer separator */ | |||
.dune-breadcrumb-separator { | |||
color: rgba(252, 231, 200, 0.4) !important; | |||
margin: 0 8px !important; | |||
} | |||
.dune-breadcrumb-separator::before { | |||
content: '>' !important; /* Simple arrow instead of diamond */ | |||
font-size: 11px !important; | |||
} | |||
/* Current page in breadcrumb */ | |||
.dune-breadcrumb-nav > span:last-child { | |||
color: rgba(252, 231, 200, 0.5) !important; | |||
font-weight: 400 !important; | |||
} | |||
/* ======================================== | |||
RESPONSIVE ADJUSTMENTS | |||
======================================== */ | |||
@media (max-width: 1200px) { | |||
.navbar-nav > li > a { | |||
padding: 0 15px !important; | |||
font-size: 13px !important; | |||
} | |||
.navbar-search input { | |||
width: 150px !important; | |||
} | |||
} | |||
@media (max-width: 768px) { | |||
/* Mobile menu adjustments */ | |||
.navbar-nav { | |||
display: none !important; /* Hide on mobile, use hamburger menu */ | |||
} | |||
.navbar-search { | |||
display: none !important; | |||
} | |||
} | |||
/* ======================================== | |||
CUSTOM NAVIGATION MENU ITEMS | |||
======================================== */ | |||
/* Add this to create your specific menu items */ | |||
/* You'll need to edit your navigation template to include these items: | |||
- Navigation | |||
- Items | |||
- Crafting | |||
- Building | |||
- Tech Tree | |||
- Journeys | |||
- Skills | |||
- Map | |||
*/ | |||
/* Optional: Add icons to navigation items */ | |||
.navbar-nav > li > a::before { | |||
content: ''; | |||
width: 16px; | |||
height: 16px; | |||
margin-right: 8px; | |||
background-size: contain; | |||
opacity: 0.8; | |||
display: inline-block; | |||
} | |||
.navbar-nav > li > a:hover::before { | |||
opacity: 1; | |||
} | |||
/* Icon examples (you can add custom icons) */ | |||
.navbar-nav > li.nav-items > a::before { content: '◇'; } | |||
.navbar-nav > li.nav-crafting > a::before { content: '⚒'; } | |||
.navbar-nav > li.nav-building > a::before { content: '⌂'; } | |||
.navbar-nav > li.nav-tech > a::before { content: '⬢'; } | |||
.navbar-nav > li.nav-journeys > a::before { content: '➤'; } | |||
.navbar-nav > li.nav-skills > a::before { content: '★'; } | |||
.navbar-nav > li.nav-map > a::before { content: '🗺'; } | |||
Revision as of 15:34, 23 May 2025
/**********************************************************
* Enhanced Common.css – Clean version (minimal animations)
* (v3 clean · 2025-05-23)
**********************************************************/
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Rajdhani:wght@400;500;600;700&display=swap');
/*──────── 1. ENHANCED GLOBAL LAYOUT ───────*/
#tagline, h3#tagline{display:none!important;}
h1.title, .mw-page-title-main, h1.firstHeading{
margin-top:0!important;
line-height:1.2!important;
font-size:32px!important;
text-transform: uppercase;
letter-spacing: 2px;
background: linear-gradient(135deg, #fce7c8 0%, #E3BB7A 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
text-shadow: 0 0 20px rgba(252, 231, 200, 0.3);
}
#content, .mw-body, .mw-content-ltr, .mw-content-rtl{
padding-top:0!important;
margin-top:0!important;
}
html, body{
overflow-x:hidden!important;
position: relative;
}
/* Subtle static tech pattern overlay */
body::before {
content: '';
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-image:
repeating-linear-gradient(
45deg,
transparent,
transparent 35px,
rgba(252, 231, 200, 0.01) 35px,
rgba(252, 231, 200, 0.01) 70px
);
pointer-events: none;
z-index: 1;
}
/* Hide Pivot off-canvas elements */
nav.tab-bar.hide-for-print,
.left-off-canvas-toggle,
.right-off-canvas-toggle,
aside.right-off-canvas-menu,
#right-nav-aside{display:none!important;}
/*──────── 2. ENHANCED BREADCRUMB STRIP ───────*/
.dune-breadcrumb-nav{
display:flex;
align-items:center;
margin-bottom:20px;
font-size:18px;
background: linear-gradient(135deg, rgba(0,0,2,.9) 0%, rgba(12,10,20,.9) 100%);
border: 2px solid transparent;
background-clip: padding-box;
padding: 8px 16px;
position: relative;
overflow: hidden;
/* Hexagonal clip-path for futuristic look */
clip-path: polygon(20px 0%, 100% 0%, calc(100% - 20px) 100%, 0% 100%);
}
/* Static glowing border effect */
.dune-breadcrumb-nav::before {
content: '';
position: absolute;
top: -2px;
left: -2px;
right: -2px;
bottom: -2px;
background: linear-gradient(45deg, #fce7c8, #E3BB7A, #fce7c8);
z-index: -1;
opacity: 0.7;
filter: blur(2px);
/* REMOVED: animation */
}
.dune-breadcrumb-nav a{
color:#fce7c8;
text-decoration:none;
transition: all 0.3s ease;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 1px;
}
.dune-breadcrumb-nav a:hover{
color:#fff;
text-shadow: 0 0 10px rgba(252, 231, 200, 0.8);
}
.breadcrumb-home-link{
display:flex;
align-items:center;
}
.breadcrumb-home-icon{
width:20px;
height:20px;
margin-right:8px;
filter: drop-shadow(0 0 3px rgba(252, 231, 200, 0.5));
}
.dune-breadcrumb-separator{
margin:0 12px;
color:#E3BB7A;
font-weight: bold;
position: relative;
}
.dune-breadcrumb-separator::before {
content: '◆';
font-size: 12px;
}
/*──────── 3. ENHANCED RADIAL MENU ───────*/
.dune-radial-menu{
position:fixed;
top:50%;
left:50%;
width:500px;
height:500px;
transform:translate(-50%,-50%) scale(0);
z-index:9999;
opacity:0;
visibility:hidden;
pointer-events:none;
transition:transform .4s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity .3s ease;
}
.dune-radial-menu.active{
transform:translate(-50%,-50%) scale(1);
opacity:1;
visibility:visible;
pointer-events:all;
}
/* Enhanced menu items with hexagonal shape */
.dune-radial-item,
.dune-radial-center,
.dune-subcategory-container{
background: linear-gradient(135deg, #0c0a14 0%, #1a1a1a 100%);
border: 2px solid #fce7c8;
box-shadow:
inset 0 0 20px rgba(0,0,0,0.5),
0 0 20px rgba(252, 231, 200, 0.2);
transition: all 0.3s ease;
}
.dune-radial-item:hover,
.dune-radial-center:hover{
background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
border-color: #fff;
box-shadow:
inset 0 0 20px rgba(252, 231, 200, 0.1),
0 0 30px rgba(252, 231, 200, 0.4);
transform: scale(1.05);
}
.dune-subcategory-header{
background: linear-gradient(90deg, rgba(0,0,2,.9) 0%, rgba(12,10,20,.9) 100%);
color:#fce7c8;
border-bottom: 2px solid #fce7c8;
text-transform: uppercase;
letter-spacing: 1px;
font-weight: 700;
}
.dune-subcategory-item{
color:#fce7c8;
transition: all 0.2s ease;
}
.dune-subcategory-item:hover{
background: linear-gradient(90deg, rgba(252, 231, 200, 0.1) 0%, rgba(252, 231, 200, 0.2) 100%);
padding-left: 20px;
border-left: 3px solid #fce7c8;
}
.dune-radial-overlay{
background: radial-gradient(circle at center, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.8) 100%);
backdrop-filter: blur(3px);
}
/* Mobile grid enhancements */
@media screen and (max-width:768px){
.dune-radial-menu.mobile-grid{
background: linear-gradient(135deg, rgba(0,0,2,.95) 0%, rgba(12,10,20,.95) 100%);
border: 2px solid #fce7c8;
border-radius: 0;
clip-path: polygon(10px 0%, 100% 0%, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0% 100%, 0% 10px);
}
.dune-radial-item{
border: 2px solid #fce7c8;
background: rgba(0,0,2,.8);
}
.dune-subcategory-item{
background: rgba(0,0,2,.8);
border: 1px solid rgba(252, 231, 200, 0.3);
}
}
/*──────── 4. CLEAN UTILITY CLASSES ───────*/
/* Loading indicator for actual loading states */
.tech-loader {
width: 40px;
height: 40px;
border: 3px solid rgba(252, 231, 200, 0.2);
border-top-color: #fce7c8;
border-radius: 50%;
animation: loadingSpin 1s linear infinite;
display: inline-block;
}
@keyframes loadingSpin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
/* Static glitch text effect */
.glitch-text {
text-shadow: 0 0 2px #fce7c8;
}
/**********************************************************
* Additional UI Components for Dune Wiki
* Clean version - minimal animations
**********************************************************/
/*──────── 1. HEXAGONAL BUTTONS ───────*/
.hex-button {
position: relative;
display: inline-block;
padding: 12px 32px;
margin: 8px;
background: linear-gradient(135deg, rgba(252, 231, 200, 0.1) 0%, rgba(252, 231, 200, 0.05) 100%);
color: var(--dune-gold);
font-family: var(--font-display);
font-weight: 600;
text-transform: uppercase;
letter-spacing: 2px;
cursor: pointer;
transition: all 0.3s ease;
clip-path: polygon(30px 0%, 100% 0%, calc(100% - 30px) 100%, 0% 100%);
border: none;
}
.hex-button::before {
content: '';
position: absolute;
top: -2px;
left: -2px;
right: -2px;
bottom: -2px;
background: linear-gradient(45deg, var(--dune-gold), var(--dune-gold-hover));
clip-path: polygon(30px 0%, 100% 0%, calc(100% - 30px) 100%, 0% 100%);
z-index: -1;
opacity: 0.7;
transition: all 0.3s ease;
}
.hex-button:hover {
transform: translateY(-2px);
color: var(--dune-gold-bright);
text-shadow: 0 0 10px var(--dune-gold-glow);
}
.hex-button:hover::before {
opacity: 1;
filter: blur(3px);
}
/*──────── 2. STATUS INDICATORS - No animation ───────*/
.status-indicator {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 6px 16px;
background: rgba(0, 0, 2, 0.8);
border: 1px solid rgba(252, 231, 200, 0.3);
font-size: 14px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 1px;
position: relative;
overflow: hidden;
}
/* Static status sweep effect */
.status-indicator::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 30%;
height: 100%;
background: linear-gradient(90deg, transparent 0%, rgba(252, 231, 200, 0.05) 100%);
/* REMOVED: animation */
}
.status-indicator .status-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--dune-gold);
box-shadow: 0 0 10px var(--dune-gold-glow);
/* REMOVED: animation: techPulse */
}
.status-indicator.active .status-dot {
background: #44ff44;
box-shadow: 0 0 10px rgba(68, 255, 68, 0.8);
}
.status-indicator.warning .status-dot {
background: #ff8844;
box-shadow: 0 0 10px rgba(255, 136, 68, 0.8);
}
.status-indicator.error .status-dot {
background: #ff4444;
box-shadow: 0 0 10px rgba(255, 68, 68, 0.8);
}
/*──────── 3. RESOURCE BARS - Static shine ───────*/
.resource-bar {
width: 100%;
height: 24px;
background: rgba(0, 0, 2, 0.9);
border: 2px solid rgba(252, 231, 200, 0.3);
position: relative;
overflow: hidden;
margin: 8px 0;
}
.resource-bar::before,
.resource-bar::after {
content: '';
position: absolute;
width: 20px;
height: 20px;
background: rgba(252, 231, 200, 0.2);
transform: rotate(45deg);
}
.resource-bar::before {
top: -10px;
left: -10px;
}
.resource-bar::after {
bottom: -10px;
right: -10px;
}
.resource-fill {
height: 100%;
background: linear-gradient(90deg, var(--dune-gold-dark) 0%, var(--dune-gold) 50%, var(--dune-gold-dark) 100%);
transition: width 0.6s ease;
position: relative;
overflow: hidden;
}
/* Static shine effect */
.resource-fill::after {
content: '';
position: absolute;
top: 0;
left: 20%;
width: 30%;
height: 100%;
background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
/* REMOVED: animation */
}
.resource-label {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 12px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1px;
color: var(--dune-black);
text-shadow: 0 0 3px rgba(255, 255, 255, 0.5);
}
/*──────── 4. TOOLTIP SYSTEM ───────*/
.tooltip-trigger {
position: relative;
cursor: help;
border-bottom: 1px dotted var(--dune-gold);
}
.tooltip-content {
position: absolute;
bottom: 100%;
left: 50%;
transform: translateX(-50%) translateY(-8px);
padding: 12px 16px;
background: linear-gradient(135deg, rgba(0, 0, 2, 0.95) 0%, rgba(12, 10, 20, 0.95) 100%);
border: 2px solid var(--dune-gold);
color: var(--text-primary);
font-size: 14px;
line-height: 1.4;
white-space: nowrap;
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
z-index: 1000;
clip-path: polygon(8px 0%, 100% 0%, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0% calc(100% - 8px), 0% 8px);
}
.tooltip-content::after {
content: '';
position: absolute;
top: 100%;
left: 50%;
transform: translateX(-50%);
width: 0;
height: 0;
border-left: 8px solid transparent;
border-right: 8px solid transparent;
border-top: 8px solid var(--dune-gold);
}
.tooltip-trigger:hover .tooltip-content {
opacity: 1;
visibility: visible;
transform: translateX(-50%) translateY(-12px);
}
/*──────── 5. NOTIFICATION BADGES - Static ───────*/
.notification-badge {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 8px 16px;
background: linear-gradient(135deg, rgba(0, 0, 2, 0.9) 0%, rgba(20, 18, 28, 0.9) 100%);
border-left: 4px solid var(--dune-gold);
position: relative;
overflow: hidden;
/* Simple fade in instead of slide */
opacity: 0;
animation: fadeIn 0.3s ease-out forwards;
margin: 8px 0;
}
@keyframes fadeIn {
to {
opacity: 1;
}
}
.notification-badge::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 4px;
height: 100%;
background: var(--dune-gold);
/* REMOVED: animation */
}
.notification-badge.success {
border-left-color: #44ff44;
}
.notification-badge.success::before {
background: #44ff44;
}
.notification-badge.warning {
border-left-color: #ff8844;
}
.notification-badge.warning::before {
background: #ff8844;
}
.notification-badge.error {
border-left-color: #ff4444;
}
.notification-badge.error::before {
background: #ff4444;
}
/*──────── 6. ICON CONTAINERS ───────*/
.hex-icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 48px;
height: 48px;
background: linear-gradient(135deg, rgba(252, 231, 200, 0.1) 0%, rgba(252, 231, 200, 0.05) 100%);
position: relative;
clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.hex-icon::before {
content: '';
position: absolute;
top: -2px;
left: -2px;
right: -2px;
bottom: -2px;
background: linear-gradient(45deg, var(--dune-gold), var(--dune-gold-hover));
clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
z-index: -1;
opacity: 0.6;
}
/* Simple scale on hover */
.hex-icon:hover {
transform: scale(1.1);
transition: all 0.3s ease;
}
.hex-icon img,
.hex-icon svg {
width: 24px;
height: 24px;
filter: drop-shadow(0 0 3px var(--dune-gold-glow));
}
/*──────── 7. DATA CARDS ───────*/
.data-card {
background: linear-gradient(135deg, rgba(0, 0, 2, 0.9) 0%, rgba(12, 10, 20, 0.9) 100%);
border: 1px solid rgba(252, 231, 200, 0.3);
padding: 16px;
margin: 8px 0;
position: relative;
overflow: hidden;
}
.data-card-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 12px;
padding-bottom: 8px;
border-bottom: 1px solid rgba(252, 231, 200, 0.2);
}
.data-card-title {
font-family: var(--font-display);
font-size: 18px;
font-weight: 600;
color: var(--dune-gold);
text-transform: uppercase;
letter-spacing: 1px;
}
.data-card-value {
font-size: 24px;
font-weight: 700;
color: var(--dune-gold-bright);
text-shadow: 0 0 10px var(--dune-gold-glow);
}
.data-card-footer {
display: flex;
align-items: center;
justify-content: space-between;
margin-top: 12px;
padding-top: 8px;
border-top: 1px solid rgba(252, 231, 200, 0.2);
font-size: 14px;
color: var(--text-secondary);
}
.data-card-trend {
display: flex;
align-items: center;
gap: 4px;
}
.data-card-trend.up {
color: #44ff44;
}
.data-card-trend.down {
color: #ff4444;
}
/*──────── 8. LOADING SKELETON - Kept for loading states ───────*/
.skeleton-loader {
background: linear-gradient(90deg,
rgba(252, 231, 200, 0.05) 0%,
rgba(252, 231, 200, 0.1) 50%,
rgba(252, 231, 200, 0.05) 100%
);
background-size: 200% 100%;
animation: skeletonWave 1.5s linear infinite;
border-radius: 2px;
}
@keyframes skeletonWave {
0% { background-position: 200% 0; }
100% { background-position: -200% 0; }
}
.skeleton-text {
height: 16px;
margin: 8px 0;
}
.skeleton-title {
height: 24px;
width: 60%;
margin: 12px 0;
}
.skeleton-image {
height: 200px;
width: 100%;
margin: 16px 0;
}
/*──────── Enhanced BuildingPage Styles - Clean Version ───────*/
/*──────── Card Component - Clean & Sleek ───────*/
.dune-card{
background: linear-gradient(135deg, rgba(0,0,2,.85) 0%, rgba(12,10,20,.85) 100%);
color:#E0E0E0;
padding:0;
margin:0 0 24px 0;
border: 2px solid rgba(252, 231, 200, 0.2);
position: relative;
overflow: hidden;
/* Hexagonal clip for futuristic look */
clip-path: polygon(
0 20px,
20px 0,
calc(100% - 20px) 0,
100% 20px,
100% calc(100% - 20px),
calc(100% - 20px) 100%,
20px 100%,
0 calc(100% - 20px)
);
box-shadow:
0 0 30px rgba(0,0,0,.8),
inset 0 0 30px rgba(252, 231, 200, 0.05);
/* Equal-height support */
display:flex;
flex-direction:column;
flex:1 0 auto;
height:100%;
}
/* Inner padding container */
.dune-card-inner {
padding: 20px;
position: relative;
z-index: 1;
}
/* Tech decoration corner - static, no pulsing */
.dune-card-decoration {
position: absolute;
top: 0;
right: 0;
width: 60px;
height: 60px;
background: linear-gradient(135deg, transparent 50%, rgba(252, 231, 200, 0.1) 50%);
z-index: 2;
}
.dune-card-decoration::before {
content: '';
position: absolute;
top: 10px;
right: 10px;
width: 6px;
height: 6px;
background: #fce7c8;
border-radius: 50%;
box-shadow: 0 0 10px #fce7c8;
opacity: 0.7;
/* REMOVED: animation: techPulse 2s ease-in-out infinite; */
}
/* Enhanced labels */
.dune-card-label{
color:#E3BB7A;
font-size:11px;
text-transform:uppercase;
margin-bottom:8px;
letter-spacing: 2px;
font-weight: 700;
display: inline-block;
padding: 4px 12px;
background: linear-gradient(90deg, rgba(252, 231, 200, 0.1) 0%, transparent 100%);
border-left: 3px solid #fce7c8;
position: relative;
}
/* Enhanced titles - static underline */
.dune-card-title{
margin:0;
font-size:24px;
color:#fce7c8;
text-transform:uppercase;
padding-bottom:12px;
margin-bottom:16px;
display:flex;
align-items:center;
position: relative;
font-weight: 700;
letter-spacing: 1px;
text-shadow: 0 0 20px rgba(252, 231, 200, 0.5);
}
/* Static title underline - no animation */
.dune-card-title::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 2px;
background: linear-gradient(90deg,
transparent 0%,
#fce7c8 20%,
#E3BB7A 50%,
#fce7c8 80%,
transparent 100%
);
/* REMOVED: animation: slideGlow 3s ease-in-out infinite; */
}
.dune-card-title .icon{
margin-right:12px;
font-size: 28px;
color: #fce7c8;
filter: drop-shadow(0 0 5px rgba(252, 231, 200, 0.7));
}
/* Enhanced description boxes */
.dune-card-description{
font-size:16px;
line-height:1.6;
background: rgba(0,0,2,.8);
border: 1px solid rgba(252, 231, 200, 0.2);
padding:16px;
margin-bottom:16px;
position: relative;
overflow: hidden;
}
/* Tech corner accents for descriptions */
.dune-card-description::before,
.dune-card-description::after {
content: '';
position: absolute;
width: 20px;
height: 20px;
border: 2px solid rgba(252, 231, 200, 0.3);
}
.dune-card-description::before {
top: -1px;
left: -1px;
border-right: none;
border-bottom: none;
}
.dune-card-description::after {
bottom: -1px;
right: -1px;
border-left: none;
border-top: none;
}
/* Enhanced image styling */
.dune-card-image{
text-align:center;
margin:16px 0;
position: relative;
}
.dune-card-image img{
max-width:220px;
max-height:220px;
object-fit:contain;
filter: drop-shadow(0 0 20px rgba(252, 231, 200, 0.3));
transition: all 0.3s ease;
}
.dune-card-image:hover img {
transform: scale(1.05);
filter: drop-shadow(0 0 30px rgba(252, 231, 200, 0.5));
}
.has-border,
.card-image-border{
border: 3px solid transparent;
background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%) padding-box,
linear-gradient(135deg, #fce7c8 0%, #E3BB7A 100%) border-box;
padding:8px;
position: relative;
overflow: hidden;
}
/* Static shimmer effect - no animation */
.has-border::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(45deg, transparent 30%, rgba(252, 231, 200, 0.05) 50%, transparent 70%);
/* REMOVED: animation: shimmer 3s ease-in-out infinite; */
}
/* Enhanced locked-behind box */
.dune-card-locked{
margin:20px 0;
background: linear-gradient(135deg, rgba(160, 123, 64, 0.2) 0%, rgba(0,0,2,.8) 100%);
border: 2px solid rgba(252, 231, 200, 0.4);
padding:16px;
text-align:center;
position: relative;
clip-path: polygon(10px 0%, 100% 0%, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0% 100%, 0% 10px);
}
.dune-card-locked-label{
color:#fce7c8;
font-weight:700;
font-size:13px;
margin-bottom:12px;
padding-bottom:8px;
text-transform:uppercase;
letter-spacing: 2px;
border-bottom: 2px solid rgba(252, 231, 200, 0.3);
}
.dune-card-locked-icon{
display:inline-block;
width:20px;
height:20px;
margin-right:8px;
color:#fce7c8;
font-size:18px;
/* REMOVED: animation: techPulse 2s ease-in-out infinite; */
}
.dune-card-locked-value{
color:#fff;
font-size:18px;
padding:8px 16px;
background: rgba(252, 231, 200, 0.1);
border: 1px solid rgba(252, 231, 200, 0.3);
display:inline-block;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 1px;
box-shadow: inset 0 0 10px rgba(252, 231, 200, 0.1);
}
/*──────── Clean Tables - No triangles, simple headers ───────*/
.dune-table-wrapper{
border: 2px solid rgba(252, 231, 200, 0.3);
overflow:hidden;
width:100%;
position: relative;
background: rgba(0,0,2,.6);
box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
/* REMOVED: Corner triangles */
}
table.infobox-dune-two-column,
table.infobox-dune-standard-table{
width:100%;
table-layout:fixed;
border-collapse:separate;
border-spacing:0;
background: transparent;
position: relative;
}
/* Enhanced table cells */
table.infobox-dune-two-column th,
table.infobox-dune-two-column td,
table.infobox-dune-standard-table th,
table.infobox-dune-standard-table td{
padding:12px 8px;
font-size:15px;
color:#E0E0E0;
background: rgba(12,10,20,.6);
border-bottom: 1px solid rgba(252, 231, 200, 0.2);
transition: all 0.2s ease;
}
/* Hover effect for table rows */
table.infobox-dune-two-column tr:hover td,
table.infobox-dune-standard-table tr:hover td {
background: rgba(252, 231, 200, 0.05);
color: #fff;
}
/* Clean table headers - no gradient, simple dark background */
table.infobox-dune-two-column thead th,
table.infobox-dune-standard-table thead th,
.tr-dark{
background: rgba(0,0,2,.9);
color:#fce7c8;
font-weight:700;
text-transform:uppercase;
letter-spacing:1px;
border-bottom: 2px solid rgba(252, 231, 200, 0.4);
/* REMOVED: gradient and text-shadow */
}
table.infobox-dune-two-column th .icon,
table.infobox-dune-standard-table th .icon{
display:inline-flex;
align-items:center;
justify-content:center;
margin-right:8px;
width:20px;
color:#fce7c8;
filter: drop-shadow(0 0 3px rgba(252, 231, 200, 0.7));
}
table.infobox-dune-two-column tr:last-child td,
table.infobox-dune-standard-table tr:last-child td{
border-bottom:none;
}
/* Icon column styling */
table.infobox-dune-two-column th:first-child,
table.infobox-dune-standard-table th:first-child {
width: 40%;
text-align: left;
padding-left: 16px;
}
/* Video container enhancement - no shimmer */
.dune-card-video {
border: 3px solid transparent;
background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%) padding-box,
linear-gradient(135deg, #fce7c8 0%, #E3BB7A 100%) border-box;
padding: 4px;
position: relative;
overflow: hidden;
box-shadow: 0 0 30px rgba(252, 231, 200, 0.3);
}
/* Responsive adjustments */
@media screen and (max-width:600px){
.dune-card{
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));
}
.dune-card-title {
font-size: 20px;
}
table.infobox-dune-two-column th,
table.infobox-dune-two-column td,
table.infobox-dune-standard-table th,
table.infobox-dune-standard-table td{
padding:10px 6px;
font-size:14px;
}
}
/*──────── Recipe formatting ───────*/
.recipe-item {
display: inline-flex;
align-items: center;
background: rgba(252, 231, 200, 0.1);
border: 1px solid rgba(252, 231, 200, 0.3);
padding: 4px 8px;
margin: 2px;
border-radius: 2px;
transition: all 0.2s ease;
}
.recipe-item:hover {
background: rgba(252, 231, 200, 0.2);
border-color: #fce7c8;
transform: translateY(-2px);
}
/* Loading animation for dynamic content (kept for actual loading states) */
.content-loading {
position: relative;
min-height: 100px;
}
.content-loading::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 40px;
height: 40px;
border: 3px solid rgba(252, 231, 200, 0.2);
border-top-color: #fce7c8;
border-radius: 50%;
animation: loadingSpin 1s linear infinite;
}
/* Only animation kept - for loading states */
@keyframes loadingSpin {
0% { transform: translate(-50%, -50%) rotate(0deg); }
100% { transform: translate(-50%, -50%) rotate(360deg); }
}
/* DESKTOP-OPTIMIZED CSS FIXES
* 1. Text size (smaller)
* 2. Equal column widths
* 3. Fit desktop without scroll
*/
/* ===== FONT SIZE ADJUSTMENTS ===== */
/* Reduce all text sizes by ~15-20% */
:root {
--font-size-xs: 0.65rem !important; /* was 0.75rem */
--font-size-sm: 0.75rem !important; /* was 0.875rem */
--font-size-md: 0.85rem !important; /* was 1rem */
--font-size-lg: 1.1rem !important; /* was 1.25rem */
--font-size-xl: 1.3rem !important; /* was 1.5rem */
--font-size-xxl: 1.7rem !important; /* was 2rem */
}
/* Specific text size overrides */
.dune-card-title {
font-size: 18px !important; /* was 24px */
}
.dune-card-label {
font-size: 10px !important; /* was 11px */
}
.dune-card-description {
font-size: 14px !important; /* was 16px */
line-height: 1.4 !important;
}
.dune-breadcrumb-nav {
font-size: 14px !important; /* was 18px */
}
table.infobox-dune-two-column th,
table.infobox-dune-two-column td,
table.infobox-dune-standard-table th,
table.infobox-dune-standard-table td {
font-size: 13px !important; /* was 15px */
padding: 8px 6px !important; /* reduced padding */
}
/* ===== DESKTOP LAYOUT OPTIMIZATION ===== */
/* Force 3 equal columns on desktop */
@media (min-width: 1200px) {
.responsive-container {
max-width: 1400px;
margin: 0 auto;
gap: 20px !important;
padding: 0 20px;
}
.responsive-col {
flex: 1 1 0 !important; /* Equal width columns */
max-width: none !important;
min-width: 0 !important;
}
/* Ensure cards fill column height */
.dune-card {
height: 100%;
}
}
/* Prevent horizontal scroll */
body {
max-width: 100vw;
overflow-x: hidden;
}
.skin-pivot #content,
.skin-pivot .mw-body {
max-width: 100%;
padding: 20px !important;
}
/* ===== COMPACT SPACING ===== */
/* Reduce vertical spacing */
.dune-card {
margin-bottom: 16px !important; /* was 24px */
}
.dune-card-inner {
padding: 16px !important; /* was 20px */
}
.dune-card-title {
padding-bottom: 8px !important;
margin-bottom: 12px !important;
}
.dune-card-description {
padding: 12px !important; /* was 16px */
margin-bottom: 12px !important;
}
.dune-card-locked {
padding: 12px !important; /* was 16px */
margin: 16px 0 !important;
}
/* ===== FIXED HEIGHT ADJUSTMENTS ===== */
/* Keep images reasonable size */
.dune-card-image img {
max-width: 180px !important; /* was 220px */
max-height: 180px !important;
}
/* Video container height */
.dune-card-video {
max-height: 200px;
overflow: hidden;
}
/* ===== TABLE OPTIMIZATIONS ===== */
/* More compact tables */
.dune-table-wrapper {
margin: 8px 0;
}
table.infobox-dune-standard-table thead th {
padding: 8px !important;
font-size: 12px !important;
letter-spacing: 0.5px !important;
}
/* ===== BREADCRUMB COMPACT ===== */
.dune-breadcrumb-nav {
margin-bottom: 16px !important; /* was 20px */
padding: 6px 12px !important; /* was 8px 16px */
}
/* ===== ENSURE EQUAL HEIGHTS ===== */
.responsive-container {
align-items: stretch !important;
}
.responsive-col {
display: flex;
flex-direction: column;
}
.responsive-col > * {
flex: 1 1 auto;
}
/* ===== HIDE SCROLLBARS BUT KEEP FUNCTIONALITY ===== */
/* Optional - hide scrollbars for cleaner look */
::-webkit-scrollbar {
width: 8px !important; /* was 12px */
}
/* ===== SPECIFIC FIXES FOR YOUR SCREENSHOT ===== */
/* Daily Production card adjustment */
.data-card {
padding: 12px !important;
margin: 6px 0 !important;
}
.data-card-value {
font-size: 20px !important; /* was 24px */
}
/* Notes section more compact */
.notification-badge {
padding: 6px 12px !important;
margin: 6px 0 !important;
font-size: 13px !important;
}
/* Buttons smaller */
.hex-button {
padding: 8px 24px !important; /* was 12px 32px */
font-size: 13px !important;
margin: 6px !important;
}
/* ========================================
TABLE ROW FIX - Remove Alternating Colors
======================================== */
/* Force all table rows to have consistent background */
.skin-pivot table tr,
.skin-pivot table tbody tr,
.skin-pivot table tbody tr:nth-child(odd),
.skin-pivot table tbody tr:nth-child(even),
.skin-pivot table tbody tr:nth-child(odd) td,
.skin-pivot table tbody tr:nth-child(even) td,
.skin-pivot .wikitable tr,
.skin-pivot .wikitable tbody tr:nth-child(odd),
.skin-pivot .wikitable tbody tr:nth-child(even) {
background: transparent !important;
background-color: transparent !important;
}
/* Ensure our custom table styling takes precedence */
table.infobox-dune-two-column tbody tr td,
table.infobox-dune-standard-table tbody tr td {
background: rgba(12,10,20,.6) !important;
background-color: rgba(12,10,20,.6) !important;
}
/* ========================================
SIDEBAR COMPLETE REDESIGN
======================================== */
/* Main sidebar container */
#sidebar,
.large-2.medium-3.columns {
background: linear-gradient(135deg, rgba(0,0,2,.95) 0%, rgba(12,10,20,.95) 100%) !important;
border-right: 2px solid rgba(252, 231, 200, 0.3);
padding: 0 !important;
box-shadow: 2px 0 20px rgba(0,0,0,0.8);
}
/* Logo area redesign */
.tab-bar-section.middle {
background: rgba(0,0,2,.9) !important;
padding: 20px 10px !important;
border-bottom: 2px solid rgba(252, 231, 200, 0.3);
text-align: center;
position: relative;
overflow: hidden;
}
/* Hexagonal logo container */
.tab-bar-section.middle::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 120px;
height: 120px;
transform: translate(-50%, -50%);
background: linear-gradient(135deg, rgba(252, 231, 200, 0.1) 0%, rgba(252, 231, 200, 0.05) 100%);
clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
z-index: 0;
}
/* Logo styling */
.tab-bar-section.middle img,
.title-name {
position: relative;
z-index: 1;
max-height: 80px !important;
width: auto !important;
filter: drop-shadow(0 0 20px rgba(252, 231, 200, 0.3));
}
/* Alternative: Text-only logo */
.title-name {
font-family: var(--font-display);
font-size: 24px;
color: var(--dune-gold);
text-transform: uppercase;
letter-spacing: 3px;
font-weight: 900;
text-shadow: 0 0 20px rgba(252, 231, 200, 0.5);
}
/* Sidebar navigation sections */
#sidebar .side-nav,
.side-nav {
background: transparent !important;
padding: 0 !important;
margin: 0 !important;
}
/* Section headers */
#sidebar h4,
#sidebar h5,
.side-nav-title {
background: linear-gradient(90deg, rgba(252, 231, 200, 0.15) 0%, transparent 100%);
color: var(--dune-gold) !important;
font-family: var(--font-display);
font-size: 14px !important;
text-transform: uppercase;
letter-spacing: 2px;
padding: 10px 15px !important;
margin: 0 !important;
border-left: 3px solid var(--dune-gold);
position: relative;
}
/* Sidebar links */
#sidebar a,
#sidebar .side-nav li a,
.side-nav li a {
color: #C8C8C8 !important;
padding: 8px 15px 8px 25px !important;
border: none !important;
border-bottom: 1px solid rgba(252, 231, 200, 0.1) !important;
transition: all 0.3s ease;
position: relative;
font-size: 14px !important;
display: block !important;
background: transparent !important;
}
/* Link hover effect */
#sidebar a:hover,
#sidebar .side-nav li a:hover {
background: rgba(252, 231, 200, 0.1) !important;
color: var(--dune-gold) !important;
padding-left: 35px !important;
border-left: 3px solid var(--dune-gold);
}
/* Active/current page */
#sidebar .active a,
#sidebar li.active > a {
background: rgba(252, 231, 200, 0.15) !important;
color: var(--dune-gold) !important;
border-left: 3px solid var(--dune-gold);
font-weight: 600;
}
/* Search box in sidebar */
#sidebar input[type="search"],
#sidebar input[type="text"],
#searchInput {
background: rgba(0, 0, 2, 0.8) !important;
border: 2px solid rgba(252, 231, 200, 0.3) !important;
color: var(--text-primary) !important;
padding: 8px 12px !important;
margin: 10px !important;
width: calc(100% - 20px) !important;
font-family: var(--font-primary);
transition: all 0.3s ease;
}
#sidebar input[type="search"]:focus,
#sidebar input[type="text"]:focus {
border-color: var(--dune-gold) !important;
box-shadow: 0 0 10px rgba(252, 231, 200, 0.3) !important;
outline: none !important;
}
/* Search button */
#searchButton,
#sidebar button {
background: linear-gradient(135deg, rgba(252, 231, 200, 0.2) 0%, rgba(252, 231, 200, 0.1) 100%) !important;
border: 2px solid var(--dune-gold) !important;
color: var(--dune-gold) !important;
padding: 6px 12px !important;
text-transform: uppercase;
font-weight: 600;
letter-spacing: 1px;
cursor: pointer;
transition: all 0.3s ease;
}
#searchButton:hover,
#sidebar button:hover {
background: rgba(252, 231, 200, 0.3) !important;
transform: translateY(-2px);
}
/* Sidebar dividers */
#sidebar hr,
.side-nav li.divider {
border: none !important;
border-top: 1px solid rgba(252, 231, 200, 0.2) !important;
margin: 10px 0 !important;
}
/* Sidebar scrollbar */
#sidebar::-webkit-scrollbar {
width: 8px;
}
#sidebar::-webkit-scrollbar-track {
background: rgba(0, 0, 2, 0.8);
}
#sidebar::-webkit-scrollbar-thumb {
background: var(--dune-gold-dark);
border-radius: 2px;
}
/* Special sidebar sections */
.sidebar-stats,
.sidebar-info {
background: rgba(0,0,2,.8);
border: 1px solid rgba(252, 231, 200, 0.2);
margin: 10px;
padding: 10px;
border-radius: 3px;
}
.sidebar-stats h5,
.sidebar-info h5 {
color: var(--dune-gold);
font-size: 12px !important;
text-transform: uppercase;
margin-bottom: 8px !important;
border: none !important;
padding: 0 !important;
}
/* Mobile sidebar adjustments */
@media (max-width: 768px) {
aside.left-off-canvas-menu,
aside.right-off-canvas-menu {
background: linear-gradient(135deg, rgba(0,0,2,.98) 0%, rgba(12,10,20,.98) 100%) !important;
}
}
/* ========================================
OPTIONAL: REMOVE/REPLACE LOGO
======================================== */
/* To hide logo completely */
/*
.tab-bar-section.middle img,
.title-name img {
display: none !important;
}
*/
/* To replace with text only */
/*
.tab-bar-section.middle::after {
content: 'DUNE DB';
font-family: var(--font-display);
font-size: 28px;
color: var(--dune-gold);
font-weight: 900;
letter-spacing: 4px;
position: relative;
z-index: 2;
}
*/
/* ========================================
FOOTER ENHANCEMENT (Bonus)
======================================== */
footer#footer {
background: linear-gradient(180deg, transparent 0%, rgba(0,0,2,.9) 100%) !important;
border-top: 2px solid rgba(252, 231, 200, 0.3);
margin-top: 40px !important;
padding: 20px !important;
}
footer#footer a {
color: var(--dune-gold) !important;
margin: 0 10px;
}
footer#footer li {
display: inline-block !important;
border: none !important;
}
/* Quick Stats Widget */
.sidebar-stats-item {
display: flex;
justify-content: space-between;
padding: 5px 0;
color: #C8C8C8;
font-size: 13px;
}
.sidebar-stats-value {
color: var(--dune-gold);
font-weight: 600;
}
/* Icon support for menu items */
#sidebar .side-nav li a::before {
content: '◆';
position: absolute;
left: 10px;
color: var(--dune-gold);
opacity: 0.5;
font-size: 10px;
}
#sidebar .side-nav li a:hover::before {
opacity: 1;
}
/* ========================================
REMOVE SIDEBAR COMPLETELY
======================================== */
#sidebar,
.large-2.medium-3.columns,
#sidebar.large-2.medium-3.columns.hide-for-small.hide-for-print,
aside.columns {
display: none !important;
}
/* Adjust main content to full width */
#main-section,
#main-section.main-section,
#content,
.mw-body,
.large-10.medium-9.columns {
width: 100% !important;
max-width: 100% !important;
margin: 0 !important;
padding: 0 !important;
}
/* ========================================
GAME-STYLE TOP NAVIGATION BAR
======================================== */
/* Create game UI navigation */
.skin-pivot .navbar {
background: linear-gradient(180deg, rgba(20, 18, 28, 0.95) 0%, rgba(10, 8, 16, 0.98) 100%) !important;
height: 60px !important;
padding: 0 20px !important;
position: fixed !important;
top: 0 !important;
left: 0 !important;
right: 0 !important;
z-index: 1000 !important;
display: flex !important;
align-items: center !important;
border-bottom: 3px solid rgba(252, 231, 200, 0.4) !important;
box-shadow: 0 2px 20px rgba(0,0,0,0.8) !important;
}
/* Logo/Site name in game font style */
.navbar-brand,
.title-name {
font-family: var(--font-display) !important;
font-size: 22px !important;
color: var(--dune-gold) !important;
text-transform: uppercase !important;
letter-spacing: 3px !important;
font-weight: 700 !important;
margin-right: 40px !important;
text-shadow: 0 0 15px rgba(252, 231, 200, 0.4) !important;
white-space: nowrap !important;
}
/* Navigation menu container */
.navbar-nav {
display: flex !important;
gap: 0 !important;
margin: 0 !important;
padding: 0 !important;
flex: 1 !important;
list-style: none !important;
}
/* Game-style navigation items */
.navbar-nav > li {
position: relative !important;
margin: 0 !important;
}
.navbar-nav > li > a {
display: flex !important;
align-items: center !important;
padding: 0 20px !important;
height: 60px !important;
color: rgba(252, 231, 200, 0.8) !important;
font-family: var(--font-primary) !important;
font-size: 14px !important;
font-weight: 600 !important;
text-transform: uppercase !important;
letter-spacing: 1.5px !important;
text-decoration: none !important;
border-right: 1px solid rgba(252, 231, 200, 0.1) !important;
transition: all 0.3s ease !important;
background: transparent !important;
}
.navbar-nav > li:first-child > a {
border-left: 1px solid rgba(252, 231, 200, 0.1) !important;
}
/* Hover state like game UI */
.navbar-nav > li > a:hover {
background: rgba(252, 231, 200, 0.1) !important;
color: var(--dune-gold-bright) !important;
text-shadow: 0 0 10px rgba(252, 231, 200, 0.5) !important;
}
/* Active/current page */
.navbar-nav > li.active > a,
.navbar-nav > li.current > a {
background: rgba(252, 231, 200, 0.15) !important;
color: var(--dune-gold) !important;
border-bottom: 3px solid var(--dune-gold) !important;
}
/* Search bar in navigation */
.navbar-search {
display: flex !important;
align-items: center !important;
margin-left: auto !important;
padding-left: 20px !important;
}
#searchInput,
.navbar-search input {
background: rgba(0, 0, 2, 0.8) !important;
border: 2px solid rgba(252, 231, 200, 0.3) !important;
color: var(--text-primary) !important;
padding: 6px 12px !important;
width: 200px !important;
font-size: 13px !important;
transition: all 0.3s ease !important;
}
#searchInput:focus,
.navbar-search input:focus {
border-color: var(--dune-gold) !important;
box-shadow: 0 0 10px rgba(252, 231, 200, 0.3) !important;
width: 250px !important;
}
/* ========================================
PAGE TITLE INTEGRATION
======================================== */
/* Push content down for fixed navbar */
body.skin-pivot {
padding-top: 60px !important;
}
/* Integrate page title with design */
.mw-body h1.firstHeading,
h1.title,
.mw-page-title-main {
background: linear-gradient(180deg, rgba(10, 8, 16, 0.9) 0%, transparent 100%) !important;
padding: 30px 40px 20px 40px !important;
margin: 0 !important;
font-family: var(--font-display) !important;
font-size: 36px !important;
color: var(--dune-gold) !important;
text-transform: uppercase !important;
letter-spacing: 4px !important;
text-align: center !important;
position: relative !important;
text-shadow: 0 0 30px rgba(252, 231, 200, 0.4) !important;
}
/* Add decorative lines around title */
.mw-body h1.firstHeading::before,
.mw-body h1.firstHeading::after {
content: '';
position: absolute;
top: 50%;
width: 100px;
height: 2px;
background: linear-gradient(90deg, transparent 0%, var(--dune-gold) 100%);
}
.mw-body h1.firstHeading::before {
left: 20px;
}
.mw-body h1.firstHeading::after {
right: 20px;
background: linear-gradient(90deg, var(--dune-gold) 0%, transparent 100%);
}
/* ========================================
BREADCRUMB ADJUSTMENTS
======================================== */
/* Tone down breadcrumb brightness */
.dune-breadcrumb-nav {
background: rgba(0,0,2,.6) !important; /* Darker background */
border: 1px solid rgba(252, 231, 200, 0.2) !important; /* Softer border */
margin-bottom: 16px !important;
font-size: 13px !important; /* Smaller text */
padding: 6px 16px !important;
}
/* Remove glowing border effect */
.dune-breadcrumb-nav::before {
display: none !important;
}
/* Softer link colors */
.dune-breadcrumb-nav a {
color: rgba(252, 231, 200, 0.7) !important; /* Less bright */
font-weight: 500 !important;
letter-spacing: 0.5px !important;
}
.dune-breadcrumb-nav a:hover {
color: var(--dune-gold) !important;
text-shadow: none !important; /* Remove glow */
}
/* Softer separator */
.dune-breadcrumb-separator {
color: rgba(252, 231, 200, 0.4) !important;
margin: 0 8px !important;
}
.dune-breadcrumb-separator::before {
content: '>' !important; /* Simple arrow instead of diamond */
font-size: 11px !important;
}
/* Current page in breadcrumb */
.dune-breadcrumb-nav > span:last-child {
color: rgba(252, 231, 200, 0.5) !important;
font-weight: 400 !important;
}
/* ========================================
RESPONSIVE ADJUSTMENTS
======================================== */
@media (max-width: 1200px) {
.navbar-nav > li > a {
padding: 0 15px !important;
font-size: 13px !important;
}
.navbar-search input {
width: 150px !important;
}
}
@media (max-width: 768px) {
/* Mobile menu adjustments */
.navbar-nav {
display: none !important; /* Hide on mobile, use hamburger menu */
}
.navbar-search {
display: none !important;
}
}
/* ========================================
CUSTOM NAVIGATION MENU ITEMS
======================================== */
/* Add this to create your specific menu items */
/* You'll need to edit your navigation template to include these items:
- Navigation
- Items
- Crafting
- Building
- Tech Tree
- Journeys
- Skills
- Map
*/
/* Optional: Add icons to navigation items */
.navbar-nav > li > a::before {
content: '';
width: 16px;
height: 16px;
margin-right: 8px;
background-size: contain;
opacity: 0.8;
display: inline-block;
}
.navbar-nav > li > a:hover::before {
opacity: 1;
}
/* Icon examples (you can add custom icons) */
.navbar-nav > li.nav-items > a::before { content: '◇'; }
.navbar-nav > li.nav-crafting > a::before { content: '⚒'; }
.navbar-nav > li.nav-building > a::before { content: '⌂'; }
.navbar-nav > li.nav-tech > a::before { content: '⬢'; }
.navbar-nav > li.nav-journeys > a::before { content: '➤'; }
.navbar-nav > li.nav-skills > a::before { content: '★'; }
.navbar-nav > li.nav-map > a::before { content: '🗺'; }