Actions

MediaWiki

Pivot.css: Difference between revisions

From Dune Awakening DB

mNo edit summary
mNo edit summary
 
(100 intermediate revisions by the same user not shown)
Line 1: Line 1:
/**********************************************************
/**********************************************************
  * Dune-Themed Pivot Skin - Enhanced Version
  * Enhanced Pivot skin – Dune Awakening UI inspired (v3)
*  Complete overhaul for game-accurate aesthetics
  **********************************************************/
  **********************************************************/
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Rajdhani:wght@400;500;600;700&display=swap');


/* Base Styles - Maintaining your existing resets */
/*─────────────────────────────────────────
1 · ENHANCED DESIGN TOKENS
─────────────────────────────────────────*/
:root{
  /* Core Dune palette - richer, more vibrant */
  --dune-black: rgba(8, 6, 12, 0.95);
  --dune-panel-bg-dark: rgba(0, 0, 2, 0.9);
  --dune-panel-bg-light: rgba(22, 22, 24, 0.6);
  --dune-dark: rgba(20, 18, 28, 0.85);
  --dune-darker: rgba(10, 8, 16, 0.9);
 
  /* Enhanced gold spectrum */
  --dune-gold: #fce7c8;
  --dune-gold-bright: #fff4e6;
  --dune-gold-hover: #E3BB7A;
  --dune-gold-dark: #A07B40;
  --dune-gold-glow: rgba(252, 231, 200, 0.4);
 
  /* Text hierarchy */
  --text-primary: #E8E8E8;
  --text-secondary: #C8C8C8;
  --text-title: #fce7c8;
  --text-inactive: #666666;
  --text-highlight: #FFFFFF;
  --text-error: #ff4444;
 
  /* Spacing system */
  --spacing-xxs: 4px;
  --spacing-xs: 8px;
  --spacing-sm: 12px;
  --spacing-md: 16px;
  --spacing-lg: 20px;
  --spacing-xl: 24px;
  --spacing-xxl: 32px;
 
  /* Borders & effects */
  --border-thin: 1px;
  --border-medium: 2px;
  --border-thick: 3px;
  --border-radius-sm: 3px;
  --border-radius-lg: 6px;
  --border-angle: 30deg;
 
  /* Enhanced shadows */
  --shadow-subtle: 0 2px 10px rgba(0, 0, 0, 0.4);
  --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.6);
  --shadow-heavy: 0 8px 40px rgba(0, 0, 0, 0.8);
  --shadow-glow: 0 0 30px var(--dune-gold-glow);
 
  /* Typography - game-inspired fonts */
  --font-primary: "Rajdhani", "Segoe UI", sans-serif;
  --font-display: "Orbitron", "Arial Black", sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5rem;
  --font-size-xxl: 2rem;
 
  /* Layout */
  --nav-height: 48px;
  --sidebar-width: 280px;
}
 
/*─────────────────────────────────────────
2 · ENHANCED RESET & BODY
─────────────────────────────────────────*/
html, body {
html, body {
   margin: 0;
   margin: 0;
Line 9: Line 77:
   height: 100%;
   height: 100%;
   min-height: 100%;
   min-height: 100%;
  overflow-x: hidden;
}
}


/* 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:  
  background-size: cover;
    /* Tech overlay pattern */
  background-attachment: fixed;
    radial-gradient(circle at 20% 50%, rgba(252, 231, 200, 0.02) 0%, transparent 50%),
   color: #E0E0E0;
    radial-gradient(circle at 80% 80%, rgba(252, 231, 200, 0.02) 0%, transparent 50%),
  font-family: "Orbitron", sans-serif;
    /* Main background */
}
    url('https://dunedb.com/images/5/57/DuneDB_Background.jpg') no-repeat center/cover fixed;
 
   color: var(--text-primary);
/* Enhanced Typography - Better size hierarchy and letter spacing */
  font-family: var(--font-primary);
.skin-pivot h1 { font-size: 2rem; letter-spacing: 0.08em; }
  line-height: 1.5;
.skin-pivot h2 { font-size: 1.8rem; letter-spacing: 0.07em; }
  font-size: 16px;
.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;
   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,
/* Animated background overlay */
.skin-pivot .page-header h1::before,
body.skin-pivot::before {
.skin-pivot h1.firstHeading::after,
.skin-pivot .page-header h1::after {
   content: '';
   content: '';
   position: absolute;
   position: fixed;
  width: 20px;
  height: 20px;
  border: 2px solid #C47F3A;
}
 
.skin-pivot h1.firstHeading::before,
.skin-pivot .page-header h1::before {
   top: 0;
   top: 0;
   left: 0;
   left: 0;
   border-right: none;
   right: 0;
   border-bottom: none;
  bottom: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(252, 231, 200, 0.03) 2px,
      rgba(252, 231, 200, 0.03) 4px
    );
  pointer-events: none;
   z-index: 1;
  animation: scanlines 8s linear infinite;
}
}


