MediaWiki:Common.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.
/* Cleaned-up and Finalized CSS for Dune Radial Menu (with submenus enabled, tooltips removed, and UI cleanup) */
/* --------------------------------------------------------------
# GLOBAL PAGE ADJUSTMENTS
-------------------------------------------------------------- */
#tagline, h3#tagline {
display: none !important;
}
h1.title, .mw-page-title-main, h1.firstHeading {
margin-top: 0 !important;
padding-top: 5px !important;
line-height: 1.2 !important;
font-size: 28px !important;
margin-bottom: 10px !important;
}
#content, .mw-body, .mw-content-ltr, .mw-content-rtl {
padding-top: 10px !important;
margin-top: 0 !important;
}
.responsive-container {
margin-top: 0 !important;
}
#p-cactions {
margin-top: 0 !important;
}
html, body {
overflow-x: hidden !important;
}
/* Hide mobile tab bar and personal sidebar */
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;
}
/* --------------------------------------------------------------
# RADIAL MENU STYLING
-------------------------------------------------------------- */
.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 0.4s ease, opacity 0.3s ease;
}
.dune-radial-menu.active {
transform: translate(-50%, -50%) scale(1);
opacity: 1;
visibility: visible;
pointer-events: all;
}
.dune-radial-circle {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
border-radius: 50%;
border: 1px solid rgba(255, 215, 0, 0.25);
}
.dune-radial-circle.outer { width: 100%; height: 100%; }
.dune-radial-circle.middle { width: 75%; height: 75%; }
.dune-radial-circle.inner { width: 50%; height: 50%; }
.dune-radial-item-container {
position: absolute;
top: 50%;
left: 50%;
transform-origin: center center;
transition: all 0.3s ease;
opacity: 0;
}
.dune-radial-item-container.animated {
opacity: 1;
}
.dune-radial-item {
transform: translate(-50%, -50%);
display: flex;
align-items: center;
justify-content: center;
width: 80px;
height: 80px;
background-color: var(--dune-darker);
border: 2px solid var(--dune-gold);
border-radius: 8px;
overflow: hidden;
cursor: pointer;
transition: transform 0.2s ease, box-shadow 0.2s ease;
position: relative;
z-index: 2;
}
.dune-radial-item:hover {
transform: translate(-50%, -50%) scale(1.1);
box-shadow: 0 0 10px var(--dune-gold-glow);
}
.dune-radial-icon {
width: 100%;
height: 100%;
object-fit: contain;
padding: 5px;
}
.dune-radial-center {
position: absolute;
top: 50%;
left: 50%;
width: 100px;
height: 100px;
transform: translate(-50%, -50%) scale(1);
background-color: var(--dune-darker);
border: 2px solid var(--dune-gold);
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
z-index: 5;
transition: box-shadow 0.3s ease;
}
.dune-radial-center:hover {
box-shadow: 0 0 10px var(--dune-gold-glow);
}
.dune-radial-overlay {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-color: rgba(0, 0, 0, 0.4);
backdrop-filter: blur(3px);
opacity: 0;
visibility: hidden;
z-index: 9990;
transition: opacity 0.3s ease;
}
.dune-radial-overlay.active {
opacity: 1;
visibility: visible;
}
/* Breadcrumb Styling */
.dune-breadcrumb-nav {
font-size: 1.2rem;
font-weight: 500;
line-height: 1.4;
padding: 0.75rem 1rem;
background-color: var(--dune-panel-bg-dark);
border: var(--border-thin) solid var(--dune-gold);
border-radius: var(--border-radius-sm);
margin-bottom: var(--spacing-md);
display: flex;
align-items: center;
flex-wrap: wrap;
}
.dune-breadcrumb-nav a {
color: var(--dune-gold);
text-decoration: none;
transition: var(--transition-standard);
}
.dune-breadcrumb-nav a:hover {
color: var(--dune-gold-hover);
text-shadow: 0 0 5px var(--dune-gold-glow);
}
.dune-breadcrumb-nav .dune-breadcrumb-separator {
margin: 0 0.5rem;
color: var(--text-secondary);
}
.dune-breadcrumb-nav span:last-of-type {
font-weight: bold;
color: var(--dune-gold-hover);
}
.menu-button-wrapper img:hover {
filter: drop-shadow(0 0 5px var(--dune-gold-glow));
transition: all 0.2s ease;
}
.dune-subcategory-container {
max-width: 400px;
max-height: none;
}
.dune-subcategory-container.from-pos-0,
.dune-subcategory-container.from-pos-1,
.dune-subcategory-container.from-pos-2,
.dune-subcategory-container.from-pos-3,
.dune-subcategory-container.from-pos-4 {
left: calc(50% + 270px);
top: 50%;
transform: translateY(-50%) scale(0.95);
}
.dune-subcategory-container.from-pos-5,
.dune-subcategory-container.from-pos-6,
.dune-subcategory-container.from-pos-7,
.dune-subcategory-container.from-pos-8,
.dune-subcategory-container.from-pos-9 {
left: calc(50% - 510px);
top: 50%;
transform: translateY(-50%) scale(0.95);
}
.dune-subcategory-container.active.from-pos-0,
.dune-subcategory-container.active.from-pos-1,
.dune-subcategory-container.active.from-pos-2,
.dune-subcategory-container.active.from-pos-3,
.dune-subcategory-container.active.from-pos-4,
.dune-subcategory-container.active.from-pos-5,
.dune-subcategory-container.active.from-pos-6,
.dune-subcategory-container.active.from-pos-7,
.dune-subcategory-container.active.from-pos-8,
.dune-subcategory-container.active.from-pos-9 {
transform: translateY(-50%) scale(1);
}