Common.css: Difference between revisions
From Dune Awakening DB
mNo edit summary |
mNo edit summary |
||
| Line 1,382: | Line 1,382: | ||
display: inline-block !important; | display: inline-block !important; | ||
border: none !important; | border: none !important; | ||
} | |||
/* ======================================== | |||
CRITICAL FIXES - Add these to your CSS immediately | |||
======================================== */ | |||
/* 1. HIDE SIDEBAR (this was accidentally removed) */ | |||
#sidebar, | |||
#sidebar.large-2.medium-3.columns.hide-for-small.hide-for-print, | |||
.columns.large-2.medium-3, | |||
aside.columns, | |||
.tab-bar-section, | |||
.tab-bar, | |||
nav.tab-bar, | |||
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. FIX MAIN CONTENT TO USE FULL WIDTH (was also removed) */ | |||
#page-content, | |||
#main-section, | |||
.main-section, | |||
.columns.large-10.medium-9, | |||
#content-wrapper, | |||
.mw-body { | |||
width: 100% !important; | |||
max-width: 100% !important; | |||
margin-left: 0 !important; | |||
margin-right: 0 !important; | |||
padding-left: 0 !important; | |||
padding-right: 0 !important; | |||
} | |||
/* Remove Foundation grid constraints */ | |||
.row { | |||
max-width: 100% !important; | |||
margin: 0 !important; | |||
} | |||
.columns { | |||
padding-left: 0 !important; | |||
padding-right: 0 !important; | |||
} | |||
/* 3. ALTERNATIVE HEADER APPROACH - Force header display */ | |||
/* If MediaWiki:Header isn't working, try targeting the actual header container */ | |||
.mw-header, | |||
#mw-header-container, | |||
.skin-pivot .header { | |||
display: flex !important; | |||
position: fixed !important; | |||
top: 0 !important; | |||
left: 0 !important; | |||
right: 0 !important; | |||
z-index: 1000 !important; | |||
height: 60px !important; | |||
background: linear-gradient(180deg, rgba(20, 18, 28, 0.95) 0%, rgba(10, 8, 16, 0.98) 100%) !important; | |||
border-bottom: 3px solid rgba(252, 231, 200, 0.4) !important; | |||
box-shadow: 0 2px 20px rgba(0,0,0,0.8) !important; | |||
align-items: center !important; | |||
justify-content: space-between !important; | |||
padding: 0 20px !important; | |||
} | |||
/* 4. EMERGENCY HEADER INJECTION */ | |||
/* If the header still doesn't show, we'll inject it with CSS */ | |||
body::after { | |||
content: 'DUNE DB'; | |||
position: fixed; | |||
top: 0; | |||
left: 0; | |||
right: 0; | |||
height: 60px; | |||
background: linear-gradient(180deg, rgba(20, 18, 28, 0.95) 0%, rgba(10, 8, 16, 0.98) 100%); | |||
border-bottom: 3px solid rgba(252, 231, 200, 0.4); | |||
box-shadow: 0 2px 20px rgba(0,0,0,0.8); | |||
z-index: 1000; | |||
display: flex; | |||
align-items: center; | |||
padding: 0 20px; | |||
font-family: 'Orbitron', sans-serif; | |||
font-size: 22px; | |||
color: #fce7c8; | |||
text-transform: uppercase; | |||
letter-spacing: 3px; | |||
font-weight: 700; | |||
text-shadow: 0 0 15px rgba(252, 231, 200, 0.4); | |||
} | } | ||
Revision as of 16:37, 23 May 2025
/**********************************************************
* Enhanced Common.css – Clean version (minimal animations)
* Navigation conflicts removed - ready for MediaWiki:Header
* (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;
padding-top: 60px !important; /* Space for fixed header */
}
/* 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. MEDIAWIKI HEADER NAVIGATION ───────*/
/* Style the MediaWiki header container */
#mw-header-container,
.mw-header {
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;
justify-content: space-between !important;
}
/* Style your logo title */
.logo-title {
font-family: 'Orbitron', sans-serif !important;
font-size: 22px !important;
color: #fce7c8 !important;
text-transform: uppercase !important;
letter-spacing: 3px !important;
font-weight: 700 !important;
text-shadow: 0 0 15px rgba(252, 231, 200, 0.4) !important;
text-decoration: none !important;
white-space: nowrap !important;
}
.logo-title:hover {
color: #fff !important;
text-shadow: 0 0 20px rgba(252, 231, 200, 0.6) !important;
}
/* Style your custom navigation */
.custom-nav {
display: flex !important;
gap: 0 !important;
margin: 0 !important;
padding: 0 !important;
list-style: none !important;
}
/* Style navigation links */
.custom-nav 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: 'Rajdhani', sans-serif !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;
}
.custom-nav a:first-child {
border-left: 1px solid rgba(252, 231, 200, 0.1) !important;
}
/* Hover effects */
.custom-nav a:hover {
background: rgba(252, 231, 200, 0.1) !important;
color: #fce7c8 !important;
text-shadow: 0 0 10px rgba(252, 231, 200, 0.5) !important;
}
/* Active/current page styling */
.custom-nav a.current,
.custom-nav a[href*="Special:WhatLinksHere"]:hover {
background: rgba(252, 231, 200, 0.15) !important;
color: #fce7c8 !important;
border-bottom: 3px solid #fce7c8 !important;
}
/* Optional: Add icons to navigation items */
.custom-nav a[href*="Items"]:before { content: '◇ '; opacity: 0.8; }
.custom-nav a[href*="Crafting"]:before { content: '⚒ '; opacity: 0.8; }
.custom-nav a[href*="Building"]:before { content: '⌂ '; opacity: 0.8; }
.custom-nav a[href*="Tech_Tree"]:before { content: '⬢ '; opacity: 0.8; }
.custom-nav a[href*="Journeys"]:before { content: '➤ '; opacity: 0.8; }
.custom-nav a[href*="Skills"]:before { content: '★ '; opacity: 0.8; }
.custom-nav a[href*="Map"]:before { content: '🗺 '; opacity: 0.8; }
/*──────── 3. 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);
}
.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;
}
/*──────── 4. 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);
}
}
/*──────── 5. 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
**********************************************************/
/*──────── 6. 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);
}
/*──────── 7. 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%);
}
.status-indicator .status-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--dune-gold);
box-shadow: 0 0 10px var(--dune-gold-glow);
}
.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);
}
/*──────── 8. 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%);
}
.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);
}
/*──────── 9. 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);
}
/*──────── 10. 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);
}
.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;
}
/*──────── 11. 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));
}
/*──────── 12. 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;
}
/*──────── 13. 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;
}
/* 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%
);
}
.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%);
}
/* 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;
}
.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);
}
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);
}
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;
}
.custom-nav {
display: none !important;
}
.logo-title {
font-size: 18px !important;
letter-spacing: 2px !important;
}
#mw-header-container,
.mw-header {
padding: 0 10px !important;
}
}
@media (max-width: 1200px) {
.custom-nav a {
padding: 0 15px !important;
font-size: 13px !important;
}
}
/*──────── 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 */
/* ===== FONT SIZE ADJUSTMENTS ===== */
:root {
--font-size-xs: 0.65rem !important;
--font-size-sm: 0.75rem !important;
--font-size-md: 0.85rem !important;
--font-size-lg: 1.1rem !important;
--font-size-xl: 1.3rem !important;
--font-size-xxl: 1.7rem !important;
}
.dune-card-title {
font-size: 18px !important;
}
.dune-card-label {
font-size: 10px !important;
}
.dune-card-description {
font-size: 14px !important;
line-height: 1.4 !important;
}
.dune-breadcrumb-nav {
font-size: 14px !important;
}
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;
padding: 8px 6px !important;
}
/* ===== DESKTOP LAYOUT OPTIMIZATION ===== */
@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;
max-width: none !important;
min-width: 0 !important;
}
.dune-card {
height: 100%;
}
}
body {
max-width: 100vw;
overflow-x: hidden;
}
.skin-pivot #content,
.skin-pivot .mw-body {
max-width: 100%;
padding: 20px !important;
}
/* ===== COMPACT SPACING ===== */
.dune-card {
margin-bottom: 16px !important;
}
.dune-card-inner {
padding: 16px !important;
}
.dune-card-title {
padding-bottom: 8px !important;
margin-bottom: 12px !important;
}
.dune-card-description {
padding: 12px !important;
margin-bottom: 12px !important;
}
.dune-card-locked {
padding: 12px !important;
margin: 16px 0 !important;
}
.dune-card-image img {
max-width: 180px !important;
max-height: 180px !important;
}
.dune-card-video {
max-height: 200px;
overflow: hidden;
}
.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;
}
.dune-breadcrumb-nav {
margin-bottom: 16px !important;
padding: 6px 12px !important;
}
.responsive-container {
align-items: stretch !important;
}
.responsive-col {
display: flex;
flex-direction: column;
}
.responsive-col > * {
flex: 1 1 auto;
}
::-webkit-scrollbar {
width: 8px !important;
}
.data-card {
padding: 12px !important;
margin: 6px 0 !important;
}
.data-card-value {
font-size: 20px !important;
}
.notification-badge {
padding: 6px 12px !important;
margin: 6px 0 !important;
font-size: 13px !important;
}
.hex-button {
padding: 8px 24px !important;
font-size: 13px !important;
margin: 6px !important;
}
/* ========================================
TABLE ROW FIX - Remove Alternating Colors
======================================== */
.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;
}
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;
}
/* ========================================
CONTENT AREA FIXES
======================================== */
#mw-content-text {
padding: 0 20px !important;
max-width: 1600px !important;
margin: 0 auto !important;
}
.responsive-container {
width: 100% !important;
max-width: 1400px !important;
margin: 20px auto !important;
}
/* ========================================
PAGE TITLE INTEGRATION
======================================== */
.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: 'Orbitron', sans-serif !important;
font-size: 36px !important;
color: #fce7c8 !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;
}
.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%, #fce7c8 100%);
}
.mw-body h1.firstHeading::before {
left: 20px;
}
.mw-body h1.firstHeading::after {
right: 20px;
background: linear-gradient(90deg, #fce7c8 0%, transparent 100%);
}
/* ========================================
FOOTER ENHANCEMENT
======================================== */
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: #fce7c8 !important;
margin: 0 10px;
}
footer#footer li {
display: inline-block !important;
border: none !important;
}
/* ========================================
CRITICAL FIXES - Add these to your CSS immediately
======================================== */
/* 1. HIDE SIDEBAR (this was accidentally removed) */
#sidebar,
#sidebar.large-2.medium-3.columns.hide-for-small.hide-for-print,
.columns.large-2.medium-3,
aside.columns,
.tab-bar-section,
.tab-bar,
nav.tab-bar,
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. FIX MAIN CONTENT TO USE FULL WIDTH (was also removed) */
#page-content,
#main-section,
.main-section,
.columns.large-10.medium-9,
#content-wrapper,
.mw-body {
width: 100% !important;
max-width: 100% !important;
margin-left: 0 !important;
margin-right: 0 !important;
padding-left: 0 !important;
padding-right: 0 !important;
}
/* Remove Foundation grid constraints */
.row {
max-width: 100% !important;
margin: 0 !important;
}
.columns {
padding-left: 0 !important;
padding-right: 0 !important;
}
/* 3. ALTERNATIVE HEADER APPROACH - Force header display */
/* If MediaWiki:Header isn't working, try targeting the actual header container */
.mw-header,
#mw-header-container,
.skin-pivot .header {
display: flex !important;
position: fixed !important;
top: 0 !important;
left: 0 !important;
right: 0 !important;
z-index: 1000 !important;
height: 60px !important;
background: linear-gradient(180deg, rgba(20, 18, 28, 0.95) 0%, rgba(10, 8, 16, 0.98) 100%) !important;
border-bottom: 3px solid rgba(252, 231, 200, 0.4) !important;
box-shadow: 0 2px 20px rgba(0,0,0,0.8) !important;
align-items: center !important;
justify-content: space-between !important;
padding: 0 20px !important;
}
/* 4. EMERGENCY HEADER INJECTION */
/* If the header still doesn't show, we'll inject it with CSS */
body::after {
content: 'DUNE DB';
position: fixed;
top: 0;
left: 0;
right: 0;
height: 60px;
background: linear-gradient(180deg, rgba(20, 18, 28, 0.95) 0%, rgba(10, 8, 16, 0.98) 100%);
border-bottom: 3px solid rgba(252, 231, 200, 0.4);
box-shadow: 0 2px 20px rgba(0,0,0,0.8);
z-index: 1000;
display: flex;
align-items: center;
padding: 0 20px;
font-family: 'Orbitron', sans-serif;
font-size: 22px;
color: #fce7c8;
text-transform: uppercase;
letter-spacing: 3px;
font-weight: 700;
text-shadow: 0 0 15px rgba(252, 231, 200, 0.4);
}