MediaWiki:Pivot.css
From Dune Awakening DB
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* DUNE MMO GAME UI - Updated Pivot Skin
Key changes:
1) Shifted color palette to match game's deeper blue/purple tones
2) Added more angular UI elements and diagonal borders
3) Enhanced typography for a more futuristic look
4) Improved navigation to match game's tabbed interface
5) Added geometric patterns and design elements
*/
/**********************************************************/
/* 1) RESET MARGINS & ENSURE BODY CAN GROW AS TALL AS NEEDED */
/**********************************************************/
html, body {
margin: 0;
padding: 0;
height: auto;
min-height: 100%;
}
/********************************************/
/* 2) BODY GRADIENT (UPDATED COLORS) */
/********************************************/
body.skin-pivot {
background-color: #0F111A; /* Darker base color */
/* Updated gradient to match game's deeper purple/blue tones */
background: linear-gradient(
to bottom,
#0F111A 0%,
#131A2C 75%,
#261C31 100%
) no-repeat center top;
background-size: 100% 100%;
background-attachment: fixed;
color: #E0D0AF;
font-family: "Orbitron", sans-serif;
}
/************************************************/
/* 3) FORCE MAJOR WRAPPERS TO BE TRANSPARENT */
/************************************************/
.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 {
background: transparent !important;
border: none !important;
}
/***********************************************************/
/* 4) FOOTER, CATLINKS, PRINTFOOTER: ALSO TRANSPARENT */
/***********************************************************/
.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: #E0D0AF !important;
}
/************************************************************/
/* 5) MAIN CONTENT OVERLAY BOX (Updated colors and angles) */
/************************************************************/
.skin-pivot #content,
.skin-pivot .mw-body,
.skin-pivot .mw-content-ltr,
.skin-pivot .mw-content-rtl {
background-color: #131A2C; /* Updated base color */
background: rgba(19, 26, 44, 0.85);
padding: 15px;
/* Updated to more angular shape with clip-path */
clip-path: polygon(
0 0,
100% 0,
100% calc(100% - 10px),
calc(100% - 10px) 100%,
0 100%
);
box-shadow: 0 0 15px rgba(255, 215, 82, 0.2);
margin-bottom: 15px;
margin: 0;
position: relative;
border: 1px solid rgba(255, 215, 82, 0.3);
}
/* Add diagonal line accent to content boxes */
.skin-pivot #content::after {
content: '';
position: absolute;
top: 0;
right: 0;
width: 50px;
height: 50px;
background: linear-gradient(135deg, transparent 70%, rgba(255, 215, 82, 0.3) 70%);
z-index: 1;
}
/***********************************************************/
/* 6) GAME-STYLE TOP NAVIGATION (New) */
/***********************************************************/
.skin-pivot .game-nav {
display: flex;
justify-content: center;
background-color: rgba(19, 26, 44, 0.9);
border-bottom: 1px solid rgba(255, 215, 82, 0.3);
padding: 0;
margin-bottom: 15px;
}
.skin-pivot .game-nav-tab {
padding: 10px 20px;
color: #E0D0AF;
text-transform: uppercase;
font-size: 0.9em;
letter-spacing: 1px;
position: relative;
cursor: pointer;
transition: all 0.2s;
}
.skin-pivot .game-nav-tab.active {
background-color: rgba(255, 215, 82, 0.15);
color: #FFD752;
border-bottom: 2px solid #FFD752;
}
.skin-pivot .game-nav-tab:hover {
background-color: rgba(255, 215, 82, 0.1);
color: #FFD752;
}
/* Add diagonal corners to tabs */
.skin-pivot .game-nav-tab::before,
.skin-pivot .game-nav-tab::after {
content: '';
position: absolute;
width: 8px;
height: 8px;
}
.skin-pivot .game-nav-tab::before {
top: 0;
left: 0;
border-top: 1px solid rgba(255, 215, 82, 0.5);
border-left: 1px solid rgba(255, 215, 82, 0.5);
}
.skin-pivot .game-nav-tab::after {
bottom: 0;
right: 0;
border-bottom: 1px solid rgba(255, 215, 82, 0.5);
border-right: 1px solid rgba(255, 215, 82, 0.5);
}
/***********************************************************/
/* 7) UPDATED PANEL STYLING (More angular, game-like) */
/***********************************************************/
.skin-pivot .game-panel {
background: linear-gradient(to bottom, #161D2E, #131A2C);
/* Make panels more angular with clip-path */
clip-path: polygon(
0 0,
calc(100% - 10px) 0,
100% 10px,
100% 100%,
0 100%
);
border: 1px solid rgba(255, 215, 82, 0.3);
box-shadow: 0 0 8px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 215, 82, 0.1) inset;
margin-bottom: 10px;
position: relative;
overflow: hidden;
}
.skin-pivot .game-panel::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 1px;
background: linear-gradient(to right, transparent, rgba(255, 215, 82, 0.3), transparent);
}
/* Add diagonal accent to panels */
.skin-pivot .game-panel::after {
content: '';
position: absolute;
top: 0;
right: 0;
width: 20px;
height: 20px;
background: linear-gradient(135deg, transparent 50%, rgba(255, 215, 82, 0.2) 50%);
}
/* Enhanced Section Headers with diagonal elements */
.skin-pivot .game-panel-header {
background-color: rgba(35, 35, 60, 0.6);
border-bottom: 1px solid rgba(255, 215, 82, 0.3);
padding: 8px 12px;
position: relative;
text-transform: uppercase;
font-weight: bold;
color: #FFD752;
letter-spacing: 1px;
display: flex;
align-items: center;
/* Add diagonal cut to header */
clip-path: polygon(
0 0,
calc(100% - 15px) 0,
100% 15px,
100% 100%,
0 100%
);
}
/* Hexagonal bullet points for headers */
.skin-pivot .game-panel-header::before {
content: '';
display: inline-block;
width: 12px;
height: 12px;
background-color: rgba(255, 215, 82, 0.5);
clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
margin-right: 10px;
}
/* Enhanced Panel Content */
.skin-pivot .game-panel-content {
padding: 10px 15px;
color: #E0D0AF;
font-size: 0.9em;
position: relative;
}
/***********************************************************/
/* 8) COMMON HEADING STYLES (Updated for game look) */
/***********************************************************/
.skin-pivot h1,
.skin-pivot h2,
.skin-pivot h3,
.skin-pivot h4,
.skin-pivot h5,
.skin-pivot h6 {
color: #FFD752;
font-weight: bold;
padding-bottom: 5px;
margin-top: 1em;
margin-bottom: 0.5em;
position: relative;
text-transform: uppercase;
letter-spacing: 0.5px;
}
/* Add diagonal line after headings */
.skin-pivot h1::after,
.skin-pivot h2::after,
.skin-pivot h3::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100px;
height: 2px;
background: linear-gradient(to right, rgba(255, 215, 82, 0.8), transparent);
}
/* Page title styling */
.skin-pivot h1.firstHeading,
.skin-pivot .page-header h1 {
color: #FFD752;
font-size: 1.6em;
font-weight: bold;
margin: 0 0 15px 0;
padding-bottom: 8px;
letter-spacing: 1px;
position: relative;
border-bottom: none;
}
/* Add angular underline to page title */
.skin-pivot h1.firstHeading::after,
.skin-pivot .page-header h1::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 60%;
height: 2px;
background: linear-gradient(to right, #FFD752, transparent);
}
/***********************************************************/
/* 9) LINKS STYLING (Updated colors) */
/***********************************************************/
.skin-pivot a {
color: #FFB240;
text-decoration: none;
font-weight: bold;
transition: all 0.2s;
}
.skin-pivot a:hover {
color: #FFD752;
text-shadow: 0 0 5px rgba(255, 215, 82, 0.4);
}
/* Make non-existing page links (redlinks) appear different */
.skin-pivot a.new,
.skin-pivot a.new:visited {
color: #FF6A6A !important;
text-decoration: underline;
}
.skin-pivot a.new:hover {
color: #FF8080 !important;
}
/***********************************************************/
/* 10) TABLE STYLING (Updated for game UI) */
/***********************************************************/
.skin-pivot .game-table {
width: 100%;
border-collapse: separate;
border-spacing: 0;
margin-bottom: 15px;
}
.skin-pivot .game-table th {
background-color: rgba(35, 35, 60, 0.6);
color: #FFD752;
padding: 8px;
text-align: left;
font-weight: normal;
text-transform: uppercase;
font-size: 0.85em;
letter-spacing: 0.5px;
border-bottom: 1px solid rgba(255, 215, 82, 0.3);
}
.skin-pivot .game-table td {
padding: 6px 8px;
border-bottom: 1px solid rgba(35, 35, 60, 0.6);
vertical-align: middle;
}
.skin-pivot .game-table tr:nth-child(even) td {
background-color: rgba(19, 26, 44, 0.4);
}
.skin-pivot .game-table tr:last-child td {
border-bottom: none;
}
/* Add diagonal corners to tables */
.skin-pivot .game-table {
position: relative;
overflow: hidden;
border: 1px solid rgba(255, 215, 82, 0.3);
}
.skin-pivot .game-table::before,
.skin-pivot .game-table::after {
content: '';
position: absolute;
width: 15px;
height: 15px;
}
.skin-pivot .game-table::before {
top: 0;
left: 0;
border-top: 2px solid rgba(255, 215, 82, 0.5);
border-left: 2px solid rgba(255, 215, 82, 0.5);
}
.skin-pivot .game-table::after {
bottom: 0;
right: 0;
border-bottom: 2px solid rgba(255, 215, 82, 0.5);
border-right: 2px solid rgba(255, 215, 82, 0.5);
}
/***********************************************************/
/* 11) RESOURCE ITEM STYLING (Updated to match game) */
/***********************************************************/
.skin-pivot .resource {
display: inline-flex;
align-items: center;
padding: 4px 8px;
background-color: rgba(19, 26, 44, 0.8);
/* Make resource tags have one angular corner */
clip-path: polygon(
0 0,
calc(100% - 8px) 0,
100% 8px,
100% 100%,
0 100%
);
border: 1px solid rgba(255, 215, 82, 0.4);
margin-right: 5px;
margin-bottom: 5px;
color: #E0D0AF;
}
.skin-pivot .resource .resource-icon {
margin-right: 6px;
}
.skin-pivot .resource .resource-amount {
font-weight: bold;
color: #FFB240;
}
/***********************************************************/
/* 12) BUTTON STYLING (Updated to match game) */
/***********************************************************/
.skin-pivot .game-button {
background: linear-gradient(to bottom, #343B50, #22263A);
border: 1px solid rgba(255, 215, 82, 0.5);
color: #FFD752;
padding: 8px 16px;
/* Angular button shape */
clip-path: polygon(
0 0,
calc(100% - 8px) 0,
100% 8px,
100% 100%,
8px 100%,
0 calc(100% - 8px)
);
cursor: pointer;
text-transform: uppercase;
font-size: 0.85em;
letter-spacing: 0.5px;
transition: all 0.2s ease;
position: relative;
}
.skin-pivot .game-button:hover {
background: linear-gradient(to bottom, #414B64, #2A304A);
box-shadow: 0 0 10px rgba(255, 215, 82, 0.3);
}
.skin-pivot .game-button:active {
top: 1px;
}
/* Add diagonal accent to buttons */
.skin-pivot .game-button::after {
content: '';
position: absolute;
top: 0;
right: 0;
width: 8px;
height: 8px;
background: linear-gradient(135deg, transparent 50%, rgba(255, 215, 82, 0.4) 50%);
}
/***********************************************************/
/* 13) SIDEBAR STYLING (Updated for game look) */
/***********************************************************/
.skin-pivot #sidebar,
.skin-pivot .sidebar {
background-color: rgba(19, 26, 44, 0.85);
/* Add angular shape to sidebar */
clip-path: polygon(
0 0,
100% 0,
100% 100%,
0 calc(100% - 15px)
);
border-right: 1px solid rgba(255, 215, 82, 0.3);
padding-bottom: 20px;
}
.skin-pivot #sidebar h3,
.skin-pivot .sidebar h3,
.skin-pivot label.sidebar {
background-color: rgba(35, 35, 60, 0.6);
color: #FFD752;
font-weight: bold;
text-transform: uppercase;
padding: 8px 10px;
margin: 0 0 5px 0;
letter-spacing: 0.5px;
font-size: 0.9em;
position: relative;
/* Angular shape for sidebar headers */
clip-path: polygon(
0 0,
100% 0,
100% calc(100% - 8px),
calc(100% - 8px) 100%,
0 100%
);
}
.skin-pivot #p-navigation,
.skin-pivot .portlet {
margin-bottom: 10px;
}
.skin-pivot #p-navigation .body ul,
.skin-pivot .portlet .body ul {
list-style: none;
margin: 0;
padding: 0 10px;
}
.skin-pivot #p-navigation .body ul li,
.skin-pivot .portlet .body ul li {
margin: 3px 0;
}
.skin-pivot #p-navigation .body ul li a,
.skin-pivot .portlet .body ul li a {
display: block;
padding: 4px 6px;
color: #E0D0AF;
font-size: 0.9em;
transition: all 0.2s;
border-left: 2px solid transparent;
}
.skin-pivot #p-navigation .body ul li a:hover,
.skin-pivot .portlet .body ul li a:hover {
color: #FFD752;
background-color: rgba(255, 215, 82, 0.05);
border-left: 2px solid rgba(255, 215, 82, 0.5);
text-decoration: none;
}
/***********************************************************/
/* 14) SEARCH BAR STYLING (Updated for game look) */
/***********************************************************/
.skin-pivot li.has-form input[type="search"],
.skin-pivot input[type="search"] {
background-color: rgba(19, 26, 44, 0.8);
color: #E0D0AF;
border: 1px solid rgba(255, 215, 82, 0.4);
padding: 6px 10px;
width: 100%;
/* Angular search box */
clip-path: polygon(
0 0,
100% 0,
100% 100%,
0 100%,
8px calc(100% - 8px)
);
transition: all 0.2s;
}
.skin-pivot li.has-form input[type="search"]:focus,
.skin-pivot input[type="search"]:focus {
background-color: rgba(25, 32, 50, 0.9);
box-shadow: 0 0 8px rgba(255, 215, 82, 0.3);
outline: none;
border-color: rgba(255, 215, 82, 0.6);
}
.skin-pivot li.has-form input[type="search"]::placeholder,
.skin-pivot input[type="search"]::placeholder {
color: rgba(224, 208, 175, 0.5);
}
/***********************************************************/
/* 15) GEOMETRIC PATTERNS AND ACCENTS (New) */
/***********************************************************/
/* Add hexagonal pattern to page background */
.skin-pivot::before {
content: '';
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image:
radial-gradient(rgba(255, 215, 82, 0.03) 1px, transparent 1px),
radial-gradient(rgba(255, 215, 82, 0.02) 1px, transparent 1px);
background-size: 30px 30px;
background-position: 0 0, 15px 15px;
pointer-events: none;
z-index: -1;
}
/* Add diagonal accent lines to page corners */
.skin-pivot::after {
content: '';
position: fixed;
top: 0;
right: 0;
width: 150px;
height: 150px;
background: linear-gradient(135deg, transparent 75%, rgba(255, 215, 82, 0.1) 75%);
pointer-events: none;
z-index: -1;
}
/* Add opposite corner accent */
body.skin-pivot::after {
content: '';
position: fixed;
bottom: 0;
left: 0;
width: 150px;
height: 150px;
background: linear-gradient(315deg, transparent 75%, rgba(255, 215, 82, 0.1) 75%);
pointer-events: none;
z-index: -1;
}
/***********************************************************/
/* 16) WIKI BADGE & STATUS INDICATORS (Enhanced) */
/***********************************************************/
.skin-pivot .badge {
display: inline-block;
padding: 3px 8px;
/* Angular badge shape */
clip-path: polygon(
0 0,
calc(100% - 5px) 0,
100% 5px,
100% 100%,
0 100%
);
font-size: 0.75em;
margin-left: 5px;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.skin-pivot .badge-functional {
background-color: rgba(65, 130, 65, 0.3);
border: 1px solid rgba(90, 157, 90, 0.7);
color: #a3d9a3;
}
.skin-pivot .badge-locked {
background-color: rgba(130, 65, 65, 0.3);
border: 1px solid rgba(157, 90, 90, 0.7);
color: #d9a3a3;
}
/***********************************************************/
/* 17) RESPONSIVE LAYOUT ADJUSTMENTS */
/***********************************************************/
@media screen and (max-width: 768px) {
.skin-pivot .game-nav {
overflow-x: auto;
justify-content: flex-start;
}
.skin-pivot .game-nav-tab {
padding: 8px 12px;
font-size: 0.8em;
}
.skin-pivot .game-panel-header {
padding: 6px 10px;
}
.skin-pivot .game-panel-content {
padding: 8px 10px;
}
/* Simplify clip-paths on mobile for better performance */
.skin-pivot #content,
.skin-pivot .game-panel,
.skin-pivot .game-button,
.skin-pivot .resource {
clip-path: none;
}
}
/***********************************************************/
/* 18) ADDITIONAL DUNE GAME-SPECIFIC ELEMENTS */
/***********************************************************/
/* Character stats box */
.skin-pivot .character-stats {
border: 1px solid rgba(255, 215, 82, 0.3);
background-color: rgba(19, 26, 44, 0.8);
/* Angular character stats box */
clip-path: polygon(
0 0,
100% 0,
100% calc(100% - 10px),
calc(100% - 10px) 100%,
0 100%
);
padding: 10px;
margin-bottom: 15px;
}
.skin-pivot .character-stats-header {
border-bottom: 1px solid rgba(255, 215, 82, 0.3);
padding-bottom: 5px;
margin-bottom: 8px;
color: #FFD752;
text-transform: uppercase;
font-size: 0.9em;
letter-spacing: 0.5px;
}
.skin-pivot .character-stat-row {
display: flex;
justify-content: space-between;
padding: 3px 0;
}
.skin-pivot .character-stat-label {
color: #E0D0AF;
font-size: 0.85em;
}
.skin-pivot .character-stat-value {
color: #FFB240;
font-weight: bold;
font-size: 0.85em;
}
/* Equipment slots */
.skin-pivot .equipment-slot {
width: 64px;
height: 64px;
background-color: rgba(19, 26, 44, 0.8);
border: 1px solid rgba(255, 215, 82, 0.3);
/* Hexagonal equipment slot */
clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
display: flex;
align-items: center;
justify-content: center;
margin: 5px;
position: relative;
transition: all 0.2s;
}
.skin-pivot .equipment-slot:hover {
background-color: rgba(25, 32, 50, 0.9);
border-color: rgba(255, 215, 82, 0.6);
}
.skin-pivot .equipment-slot.filled {
background-color: rgba(35, 35, 60, 0.6);
}
/* Item quality colors */
.skin-pivot .quality-common {
border-color: #9d9d9d;
}
.skin-pivot .quality-uncommon {
border-color: #1eff00;
}
.skin-pivot .quality-rare {
border-color: #0070dd;
}
.skin-pivot .quality-epic {
border-color: #a335ee;
}
.skin-pivot .quality-legendary {
border-color: #ff8000;
}
/***********************************************************/
/* 19) FONTS AND ICONS */
/***********************************************************/
/* Add @font-face declarations if needed */
@font-face {
font-family: 'DuneGame';
src: url('/fonts/dune-game-font.woff2') format('woff2');
font-weight: normal;
font-style: normal;
}
/* Use game font for headers and UI elements */
.skin-pivot .game-nav-tab,
.skin-pivot .game-panel-header,
.skin-pivot h1,
.skin-pivot h2,
.skin-pivot h3,
.skin-pivot h4,
.skin-pivot h5,
.skin-pivot h6,
.skin-pivot .game-button,
.skin-pivot .character-stats-header {
font-family: 'DuneGame', 'Orbitron', sans-serif;
}