.skin-pivot h1.firstHeading::after,
@keyframes scanlines {
.skin-pivot .page-header h1::after {
   0% { transform: translateY(0); }
   bottom: 0;
   100% { transform: translateY(4px); }
  right: 0;
   border-left: none;
  border-top: none;
}
}


/* Enhanced Transparent Containers - Consistent styling */
/*─────────────────────────────────────────
3 · ENHANCED TRANSPARENT WRAPPERS
─────────────────────────────────────────*/
.skin-pivot #content,
.skin-pivot #content,
.skin-pivot .mw-body,
.skin-pivot .mw-body,
.skin-pivot .mw-content-ltr,
.skin-pivot .mw-content-ltr,
.skin-pivot .mw-content-rtl {
.skin-pivot .mw-content-rtl {
   background: rgba(10, 12, 14, 0.7);
   background: transparent;
   padding: 20px;
   padding: var(--spacing-xl);
  border-radius: 5px;
   margin: 0;
   margin: 0;
   border: 1px solid rgba(196, 127, 58, 0.3);
   position: relative;
   box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
   z-index: 2;
}
}


/* Enhanced Navigation - Hexagonal Styling */
/* Remove all default backgrounds */
.skin-pivot .navbar,
.skin-pivot .off-canvas-wrap,
.skin-pivot .navbar-default,
.skin-pivot .docs-wrap,
.skin-pivot .navbar-inverse {
.skin-pivot .inner-wrap,
  background: linear-gradient(to bottom, rgba(25, 30, 35, 0.9), rgba(15, 20, 25, 0.9)) !important;
#page-base, .page-base,
#main-section.main-section,
#page-content,
.row, .columns,
#sidebar.large-2.medium-3.columns.hide-for-small.hide-for-print,
.exit-off-canvas {
  background: transparent !important;
   border: none !important;
   border: none !important;
   border-bottom: 1px solid #C47F3A !important;
   overflow: visible !important;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5) !important;
}
}


/* Enhanced Nav Tabs - Similar to Game UI */
footer, .footer, #footer, .mw-footer,
.skin-pivot nav.tab-bar.hide-for-print {
#mw-footer-container, #mw-footer,
   background: linear-gradient(to bottom, rgba(30, 35, 40, 0.9), rgba(15, 20, 25, 0.9));
#catlinks, .catlinks, .printfooter,
   border: none;
#mw-data-after-content {
   border-bottom: 1px solid #C47F3A;
  background: transparent !important;
   box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  border: none !important;
  color: var(--dune-gold) !important;
  margin-top: var(--spacing-xxl);
}
 
/*─────────────────────────────────────────
4 · ENHANCED NAVIGATION
─────────────────────────────────────────*/
/* Main navbar with hexagonal design */
.skin-pivot .navbar {
   background: linear-gradient(90deg,  
    var(--dune-darker) 0%,  
    rgba(10, 8, 16, 0.95) 50%,
    var(--dune-darker) 100%
   ) !important;
   border: none !important;
   height: var(--nav-height);
   display: flex;
   display: flex;
  align-items: center;
   justify-content: center;
   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;
   position: relative;
   transition: all 0.3s ease;
   box-shadow: var(--shadow-medium);
  overflow: hidden;
}
}


.skin-pivot nav.tab-bar.hide-for-print a.tab:hover,
/* Hexagonal border effect */
.skin-pivot nav.tab-bar.hide-for-print a.tab.active {
.skin-pivot .navbar::before,
  color: #E2D3AE;
.skin-pivot .navbar::after {
  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: '';
   content: '';
   position: absolute;
   position: absolute;
   width: 10px;
   bottom: 0;
   height: 10px;
  left: 0;
   opacity: 0;
  right: 0;
   transition: all 0.3s ease;
   height: var(--border-medium);
   background: linear-gradient(90deg,
    transparent 0%,
    var(--dune-gold) 10%,
    var(--dune-gold-hover) 50%,
    var(--dune-gold) 90%,
    transparent 100%
  );
   animation: navGlow 3s ease-in-out infinite;
}
}


.skin-pivot nav.tab-bar.hide-for-print a.tab::before {
@keyframes navGlow {
   top: 5px;
   0%, 100% { opacity: 0.6; }
   left: 5px;
   50% { opacity: 1; }
  border-top: 1px solid #C47F3A;
  border-left: 1px solid #C47F3A;
}
}


