Pivot.css: Difference between revisions
From Dune Awakening DB
mNo edit summary |
mNo edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
/********************************************************** | /********************************************************** | ||
* | * DUNE-THEMED PIVOT SKIN — CLEANED & REFINED VERSION | ||
**********************************************************/ | **********************************************************/ | ||
/* 1 | /* 1. GLOBAL RESET */ | ||
html, body { | html, body { | ||
margin: 0; | margin: 0; | ||
| Line 12: | Line 11: | ||
} | } | ||
/* 2 | /* 2. BACKGROUND IMAGE FULLSCREEN */ | ||
body.skin-pivot { | body.skin-pivot { | ||
background: url('https://dunedb.com/images/5/57/DuneDB_Background.jpg') no-repeat center center fixed; | background: url('https://dunedb.com/images/5/57/DuneDB_Background.jpg') no-repeat center center fixed; | ||
| Line 22: | Line 20: | ||
} | } | ||
/* 3 | /* 3. MAIN CONTENT TRANSPARENCY */ | ||
.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, | ||
.skin-pivot .off-canvas-wrap, | .skin-pivot .off-canvas-wrap, | ||
.skin-pivot .docs-wrap, | .skin-pivot .docs-wrap, | ||
| Line 44: | Line 35: | ||
.skin-pivot .columns, | .skin-pivot .columns, | ||
.skin-pivot #sidebar.large-2.medium-3.columns.hide-for-small.hide-for-print, | .skin-pivot #sidebar.large-2.medium-3.columns.hide-for-small.hide-for-print, | ||
.skin-pivot .exit-off-canvas | .skin-pivot .exit-off-canvas, | ||
.skin-pivot footer, | .skin-pivot footer, | ||
.skin-pivot .footer, | .skin-pivot .footer, | ||
| Line 62: | Line 48: | ||
background: transparent !important; | background: transparent !important; | ||
border: none !important; | border: none !important; | ||
color: #E0E0E0 | color: #E0E0E0; | ||
} | } | ||
/********************************************************** | /********************************************************** | ||
* NAVIGATION & | * NAVIGATION & HEADERS | ||
**********************************************************/ | **********************************************************/ | ||
.skin-pivot .navbar, | .skin-pivot .navbar, | ||
.skin-pivot .navbar-default, | .skin-pivot .navbar-default, | ||
.skin-pivot .navbar-inverse { | .skin-pivot .navbar-inverse, | ||
.skin-pivot nav.tab-bar.hide-for-print { | |||
background: rgba(15, 20, 25, 0.9) !important; | background: rgba(15, 20, 25, 0.9) !important; | ||
border: none | border: none; | ||
color: #E0E0E0 | color: #E0E0E0; | ||
padding: 0.5em; | |||
} | |||
.skin-pivot nav.tab-bar.hide-for-print .title a { | |||
color: #E2D3AE; | |||
font-size: 1.2em; | |||
text-transform: uppercase; | |||
} | } | ||
.skin-pivot .navbar-nav > li > a, | .skin-pivot .navbar-nav > li > a, | ||
.skin-pivot .dropdown-menu > li > a { | .skin-pivot .dropdown-menu > li > a, | ||
.skin-pivot nav.tab-bar.hide-for-print a { | |||
color: #C47F3A !important; | color: #C47F3A !important; | ||
font-weight: bold | font-weight: bold; | ||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
.skin-pivot .navbar-nav > li > a:hover, | .skin-pivot .navbar-nav > li > a:hover, | ||
.skin-pivot .dropdown-menu > li > a:hover { | .skin-pivot .dropdown-menu > li > a:hover, | ||
.skin-pivot nav.tab-bar.hide-for-print a:hover { | |||
color: #E28D4F !important; | color: #E28D4F !important; | ||
text-decoration: underline; | text-decoration: underline; | ||
} | } | ||
/* | /********************************************************** | ||
* TYPOGRAPHY & LINKS | |||
**********************************************************/ | |||
.skin-pivot h1, h2, h3, h4, h5, h6 { | |||
.skin-pivot h1, | |||
color: #E2D3AE; | color: #E2D3AE; | ||
font-weight: bold; | font-weight: bold; | ||
padding-bottom: 5px; | |||
margin-top: 1em; | margin-top: 1em; | ||
margin-bottom: 0.5em; | margin-bottom: 0.5em; | ||
border-bottom: none; | border-bottom: none; | ||
} | } | ||
.skin-pivot h1, | .skin-pivot h1, | ||
| Line 135: | Line 97: | ||
border-bottom: 2px solid rgba(255, 255, 255, 0.2); | border-bottom: 2px solid rgba(255, 255, 255, 0.2); | ||
} | } | ||
.skin-pivot a { | .skin-pivot a { | ||
color: #C47F3A; | color: #C47F3A; | ||
font-weight: bold; | |||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
.skin-pivot a:hover { | .skin-pivot a:hover { | ||
| Line 149: | Line 109: | ||
.skin-pivot a.new:visited { | .skin-pivot a.new:visited { | ||
color: #BA0000 !important; | color: #BA0000 !important; | ||
} | } | ||
.skin-pivot a.new:hover { | .skin-pivot a.new:hover { | ||
| Line 156: | Line 115: | ||
/********************************************************** | /********************************************************** | ||
* | * INFOPANELS, CARDS, BOXES — SHARED STYLING | ||
**********************************************************/ | **********************************************************/ | ||
.skin-pivot .dune-infobox, | .skin-pivot .dune-infobox, | ||
.skin-pivot table.infobox-dune, | .skin-pivot table.infobox-dune, | ||
| Line 278: | Line 122: | ||
.skin-pivot .game-panel { | .skin-pivot .game-panel { | ||
background-color: #000002 !important; | background-color: #000002 !important; | ||
color: #E2D3AE !important; | |||
box-shadow: | border: 1px solid #C47F3A; | ||
0 0 0 1px # | border-radius: 6px; | ||
0 0 0 2px | box-shadow: | ||
0 0 0 1px #0a0a0a, | |||
0 0 | 0 0 0 2px #C47F3A, | ||
0 0 8px rgba(0, 0, 0, 0.4); | |||
margin: 20px 0; | |||
padding: 16px; | |||
position: relative; | position: relative; | ||
background-image: | |||
linear-gradient(rgba(20, 30, 40, 0.1) 1px, transparent 1px), | |||
linear-gradient(90deg, rgba(20, 30, 40, 0.1) 1px, transparent 1px); | |||
background-size: 20px 20px; | |||
background-position: -1px -1px; | |||
} | } | ||
/* | /********************************************************** | ||
.skin-pivot .dune-infobox | * INNER CELLS/STATS/ROWS | ||
.skin-pivot .dune-infobox | **********************************************************/ | ||
.skin-pivot | .skin-pivot .dune-infobox-description, | ||
.skin-pivot table.infobox-dune | .skin-pivot .dune-infobox-stats td, | ||
.skin-pivot .dune | .skin-pivot .dune-infobox-stats th, | ||
.skin-pivot .dune-card | .skin-pivot table.infobox-dune td, | ||
.skin-pivot .game- | .skin-pivot table.infobox-dune th, | ||
.skin-pivot .game- | .skin-pivot .dune-card-description, | ||
.skin-pivot .game-table td, | |||
.skin-pivot .game-table th { | |||
background-color: #161618 !important; | |||
color: #E2D3AE !important; | |||
border: 1px solid # | border: 1px solid #333 !important; | ||
position: relative; | |||
} | } | ||
/* | /********************************************************** | ||
* HEADERS & TITLES WITH ACCENTS | |||
**********************************************************/ | |||
.skin-pivot .game-panel-header, | |||
.skin-pivot .game-panel | |||
.skin-pivot .dune-infobox-title, | .skin-pivot .dune-infobox-title, | ||
.skin-pivot .dune-card-title { | |||
.skin-pivot .dune-card-title | border-bottom: 1px solid #C47F3A; | ||
color: #E2D3AE; | |||
position: relative; | position: relative; | ||
text-transform: uppercase; | |||
letter-spacing: 0.5px; | |||
} | } | ||
/* Header corner accents */ | |||
.skin-pivot .game-panel-header::before, | |||
.skin-pivot .game-panel-header::after, | |||
.skin-pivot .dune-infobox-title::before, | .skin-pivot .dune-infobox-title::before, | ||
.skin-pivot .dune-infobox-title::after, | .skin-pivot .dune-infobox-title::after, | ||
.skin-pivot .dune-card-title::before, | .skin-pivot .dune-card-title::before, | ||
.skin-pivot .dune-card-title | .skin-pivot .dune-card-title::after { | ||
content: ''; | content: ''; | ||
position: absolute; | position: absolute; | ||
| Line 353: | Line 184: | ||
transform: translateY(-50%); | transform: translateY(-50%); | ||
} | } | ||
.skin-pivot .game-panel-header::before, | |||
.skin-pivot .dune-infobox-title::before, | .skin-pivot .dune-infobox-title::before, | ||
.skin-pivot .dune-card-title | .skin-pivot .dune-card-title::before { | ||
left: -25px; | left: -25px; | ||
} | } | ||
.skin-pivot .game-panel-header::after, | |||
.skin-pivot .dune-infobox-title::after, | .skin-pivot .dune-infobox-title::after, | ||
.skin-pivot .dune-card-title | .skin-pivot .dune-card-title::after { | ||
right: -25px; | right: -25px; | ||
} | } | ||
/* | /********************************************************** | ||
* HOVER EFFECTS | |||
**********************************************************/ | |||
.skin-pivot .dune-infobox:hover, | .skin-pivot .dune-infobox:hover, | ||
.skin-pivot table.infobox-dune:hover, | .skin-pivot table.infobox-dune:hover, | ||
.skin-pivot .dune-card:hover, | .skin-pivot .dune-card:hover, | ||
.skin-pivot .game-panel:hover { | .skin-pivot .game-panel:hover { | ||
box-shadow: | box-shadow: | ||
0 0 0 1px # | 0 0 0 1px #0a0a0a, | ||
0 0 0 2px # | 0 0 0 2px #C47F3A, | ||
0 0 | 0 0 12px rgba(226, 141, 79, 0.4); | ||
transition: box-shadow 0.3s ease; | transition: box-shadow 0.3s ease; | ||
} | } | ||
/* | /********************************************************** | ||
* EMPHASIS / STRONG TAG | |||
**********************************************************/ | |||
.skin-pivot table.infobox-dune td strong, | .skin-pivot table.infobox-dune td strong, | ||
.skin-pivot .dune-infobox strong, | .skin-pivot .dune-infobox strong, | ||
| Line 456: | Line 217: | ||
color: #E28D4F; | color: #E28D4F; | ||
text-shadow: 0 0 3px rgba(226, 141, 79, 0.3); | text-shadow: 0 0 3px rgba(226, 141, 79, 0.3); | ||
} | } | ||
/********************************************************** | /********************************************************** | ||
* RESPONSIVE GRID | |||
* RESPONSIVE | |||
**********************************************************/ | **********************************************************/ | ||
.responsive-container { | .responsive-container { | ||
display: flex; | display: flex; | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
gap: | gap: 20px; | ||
align-items: stretch; | align-items: stretch; | ||
width: 100%; | width: 100%; | ||
margin: | margin: 20px 0; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
} | } | ||
| Line 538: | Line 240: | ||
@media screen and (min-width: 700px) { | @media screen and (min-width: 700px) { | ||
.responsive-col { | .responsive-col { | ||
width: calc(50% - | width: calc(50% - 10px); | ||
} | } | ||
} | } | ||
@media screen and (min-width: 1100px) { | @media screen and (min-width: 1100px) { | ||
.responsive-col { | .responsive-col { | ||
width: calc(33.333% - | width: calc(33.333% - 13.33px); | ||
} | } | ||
} | } | ||
.responsive-col | .responsive-col > *:last-child { | ||
margin-bottom: 0 !important; | |||
} | } | ||
/********************************************************** | /********************************************************** | ||
* | * MISCELLANEOUS ENHANCEMENTS | ||
**********************************************************/ | **********************************************************/ | ||
.skin-pivot .tooltip { | .skin-pivot .tooltip { | ||
position: relative; | position: relative; | ||
| Line 714: | Line 276: | ||
opacity: 0; | opacity: 0; | ||
transition: opacity 0.3s; | transition: opacity 0.3s; | ||
} | } | ||
.skin-pivot .tooltip:hover .tooltip-text { | .skin-pivot .tooltip:hover .tooltip-text { | ||
| Line 721: | Line 281: | ||
opacity: 1; | opacity: 1; | ||
} | } | ||
.skin-pivot .loading { | |||
.skin-pivot . | animation: pulsate 1.5s infinite; | ||
} | } | ||
@keyframes pulsate { | @keyframes pulsate { | ||
0%, 100% { opacity: 0.6; } | 0%, 100% { opacity: 0.6; } | ||
50% { opacity: 1; } | 50% { opacity: 1; } | ||
} | } | ||
Revision as of 01:06, 3 April 2025
/**********************************************************
* DUNE-THEMED PIVOT SKIN — CLEANED & REFINED VERSION
**********************************************************/
/* 1. GLOBAL RESET */
html, body {
margin: 0;
padding: 0;
height: 100%;
min-height: 100%;
}
/* 2. BACKGROUND IMAGE FULLSCREEN */
body.skin-pivot {
background: url('https://dunedb.com/images/5/57/DuneDB_Background.jpg') no-repeat center center fixed;
background-size: cover;
background-attachment: fixed;
color: #E0E0E0;
font-family: "Orbitron", sans-serif;
}
/* 3. MAIN CONTENT TRANSPARENCY */
.skin-pivot #content,
.skin-pivot .mw-body,
.skin-pivot .mw-content-ltr,
.skin-pivot .mw-content-rtl,
.skin-pivot .off-canvas-wrap,
.skin-pivot .docs-wrap,
.skin-pivot .inner-wrap,
.skin-pivot #page-base,
.skin-pivot .page-base,
.skin-pivot #main-section.main-section,
.skin-pivot #page-content,
.skin-pivot .row,
.skin-pivot .columns,
.skin-pivot #sidebar.large-2.medium-3.columns.hide-for-small.hide-for-print,
.skin-pivot .exit-off-canvas,
.skin-pivot footer,
.skin-pivot .footer,
.skin-pivot #footer,
.skin-pivot .mw-footer,
.skin-pivot #mw-footer-container,
.skin-pivot #mw-footer,
.skin-pivot #catlinks,
.skin-pivot .catlinks,
.skin-pivot .printfooter,
.skin-pivot #mw-data-after-content {
background: transparent !important;
border: none !important;
color: #E0E0E0;
}
/**********************************************************
* NAVIGATION & HEADERS
**********************************************************/
.skin-pivot .navbar,
.skin-pivot .navbar-default,
.skin-pivot .navbar-inverse,
.skin-pivot nav.tab-bar.hide-for-print {
background: rgba(15, 20, 25, 0.9) !important;
border: none;
color: #E0E0E0;
padding: 0.5em;
}
.skin-pivot nav.tab-bar.hide-for-print .title a {
color: #E2D3AE;
font-size: 1.2em;
text-transform: uppercase;
}
.skin-pivot .navbar-nav > li > a,
.skin-pivot .dropdown-menu > li > a,
.skin-pivot nav.tab-bar.hide-for-print a {
color: #C47F3A !important;
font-weight: bold;
text-decoration: none;
}
.skin-pivot .navbar-nav > li > a:hover,
.skin-pivot .dropdown-menu > li > a:hover,
.skin-pivot nav.tab-bar.hide-for-print a:hover {
color: #E28D4F !important;
text-decoration: underline;
}
/**********************************************************
* TYPOGRAPHY & LINKS
**********************************************************/
.skin-pivot h1, h2, h3, h4, h5, h6 {
color: #E2D3AE;
font-weight: bold;
padding-bottom: 5px;
margin-top: 1em;
margin-bottom: 0.5em;
border-bottom: none;
}
.skin-pivot h1,
.skin-pivot h3 {
border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}
.skin-pivot a {
color: #C47F3A;
font-weight: bold;
text-decoration: none;
}
.skin-pivot a:hover {
color: #E28D4F;
text-decoration: underline;
}
.skin-pivot a.new,
.skin-pivot a.new:visited {
color: #BA0000 !important;
}
.skin-pivot a.new:hover {
color: #DD0000 !important;
}
/**********************************************************
* INFOPANELS, CARDS, BOXES — SHARED STYLING
**********************************************************/
.skin-pivot .dune-infobox,
.skin-pivot table.infobox-dune,
.skin-pivot .dune-card,
.skin-pivot .game-panel {
background-color: #000002 !important;
color: #E2D3AE !important;
border: 1px solid #C47F3A;
border-radius: 6px;
box-shadow:
0 0 0 1px #0a0a0a,
0 0 0 2px #C47F3A,
0 0 8px rgba(0, 0, 0, 0.4);
margin: 20px 0;
padding: 16px;
position: relative;
background-image:
linear-gradient(rgba(20, 30, 40, 0.1) 1px, transparent 1px),
linear-gradient(90deg, rgba(20, 30, 40, 0.1) 1px, transparent 1px);
background-size: 20px 20px;
background-position: -1px -1px;
}
/**********************************************************
* INNER CELLS/STATS/ROWS
**********************************************************/
.skin-pivot .dune-infobox-description,
.skin-pivot .dune-infobox-stats td,
.skin-pivot .dune-infobox-stats th,
.skin-pivot table.infobox-dune td,
.skin-pivot table.infobox-dune th,
.skin-pivot .dune-card-description,
.skin-pivot .game-table td,
.skin-pivot .game-table th {
background-color: #161618 !important;
color: #E2D3AE !important;
border: 1px solid #333 !important;
position: relative;
}
/**********************************************************
* HEADERS & TITLES WITH ACCENTS
**********************************************************/
.skin-pivot .game-panel-header,
.skin-pivot .dune-infobox-title,
.skin-pivot .dune-card-title {
border-bottom: 1px solid #C47F3A;
color: #E2D3AE;
position: relative;
text-transform: uppercase;
letter-spacing: 0.5px;
}
/* Header corner accents */
.skin-pivot .game-panel-header::before,
.skin-pivot .game-panel-header::after,
.skin-pivot .dune-infobox-title::before,
.skin-pivot .dune-infobox-title::after,
.skin-pivot .dune-card-title::before,
.skin-pivot .dune-card-title::after {
content: '';
position: absolute;
width: 20px;
height: 2px;
background-color: #C47F3A;
top: 50%;
transform: translateY(-50%);
}
.skin-pivot .game-panel-header::before,
.skin-pivot .dune-infobox-title::before,
.skin-pivot .dune-card-title::before {
left: -25px;
}
.skin-pivot .game-panel-header::after,
.skin-pivot .dune-infobox-title::after,
.skin-pivot .dune-card-title::after {
right: -25px;
}
/**********************************************************
* HOVER EFFECTS
**********************************************************/
.skin-pivot .dune-infobox:hover,
.skin-pivot table.infobox-dune:hover,
.skin-pivot .dune-card:hover,
.skin-pivot .game-panel:hover {
box-shadow:
0 0 0 1px #0a0a0a,
0 0 0 2px #C47F3A,
0 0 12px rgba(226, 141, 79, 0.4);
transition: box-shadow 0.3s ease;
}
/**********************************************************
* EMPHASIS / STRONG TAG
**********************************************************/
.skin-pivot table.infobox-dune td strong,
.skin-pivot .dune-infobox strong,
.skin-pivot .dune-card strong {
color: #E28D4F;
text-shadow: 0 0 3px rgba(226, 141, 79, 0.3);
}
/**********************************************************
* RESPONSIVE GRID
**********************************************************/
.responsive-container {
display: flex;
flex-wrap: wrap;
gap: 20px;
align-items: stretch;
width: 100%;
margin: 20px 0;
box-sizing: border-box;
}
.responsive-col {
display: flex;
flex-direction: column;
box-sizing: border-box;
width: 100%;
min-width: 350px;
}
@media screen and (min-width: 700px) {
.responsive-col {
width: calc(50% - 10px);
}
}
@media screen and (min-width: 1100px) {
.responsive-col {
width: calc(33.333% - 13.33px);
}
}
.responsive-col > *:last-child {
margin-bottom: 0 !important;
}
/**********************************************************
* MISCELLANEOUS ENHANCEMENTS
**********************************************************/
.skin-pivot .tooltip {
position: relative;
display: inline-block;
cursor: help;
}
.skin-pivot .tooltip .tooltip-text {
visibility: hidden;
width: 200px;
background-color: #1F2A37;
color: #E0E0E0;
text-align: center;
border: 1px solid #C47F3A;
border-radius: 5px;
padding: 8px;
position: absolute;
z-index: 1;
bottom: 125%;
left: 50%;
margin-left: -100px;
opacity: 0;
transition: opacity 0.3s;
}
.skin-pivot .tooltip:hover .tooltip-text {
visibility: visible;
opacity: 1;
}
.skin-pivot .loading {
animation: pulsate 1.5s infinite;
}
@keyframes pulsate {
0%, 100% { opacity: 0.6; }
50% { opacity: 1; }
}