.skin-pivot nav.tab-bar.hide-for-print a.tab::after {
/* Navbar links with enhanced styling */
  bottom: 5px;
.skin-pivot .navbar-nav {
  right: 5px;
   display: flex;
  border-bottom: 1px solid #C47F3A;
   justify-content: center;
  border-right: 1px solid #C47F3A;
   width: 100%;
}
   gap: var(--spacing-xs);
 
.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 {
.skin-pivot .navbar-nav > li > a {
   color: #E28D4F;
   color: var(--dune-gold) !important;
   text-shadow: 0 0 5px rgba(226, 141, 79, 0.4);
   font-family: var(--font-display);
}
   font-weight: 600;
 
/* 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;
   text-transform: uppercase;
  font-size: 0.85em;
   letter-spacing: 2px;
   letter-spacing: 1px;
   padding: 12px 24px;
   font-weight: bold;
   margin: 0;
   transition: all 0.2s ease;
   position: relative;
   position: relative;
   display: inline-block;
   transition: all 0.3s ease;
   margin: 5px;
   overflow: hidden;
  text-align: center;
}
}


.skin-pivot .game-button::before,
/* Hover effect with sliding background */
.skin-pivot .game-button::after {
.skin-pivot .navbar-nav > li > a::before {
   content: '';
   content: '';
   position: absolute;
   position: absolute;
   width: 6px;
  top: 0;
   height: 6px;
  left: -100%;
   transition: all 0.2s ease;
   width: 100%;
   height: 100%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(252, 231, 200, 0.1) 50%,
    transparent 100%
  );
   transition: left 0.3s ease;
}
}


.skin-pivot .game-button::before {
.skin-pivot .navbar-nav > li > a:hover {
   top: -1px;
   color: var(--dune-gold-bright) !important;
   left: -1px;
   text-shadow: 0 0 10px var(--dune-gold-glow);
  border-top: 1px solid #E2D3AE;
  border-left: 1px solid #E2D3AE;
}
}


.skin-pivot .game-button::after {
.skin-pivot .navbar-nav > li > a:hover::before {
   bottom: -1px;
   left: 100%;
  right: -1px;
  border-bottom: 1px solid #E2D3AE;
  border-right: 1px solid #E2D3AE;
}
}


.skin-pivot .game-button:hover {
.skin-pivot .navbar-nav > li.active > a {
   background: linear-gradient(to bottom, #E28D4F, #B97233);
  color: var(--dune-gold-bright) !important;
   box-shadow: 0 0 10px rgba(226, 141, 79, 0.4);
   background: rgba(252, 231, 200, 0.1);
   box-shadow:  
    inset 0 -3px 0 var(--dune-gold),
    0 0 20px rgba(252, 231, 200, 0.2);
}
}


.skin-pivot .game-button:hover::before,
/* Mobile tab-bar enhancement */
.skin-pivot .game-button:hover::after {
nav.tab-bar.hide-for-print {
   width: 10px;
  background: var(--dune-darker);
   height: 10px;
  border-bottom: var(--border-medium) solid var(--dune-gold);
  color: var(--dune-gold);
  height: var(--nav-height);
  display: flex;
  align-items: center;
   padding: 0 var(--spacing-md);
   box-shadow: var(--shadow-medium);
}
}


.skin-pivot .game-button:active {
/*─────────────────────────────────────────
  transform: translateY(1px);
5 · ENHANCED TYPOGRAPHY
}
─────────────────────────────────────────*/
 
/* Headings with game-style treatment */
/* Enhanced Infobox - Closer to game UI with angled corners */
.skin-pivot h1,
.skin-pivot .dune-infobox,
.skin-pivot h2,
.skin-pivot table.infobox-dune,
.skin-pivot h3,
.skin-pivot .dune-card,
.skin-pivot h4,
.skin-pivot .game-panel {
.skin-pivot h5,
   background: linear-gradient(135deg, #0E1216, #1A232F) !important;
.skin-pivot h6 {
   border: 1px solid #3A3A3A !important;
   font-family: var(--font-display);
   box-shadow:  
  color: var(--dune-gold);
    0 0 0 1px #3a3a3a,
   font-weight: 700;
    0 0 0 2px #000002,
   text-transform: uppercase;
    0 0 0 3px #C47F3A,
  margin: 1.5em 0 0.75em 0;
    0 0 15px rgba(196, 127, 58, 0.2) !important;
   position: relative;
   position: relative;
   border-radius: 0 !important;
   letter-spacing: 1px;
  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 h1 {
.skin-pivot .dune-infobox-title,
  font-size: var(--font-size-xxl);
.skin-pivot table.infobox-dune th:first-child,
   background: linear-gradient(135deg, var(--dune-gold) 0%, var(--dune-gold-hover) 100%);
.skin-pivot .dune-card-title,
   -webkit-background-clip: text;
.skin-pivot .game-panel-header {
   -webkit-text-fill-color: transparent;
   background: linear-gradient(to right, rgba(196, 127, 58, 0.1), rgba(196, 127, 58, 0.2), rgba(196, 127, 58, 0.1)) !important;
   background-clip: text;
   color: #E2D3AE !important;
   text-shadow: 0 0 30px var(--dune-gold-glow);
   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 h2 {
.skin-pivot .game-table {
   font-size: var(--font-size-xl);
   width: 100% !important;
   color: var(--dune-gold);
   border-collapse: separate !important;
   padding-bottom: var(--spacing-sm);
   border-spacing: 0 !important;
   border-bottom: 2px solid rgba(252, 231, 200, 0.3);
   margin: 15px 0 !important;
}
}


.skin-pivot .game-table th {
.skin-pivot h2::after {
   background: linear-gradient(to bottom, #1A1A1A, #101010) !important;
   content: '';
   color: #E2D3AE !important;
   position: absolute;
   text-transform: uppercase !important;
   bottom: -2px;
   letter-spacing: 1px !important;
  left: 0;
   padding: 10px 12px !important;
   width: 60px;
   border-bottom: 2px solid #C47F3A !important;
   height: 2px;
   text-align: left !important;
   background: var(--dune-gold);
   box-shadow: 0 0 10px var(--dune-gold-glow);
}
}


.skin-pivot .game-table td {
/* Enhanced links */
   background-color: rgba(22, 22, 24, 0.7) !important;
.skin-pivot a {
   padding: 8px 12px !important;
   color: var(--dune-gold);
   border-bottom: 1px solid rgba(196, 127, 58, 0.3) !important;
   font-weight: 500;
   transition: background-color 0.2s ease !important;
   text-decoration: none;
   transition: all 0.2s ease;
  position: relative;
}
}


.skin-pivot .game-table tr:hover td {
.skin-pivot a:hover {
   background-color: rgba(30, 30, 35, 0.8) !important;
   color: var(--dune-gold-bright);
  text-shadow: 0 0 5px var(--dune-gold-glow);
}
}


.skin-pivot .game-table tr:last-child td {
/* Content links with underline animation */
  border-bottom: none !important;
.mw-body-content a {
}
   display: inline-block;
 
   position: relative;
/* 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,
.mw-body-content a::after {
.skin-pivot .progress-bar::after {
   content: '';
   content: '';
   position: absolute;
   position: absolute;
   width: 5px;
  bottom: -2px;
   height: 5px;
  left: 0;
   z-index: 2;
   width: 0;
   height: 1px;
   background: var(--dune-gold);
  transition: width 0.3s ease;
}
}


.skin-pivot .progress-bar::before {
.mw-body-content a:hover::after {
   top: -1px;
   width: 100%;
  left: -1px;
  border-top: 1px solid #E2D3AE;
  border-left: 1px solid #E2D3AE;
}
}


.skin-pivot .progress-bar::after {
/*─────────────────────────────────────────
   bottom: -1px;
6 · ENHANCED FORM ELEMENTS
   right: -1px;
─────────────────────────────────────────*/
   border-bottom: 1px solid #E2D3AE;
input[type="text"],
   border-right: 1px solid #E2D3AE;
input[type="password"],
input[type="email"],
input[type="search"],
textarea,
select {
  background: rgba(0, 0, 2, 0.8);
  border: 2px solid rgba(252, 231, 200, 0.3);
   color: var(--text-primary);
   padding: var(--spacing-sm) var(--spacing-md);
   font-family: var(--font-primary);
   transition: all 0.3s ease;
}
}


.skin-pivot .progress-fill {
input[type="text"]:focus,
   height: 100% !important;
input[type="password"]:focus,
   background: linear-gradient(to right, #9F6230, #C47F3A, #E28D4F) !important;
input[type="email"]:focus,
   width: 0% !important;
input[type="search"]:focus,
   transition: width 0.3s ease !important;
textarea:focus,
  position: relative !important;
select:focus {
   outline: none;
   border-color: var(--dune-gold);
   box-shadow: 0 0 10px var(--dune-gold-glow);
   background: rgba(0, 0, 2, 0.9);
}
}


/* Custom Scrollbar - More game-like */
/* Enhanced buttons */
.skin-pivot ::-webkit-scrollbar {
button,
  width: 10px;
.button,
  height: 10px;
input[type="submit"],
}
input[type="button"] {
 
   background: linear-gradient(135deg, rgba(252, 231, 200, 0.2) 0%, rgba(252, 231, 200, 0.1) 100%);
.skin-pivot ::-webkit-scrollbar-track {
   border: 2px solid var(--dune-gold);
   background: rgba(15, 20, 25, 0.4);
  color: var(--dune-gold);
   border-radius: 2px;
   padding: var(--spacing-sm) var(--spacing-lg);
}
   font-family: var(--font-display);
 
   font-weight: 600;
.skin-pivot ::-webkit-scrollbar-thumb {
  text-transform: uppercase;
   background: linear-gradient(to bottom, #9F6230, #C47F3A);
  letter-spacing: 1px;
   border-radius: 2px;
   cursor: pointer;
   border: 1px solid #1A1A1A;
  transition: all 0.3s ease;
}
 
.skin-pivot ::-webkit-scrollbar-thumb:hover {
   background: linear-gradient(to bottom, #C47F3A, #E28D4F);
}
 
/* Hexagonal Icon Containers */
.skin-pivot .hex-icon {
   position: relative;
   position: relative;
   width: 40px;
   overflow: hidden;
  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 {
button:hover,
   transform: scale(1.1);
.button:hover,
   background: linear-gradient(135deg, #C47F3A, #E28D4F);
input[type="submit"]:hover,
input[type="button"]:hover {
   background: linear-gradient(135deg, rgba(252, 231, 200, 0.3) 0%, rgba(252, 231, 200, 0.2) 100%);
  color: var(--dune-gold-bright);
   box-shadow: 0 0 20px var(--dune-gold-glow);
  transform: translateY(-2px);
}
}


.skin-pivot .hex-icon img,
/*─────────────────────────────────────────
.skin-pivot .hex-icon i {
7 · RESPONSIVE GRID SYSTEM
   width: 60%;
─────────────────────────────────────────*/
   height: 60%;
.responsive-container {
   object-fit: contain;
  display: flex;
   color: #1A1A1A;
  flex-wrap: wrap;
  gap: var(--spacing-lg);
   align-items: stretch;
   width: 100%;
   margin: var(--spacing-lg) 0;
   box-sizing: border-box;
}
}


/* Enhanced Badge Indicators */
.responsive-col {
.skin-pivot .badge {
   display: flex;
   display: inline-block !important;
   flex-direction: column;
  padding: 4px 8px !important;
   flex: 1 1 100%;
  border-radius: 2px !important;
   min-width: 320px;
  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 */
@media (min-width: 768px) {
.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 {
   .responsive-col {
     width: calc(50% - 10px) !important;
     flex: 1 1 calc((100% - var(--spacing-lg)) / 2);
   }
   }
}
}


@media screen and (min-width: 1100px) {
@media (min-width: 1024px) {
   .responsive-col {
   .responsive-col {
     width: calc(33.333% - 14px) !important;
     flex: 1 1 calc((100% - 2 * var(--spacing-lg)) / 3);
   }
   }
}
}


/* Special Hover Effects for Card Interactions */
.responsive-col .skin-pivot {
.skin-pivot .dune-card:hover {
   display: flex;
   transform: translateY(-2px);
   flex-direction: column;
   box-shadow:  
  flex: 1 1 auto;
    0 0 0 1px #3a3a3a,
   height: 100%;
    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 {
8 · UTILITY CLASSES
  position: absolute;
─────────────────────────────────────────*/
  width: 10px;
/* Text utilities */
  height: 10px;
.text-gold { color: var(--dune-gold) !important; }
  background: #C47F3A;
.text-bright { color: var(--dune-gold-bright) !important; }
  transform: rotate(45deg);
.text-glow { text-shadow: 0 0 10px var(--dune-gold-glow); }
  z-index: 1;
}


.skin-pivot .diamond-accent.top-left {
/* Background utilities */
  top: 10px;
.bg-dark { background: var(--dune-dark) !important; }
  left: 10px;
.bg-darker { background: var(--dune-darker) !important; }
}
.bg-panel { background: var(--dune-panel-bg-dark) !important; }


.skin-pivot .diamond-accent.top-right {
/* Border utilities */
  top: 10px;
.border-gold { border-color: var(--dune-gold) !important; }
  right: 10px;
.border-glow { box-shadow: 0 0 10px var(--dune-gold-glow) !important; }
}


.skin-pivot .diamond-accent.bottom-left {
/* Animation utilities */
  bottom: 10px;
.animate-pulse { animation: techPulse 2s ease-in-out infinite; }
  left: 10px;
.animate-glow { animation: borderGlow 3s ease-in-out infinite; }
}
.animate-slide { animation: slideGlow 3s ease-in-out infinite; }


.skin-pivot .diamond-accent.bottom-right {
/*─────────────────────────────────────────
   bottom: 10px;
9 · SCROLLBAR STYLING
   right: 10px;
─────────────────────────────────────────*/
::-webkit-scrollbar {
   width: 12px;
   background: rgba(0, 0, 2, 0.8);
}
}


/* Locked Behind Section - Better Visual Emphasis */
::-webkit-scrollbar-track {
.skin-pivot .dune-card-locked {
   background: rgba(0, 0, 2, 0.8);
  margin: 15px 0 !important;
   border: 1px solid rgba(252, 231, 200, 0.1);
   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 {
::-webkit-scrollbar-thumb {
   background: linear-gradient(to right, rgba(157, 90, 90, 0.1), rgba(157, 90, 90, 0.2), rgba(157, 90, 90, 0.1)) !important;
   background: linear-gradient(180deg, var(--dune-gold-dark) 0%, var(--dune-gold-hover) 100%);
  color: #d9a3a3 !important;
   border: 1px solid var(--dune-gold);
   border-bottom: 1px solid #9d5a5a !important;
   border-radius: 2px;
  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 {
::-webkit-scrollbar-thumb:hover {
   color: #d9a3a3 !important;
   background: linear-gradient(180deg, var(--dune-gold-hover) 0%, var(--dune-gold) 100%);
  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) {
10 · MEDIA QUERIES & RESPONSIVE ADJUSTMENTS
   .skin-pivot #content {
─────────────────────────────────────────*/
     padding: 10px !important;
@media (max-width: 768px) {
   :root {
    --nav-height: 40px;
    --spacing-lg: 16px;
     --spacing-xl: 20px;
   }
   }
    
    
   .skin-pivot .dune-infobox,
   .skin-pivot h1 { font-size: var(--font-size-xl); }
  .skin-pivot table.infobox-dune,
   .skin-pivot h2 { font-size: var(--font-size-lg); }
  .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 .navbar-nav > li > a {
  .skin-pivot table.infobox-dune th:first-child,
    padding: 8px 16px;
  .skin-pivot .dune-card-title,
    font-size: var(--font-size-sm);
  .skin-pivot .game-panel-header {
     letter-spacing: 1px;
     margin: -15px -15px 15px -15px !important;
   }
   }
}
}

Latest revision as of 13:02, 23 May 2025

/**********************************************************
 *  Enhanced Pivot skin – Dune Awakening UI inspired (v3)
 *  Complete overhaul for game-accurate aesthetics
 **********************************************************/
@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 DESIGN TOKENS
─────────────────────────────────────────*/
:root{
  /* Core Dune palette - richer, more vibrant */
  --dune-black: rgba(8, 6, 12, 0.95);
  --dune-panel-bg-dark: rgba(0, 0, 2, 0.9);
  --dune-panel-bg-light: rgba(22, 22, 24, 0.6);
  --dune-dark: rgba(20, 18, 28, 0.85);
  --dune-darker: rgba(10, 8, 16, 0.9);
  
  /* Enhanced gold spectrum */
  --dune-gold: #fce7c8;
  --dune-gold-bright: #fff4e6;
  --dune-gold-hover: #E3BB7A;
  --dune-gold-dark: #A07B40;
  --dune-gold-glow: rgba(252, 231, 200, 0.4);
  
  /* Text hierarchy */
  --text-primary: #E8E8E8;
  --text-secondary: #C8C8C8;
  --text-title: #fce7c8;
  --text-inactive: #666666;
  --text-highlight: #FFFFFF;
  --text-error: #ff4444;
  
  /* Spacing system */
  --spacing-xxs: 4px;
  --spacing-xs: 8px;
  --spacing-sm: 12px;
  --spacing-md: 16px;
  --spacing-lg: 20px;
  --spacing-xl: 24px;
  --spacing-xxl: 32px;
  
  /* Borders & effects */
  --border-thin: 1px;
  --border-medium: 2px;
  --border-thick: 3px;
  --border-radius-sm: 3px;
  --border-radius-lg: 6px;
  --border-angle: 30deg;
  
  /* Enhanced shadows */
  --shadow-subtle: 0 2px 10px rgba(0, 0, 0, 0.4);
  --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.6);
  --shadow-heavy: 0 8px 40px rgba(0, 0, 0, 0.8);
  --shadow-glow: 0 0 30px var(--dune-gold-glow);
  
  /* Typography - game-inspired fonts */
  --font-primary: "Rajdhani", "Segoe UI", sans-serif;
  --font-display: "Orbitron", "Arial Black", sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5rem;
  --font-size-xxl: 2rem;
  
  /* Layout */
  --nav-height: 48px;
  --sidebar-width: 280px;
}

/*─────────────────────────────────────────
 2 · ENHANCED RESET & BODY
─────────────────────────────────────────*/
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  min-height: 100%;
  overflow-x: hidden;
}

body.skin-pivot {
  background: 
    /* Tech overlay pattern */
    radial-gradient(circle at 20% 50%, rgba(252, 231, 200, 0.02) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(252, 231, 200, 0.02) 0%, transparent 50%),
    /* Main background */
    url('https://dunedb.com/images/5/57/DuneDB_Background.jpg') no-repeat center/cover fixed;
  color: var(--text-primary);
  font-family: var(--font-primary);
  line-height: 1.5;
  font-size: 16px;
  position: relative;
}

/* Animated background overlay */
body.skin-pivot::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(252, 231, 200, 0.03) 2px,
      rgba(252, 231, 200, 0.03) 4px
    );
  pointer-events: none;
  z-index: 1;
  animation: scanlines 8s linear infinite;
}

@keyframes scanlines {
  0% { transform: translateY(0); }
  100% { transform: translateY(4px); }
}

/*─────────────────────────────────────────
 3 · ENHANCED TRANSPARENT WRAPPERS
─────────────────────────────────────────*/
.skin-pivot #content,
.skin-pivot .mw-body,
.skin-pivot .mw-content-ltr,
.skin-pivot .mw-content-rtl {
  background: transparent;
  padding: var(--spacing-xl);
  margin: 0;
  position: relative;
  z-index: 2;
}

/* Remove all default backgrounds */
.skin-pivot .off-canvas-wrap,
.skin-pivot .docs-wrap,
.skin-pivot .inner-wrap,
#page-base, .page-base,
#main-section.main-section,
#page-content,
.row, .columns,
#sidebar.large-2.medium-3.columns.hide-for-small.hide-for-print,
.exit-off-canvas {
  background: transparent !important;
  border: none !important;
  overflow: visible !important;
}

footer, .footer, #footer, .mw-footer,
#mw-footer-container, #mw-footer,
#catlinks, .catlinks, .printfooter,
#mw-data-after-content {
  background: transparent !important;
  border: none !important;
  color: var(--dune-gold) !important;
  margin-top: var(--spacing-xxl);
}

/*─────────────────────────────────────────
 4 · ENHANCED NAVIGATION
─────────────────────────────────────────*/
/* Main navbar with hexagonal design */
.skin-pivot .navbar {
  background: linear-gradient(90deg, 
    var(--dune-darker) 0%, 
    rgba(10, 8, 16, 0.95) 50%, 
    var(--dune-darker) 100%
  ) !important;
  border: none !important;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: var(--shadow-medium);
  overflow: hidden;
}

/* Hexagonal border effect */
.skin-pivot .navbar::before,
.skin-pivot .navbar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--border-medium);
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--dune-gold) 10%, 
    var(--dune-gold-hover) 50%, 
    var(--dune-gold) 90%, 
    transparent 100%
  );
  animation: navGlow 3s ease-in-out infinite;
}

@keyframes navGlow {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* Navbar links with enhanced styling */
.skin-pivot .navbar-nav {
  display: flex;
  justify-content: center;
  width: 100%;
  gap: var(--spacing-xs);
}

.skin-pivot .navbar-nav > li > a {
  color: var(--dune-gold) !important;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 12px 24px;
  margin: 0;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

/* Hover effect with sliding background */
.skin-pivot .navbar-nav > li > a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(252, 231, 200, 0.1) 50%, 
    transparent 100%
  );
  transition: left 0.3s ease;
}

.skin-pivot .navbar-nav > li > a:hover {
  color: var(--dune-gold-bright) !important;
  text-shadow: 0 0 10px var(--dune-gold-glow);
}

.skin-pivot .navbar-nav > li > a:hover::before {
  left: 100%;
}

.skin-pivot .navbar-nav > li.active > a {
  color: var(--dune-gold-bright) !important;
  background: rgba(252, 231, 200, 0.1);
  box-shadow: 
    inset 0 -3px 0 var(--dune-gold),
    0 0 20px rgba(252, 231, 200, 0.2);
}

/* Mobile tab-bar enhancement */
nav.tab-bar.hide-for-print {
  background: var(--dune-darker);
  border-bottom: var(--border-medium) solid var(--dune-gold);
  color: var(--dune-gold);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  padding: 0 var(--spacing-md);
  box-shadow: var(--shadow-medium);
}

/*─────────────────────────────────────────
 5 · ENHANCED TYPOGRAPHY
─────────────────────────────────────────*/
/* Headings with game-style treatment */
.skin-pivot h1,
.skin-pivot h2,
.skin-pivot h3,
.skin-pivot h4,
.skin-pivot h5,
.skin-pivot h6 {
  font-family: var(--font-display);
  color: var(--dune-gold);
  font-weight: 700;
  text-transform: uppercase;
  margin: 1.5em 0 0.75em 0;
  position: relative;
  letter-spacing: 1px;
}

.skin-pivot h1 {
  font-size: var(--font-size-xxl);
  background: linear-gradient(135deg, var(--dune-gold) 0%, var(--dune-gold-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px var(--dune-gold-glow);
}

.skin-pivot h2 {
  font-size: var(--font-size-xl);
  color: var(--dune-gold);
  padding-bottom: var(--spacing-sm);
  border-bottom: 2px solid rgba(252, 231, 200, 0.3);
}

.skin-pivot h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--dune-gold);
  box-shadow: 0 0 10px var(--dune-gold-glow);
}

/* Enhanced links */
.skin-pivot a {
  color: var(--dune-gold);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
}

.skin-pivot a:hover {
  color: var(--dune-gold-bright);
  text-shadow: 0 0 5px var(--dune-gold-glow);
}

/* Content links with underline animation */
.mw-body-content a {
  display: inline-block;
  position: relative;
}

.mw-body-content a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--dune-gold);
  transition: width 0.3s ease;
}

.mw-body-content a:hover::after {
  width: 100%;
}

/*─────────────────────────────────────────
 6 · ENHANCED FORM ELEMENTS
─────────────────────────────────────────*/
input[type="text"],
input[type="password"],
input[type="email"],
input[type="search"],
textarea,
select {
  background: rgba(0, 0, 2, 0.8);
  border: 2px solid rgba(252, 231, 200, 0.3);
  color: var(--text-primary);
  padding: var(--spacing-sm) var(--spacing-md);
  font-family: var(--font-primary);
  transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--dune-gold);
  box-shadow: 0 0 10px var(--dune-gold-glow);
  background: rgba(0, 0, 2, 0.9);
}

/* Enhanced buttons */
button,
.button,
input[type="submit"],
input[type="button"] {
  background: linear-gradient(135deg, rgba(252, 231, 200, 0.2) 0%, rgba(252, 231, 200, 0.1) 100%);
  border: 2px solid var(--dune-gold);
  color: var(--dune-gold);
  padding: var(--spacing-sm) var(--spacing-lg);
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

button:hover,
.button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
  background: linear-gradient(135deg, rgba(252, 231, 200, 0.3) 0%, rgba(252, 231, 200, 0.2) 100%);
  color: var(--dune-gold-bright);
  box-shadow: 0 0 20px var(--dune-gold-glow);
  transform: translateY(-2px);
}

/*─────────────────────────────────────────
 7 · RESPONSIVE GRID SYSTEM
─────────────────────────────────────────*/
.responsive-container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-lg);
  align-items: stretch;
  width: 100%;
  margin: var(--spacing-lg) 0;
  box-sizing: border-box;
}

.responsive-col {
  display: flex;
  flex-direction: column;
  flex: 1 1 100%;
  min-width: 320px;
}

@media (min-width: 768px) {
  .responsive-col {
    flex: 1 1 calc((100% - var(--spacing-lg)) / 2);
  }
}

@media (min-width: 1024px) {
  .responsive-col {
    flex: 1 1 calc((100% - 2 * var(--spacing-lg)) / 3);
  }
}

.responsive-col .skin-pivot {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: 100%;
}

/*─────────────────────────────────────────
 8 · UTILITY CLASSES
─────────────────────────────────────────*/
/* Text utilities */
.text-gold { color: var(--dune-gold) !important; }
.text-bright { color: var(--dune-gold-bright) !important; }
.text-glow { text-shadow: 0 0 10px var(--dune-gold-glow); }

/* Background utilities */
.bg-dark { background: var(--dune-dark) !important; }
.bg-darker { background: var(--dune-darker) !important; }
.bg-panel { background: var(--dune-panel-bg-dark) !important; }

/* Border utilities */
.border-gold { border-color: var(--dune-gold) !important; }
.border-glow { box-shadow: 0 0 10px var(--dune-gold-glow) !important; }

/* Animation utilities */
.animate-pulse { animation: techPulse 2s ease-in-out infinite; }
.animate-glow { animation: borderGlow 3s ease-in-out infinite; }
.animate-slide { animation: slideGlow 3s ease-in-out infinite; }

/*─────────────────────────────────────────
 9 · SCROLLBAR STYLING
─────────────────────────────────────────*/
::-webkit-scrollbar {
  width: 12px;
  background: rgba(0, 0, 2, 0.8);
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 2, 0.8);
  border: 1px solid rgba(252, 231, 200, 0.1);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--dune-gold-dark) 0%, var(--dune-gold-hover) 100%);
  border: 1px solid var(--dune-gold);
  border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--dune-gold-hover) 0%, var(--dune-gold) 100%);
}

/*─────────────────────────────────────────
 10 · MEDIA QUERIES & RESPONSIVE ADJUSTMENTS
─────────────────────────────────────────*/
@media (max-width: 768px) {
  :root {
    --nav-height: 40px;
    --spacing-lg: 16px;
    --spacing-xl: 20px;
  }
  
  .skin-pivot h1 { font-size: var(--font-size-xl); }
  .skin-pivot h2 { font-size: var(--font-size-lg); }
  
  .skin-pivot .navbar-nav > li > a {
    padding: 8px 16px;
    font-size: var(--font-size-sm);
    letter-spacing: 1px;
  }
}