Common.css: Difference between revisions
From Dune Awakening DB
mNo edit summary Tag: Reverted |
mNo edit summary Tag: Reverted |
||
| Line 2: | Line 2: | ||
* Common.css – Global Styles Only | * Common.css – Global Styles Only | ||
* Dune Awakening Theme for MediaWiki | * Dune Awakening Theme for MediaWiki | ||
* (v5 | * (v5.5 - Fixed Positioning · 2025-05-24) | ||
**********************************************************/ | **********************************************************/ | ||
| Line 36: | Line 36: | ||
GLOBAL RESETS & LAYOUT FIXES | GLOBAL RESETS & LAYOUT FIXES | ||
================================================ */ | ================================================ */ | ||
/* Body spacing for fixed header */ | /* Body spacing for fixed header */ | ||
html, body { | html, body { | ||
margin: 0 | margin: 0; | ||
padding: 0 | padding: 0; | ||
overflow-x: hidden | overflow-x: hidden; | ||
} | } | ||
body { | body { | ||
padding-top: var(--header-height) | padding-top: var(--header-height); | ||
background-color: #0a0a0a; | background-color: #0a0a0a; | ||
color: var(--color-text); | color: var(--color-text); | ||
| Line 91: | Line 85: | ||
.mw-content-subtitle { | .mw-content-subtitle { | ||
display: none !important; | display: none !important; | ||
} | } | ||
/* Hide conflicting navigation elements */ | /* Hide conflicting navigation elements */ | ||
nav.tab-bar, | nav.tab-bar, | ||
.tab-bar, | .tab-bar, | ||
| Line 111: | Line 101: | ||
/* ================================================ | /* ================================================ | ||
CONTENT AREA | CONTENT AREA SPACING | ||
================================================ */ | ================================================ */ | ||
#content, | #content, | ||
.mw-body, | .mw-body, | ||
#main-section, | |||
.main-section, | |||
#page-content { | |||
padding-top: 20px; | |||
margin-top: 0; | |||
} | |||
#mw-content-text, | #mw-content-text, | ||
.mw-content-ltr, | .mw-content-ltr, | ||
.mw-content-rtl, | .mw-content-rtl, | ||
.mw-body-content, | .mw-body-content, | ||
.mw-parser-output | .mw-parser-output { | ||
/* Let these have normal spacing */ | |||
} | } | ||
/* | /* Actions area specific */ | ||
#p-cactions { | |||
margin-top: 0; | |||
# | padding-top: 0; | ||
margin-top: 0 | |||
padding-top: 0 | |||
} | } | ||
| Line 147: | Line 135: | ||
[class*="large-2"][class*="medium-3"] { | [class*="large-2"][class*="medium-3"] { | ||
display: none !important; | display: none !important; | ||
} | } | ||
| Line 153: | Line 140: | ||
#main-section, | #main-section, | ||
.main-section, | .main-section, | ||
#content-wrapper, | #content-wrapper, | ||
.mw-body | .mw-body { | ||
width: 100% !important; | width: 100% !important; | ||
max-width: 100% !important; | max-width: 100% !important; | ||
margin: 0 !important; | margin-left: 0 !important; | ||
margin-right: 0 !important; | |||
padding-left: 0 !important; | padding-left: 0 !important; | ||
padding-right: 0 !important; | padding-right: 0 !important; | ||
| Line 167: | Line 153: | ||
/* Remove Foundation grid constraints */ | /* Remove Foundation grid constraints */ | ||
.row { | .row { | ||
max-width: | max-width: 100%; | ||
width: 100% | width: 100%; | ||
margin: 0 | margin-left: 0; | ||
margin-right: 0; | |||
} | } | ||
.columns { | .columns { | ||
padding: 0 | padding-left: 0; | ||
float: none | padding-right: 0; | ||
position: static | float: none; | ||
position: static; | |||
} | } | ||
/* Content wrapper */ | /* Content wrapper */ | ||
#mw-content-text { | #mw-content-text { | ||
padding: 0 var(--content-padding) | padding: 0 var(--content-padding); | ||
max-width: | max-width: 100%; | ||
width: 100% | width: 100%; | ||
margin: 0 | margin: 0; | ||
} | } | ||
| Line 190: | Line 178: | ||
.docs-wrap, | .docs-wrap, | ||
.inner-wrap { | .inner-wrap { | ||
padding: 0 | padding: 0; | ||
margin: 0 | margin: 0; | ||
width: 100% | width: 100%; | ||
} | } | ||
| Line 215: | Line 203: | ||
#drop { | #drop { | ||
margin: 0 !important; | margin: 0 !important; | ||
} | |||
#drop .button { | |||
background: rgba(252, 231, 200, 0.1) !important; | background: rgba(252, 231, 200, 0.1) !important; | ||
border: 2px solid rgba(252, 231, 200, 0.3) !important; | border: 2px solid rgba(252, 231, 200, 0.3) !important; | ||
| Line 229: | Line 220: | ||
} | } | ||
#drop:hover { | #drop .button:hover { | ||
background: rgba(252, 231, 200, 0.2) !important; | background: rgba(252, 231, 200, 0.2) !important; | ||
border-color: var(--color-primary) !important; | border-color: var(--color-primary) !important; | ||
| Line 235: | Line 226: | ||
/* Dropdown menu styling */ | /* Dropdown menu styling */ | ||
#drop .f-dropdown, | |||
#drop-content { | #drop-content { | ||
background: rgba(10, 8, 16, 0.98) !important; | background: rgba(10, 8, 16, 0.98) !important; | ||
border: 2px solid var(--color-primary) !important; | border: 2px solid var(--color-primary) !important; | ||
box-shadow: 0 5px 20px rgba(0,0,0,0.8) !important; | box-shadow: 0 5px 20px rgba(0,0,0,0.8) !important; | ||
margin-top: | margin-top: 5px !important; | ||
right: 0 !important; | right: 0 !important; | ||
left: auto !important; | left: auto !important; | ||
} | } | ||
#drop .f-dropdown a, | |||
#drop-content a { | #drop-content a { | ||
color: rgba(252, 231, 200, 0.8) !important; | color: rgba(252, 231, 200, 0.8) !important; | ||
| Line 251: | Line 243: | ||
} | } | ||
#drop .f-dropdown a:hover, | |||
#drop-content a:hover { | #drop-content a:hover { | ||
background: rgba(252, 231, 200, 0.1) !important; | background: rgba(252, 231, 200, 0.1) !important; | ||
| Line 257: | Line 250: | ||
/* ================================================ | /* ================================================ | ||
CUSTOM HEADER | CUSTOM HEADER (Created by JS) | ||
================================================ */ | ================================================ */ | ||
#dune-header { | #dune-header { | ||
| Line 273: | Line 266: | ||
} | } | ||
.dune- | /* ================================================ | ||
BREADCRUMB NAVIGATION - PROPER SPACING | |||
================================================ */ | |||
.dune-breadcrumb-nav { | |||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
margin: 20px 0 !important; /* Add top margin to prevent header overlap */ | |||
padding: 12px 18px !important; | |||
font-size: 18px !important; | |||
background: rgba(0,0,2,.3); | |||
border: 1px solid rgba(252, 231, 200, 0.15); | |||
position: relative; | |||
overflow: hidden; | |||
border-radius: 2px; | |||
} | } | ||
.dune-breadcrumb-nav a { | |||
.dune- | color: rgba(252, 231, 200, 0.6); | ||
color: | |||
text-decoration: none; | text-decoration: none; | ||
transition: all 0.3s ease; | transition: all 0.3s ease; | ||
font-weight: 500; | |||
} | } | ||
.dune- | .dune-breadcrumb-nav a:hover { | ||
color: | color: rgba(252, 231, 200, 0.9); | ||
} | } | ||
.dune-breadcrumb-separator { | |||
.dune- | margin: 0 8px; | ||
color: rgba(252, 231, 200, 0.3); | |||
} | } | ||
.dune- | .dune-breadcrumb-separator::before { | ||
content: '/'; | |||
font-size: 16px; | |||
font-size: | |||
} | } | ||
. | .menu-button-wrapper { | ||
display: inline-flex; | |||
align-items: center; | align-items: center; | ||
margin-right: 8px; | |||
vertical-align: middle; | |||
} | } | ||
. | .menu-button-wrapper img { | ||
height: 24px; | |||
width: auto; | |||
vertical-align: middle; | |||
display: block; | |||
height: | |||
width: | |||
display: | |||
} | } | ||
| Line 492: | Line 390: | ||
GLOBAL TABLE STYLES | GLOBAL TABLE STYLES | ||
================================================ */ | ================================================ */ | ||
.skin-pivot table tr, | .skin-pivot table tr, | ||
.skin-pivot table tbody tr | .skin-pivot table tbody tr { | ||
background: transparent !important; | background: transparent !important; | ||
} | } | ||
| Line 510: | Line 399: | ||
================================================ */ | ================================================ */ | ||
footer#footer { | footer#footer { | ||
background: linear-gradient(180deg, transparent 0%, rgba(0,0,2,.9) 100%) | background: linear-gradient(180deg, transparent 0%, rgba(0,0,2,.9) 100%); | ||
border-top: 2px solid rgba(252, 231, 200, 0.3); | border-top: 2px solid rgba(252, 231, 200, 0.3); | ||
margin-top: 40px | margin-top: 40px; | ||
padding: 20px | padding: 20px; | ||
} | } | ||
footer#footer a { | footer#footer a { | ||
color: var(--color-primary) | color: var(--color-primary); | ||
margin: 0 10px; | margin: 0 10px; | ||
} | } | ||
footer#footer li { | footer#footer li { | ||
display: inline-block | display: inline-block; | ||
border: none | border: none; | ||
} | } | ||
| Line 579: | Line 419: | ||
================================================ */ | ================================================ */ | ||
::-webkit-scrollbar { | ::-webkit-scrollbar { | ||
width: 8px | width: 8px; | ||
} | } | ||
| Line 603: | Line 443: | ||
} | } | ||
#p-cactions { | #p-cactions { | ||
top: 8px !important; | top: 8px !important; | ||
right: 60px !important; | right: 60px !important; | ||
} | } | ||
#drop { | #drop .button { | ||
padding: 4px 12px !important; | padding: 4px 12px !important; | ||
font-size: 12px !important; | font-size: 12px !important; | ||
| Line 645: | Line 484: | ||
.dune-search { | .dune-search { | ||
display: none; | display: none; | ||
} | } | ||
| Line 652: | Line 490: | ||
} | } | ||
.dune-breadcrumb-nav { | .dune-breadcrumb-nav { | ||
font-size: 14px !important; | font-size: 14px !important; | ||
padding: 8px 12px !important; | padding: 8px 12px !important; | ||
margin: 15px 0 !important; | |||
} | } | ||
| Line 662: | Line 500: | ||
} | } | ||
.dune-radial-menu.mobile-grid { | .dune-radial-menu.mobile-grid { | ||
background: linear-gradient(135deg, rgba(0,0,2,.95) 0%, rgba(12,10,20,.95) 100%); | background: linear-gradient(135deg, rgba(0,0,2,.95) 0%, rgba(12,10,20,.95) 100%); | ||
| Line 691: | Line 528: | ||
UTILITY CLASSES | UTILITY CLASSES | ||
================================================ */ | ================================================ */ | ||
.tech-loader { | .tech-loader { | ||
width: 40px; | width: 40px; | ||
| Line 707: | Line 543: | ||
} | } | ||
/* | /* Additional specific fixes for proper content display */ | ||
. | .mw-parser-output h1, | ||
.mw-parser-output h2, | |||
.mw-parser-output h3, | |||
.mw-parser-output h4, | |||
.mw-parser-output h5, | |||
. | .mw-parser-output h6 { | ||
margin-top: 1em; | |||
margin-bottom: 0.5em; | |||
} | } | ||
.mw-parser-output p { | |||
. | margin-top: 0.5em; | ||
margin-bottom: 0.5em; | |||
} | } | ||
.mw-parser-output > h1:first-child, | |||
.mw-parser-output > h2:first-child, | |||
.mw-parser-output > h3:first-child, | |||
.mw-parser-output > p:first-child { | |||
margin-top: 0; | |||
} | } | ||
. | /* Ensure tables have proper spacing */ | ||
.mw-parser-output table { | |||
margin | margin-top: 1em; | ||
margin-bottom: 1em; | |||
margin | |||
} | } | ||
Revision as of 05:01, 24 May 2025
/**********************************************************
* Common.css – Global Styles Only
* Dune Awakening Theme for MediaWiki
* (v5.5 - Fixed Positioning · 2025-05-24)
**********************************************************/
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Rajdhani:wght@400;500;600;700&display=swap');
/* ================================================
CSS VARIABLES
================================================ */
:root {
/* Font sizes */
--font-size-xs: 0.65rem;
--font-size-sm: 0.75rem;
--font-size-md: 0.85rem;
--font-size-lg: 1.1rem;
--font-size-xl: 1.3rem;
--font-size-xxl: 1.7rem;
/* Colors */
--color-primary: #fce7c8;
--color-secondary: #E3BB7A;
--color-text: #E0E0E0;
--color-bg-dark: rgba(0,0,2,.85);
--color-bg-darker: rgba(12,10,20,.85);
--color-border: rgba(252, 231, 200, 0.2);
--color-border-hover: rgba(252, 231, 200, 0.4);
/* Spacing */
--header-height: 60px;
--content-padding: 20px;
}
/* ================================================
GLOBAL RESETS & LAYOUT FIXES
================================================ */
/* Body spacing for fixed header */
html, body {
margin: 0;
padding: 0;
overflow-x: hidden;
}
body {
padding-top: var(--header-height);
background-color: #0a0a0a;
color: var(--color-text);
font-family: 'Rajdhani', sans-serif;
}
/* Subtle 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 MEDIAWIKI DEFAULT ELEMENTS
================================================ */
h1.firstHeading,
h1.title,
.mw-page-title-main,
#firstHeading,
.firstHeading,
.page-header,
.mw-indicators,
#tagline,
h3#tagline,
#contentSub,
.mw-content-subtitle {
display: none !important;
}
/* Hide conflicting navigation elements */
nav.tab-bar,
.tab-bar,
.tab-bar-section,
.left-off-canvas-toggle,
.right-off-canvas-toggle,
aside.right-off-canvas-menu,
#right-nav-aside,
#mw-header-container,
.mw-header {
display: none !important;
}
/* ================================================
CONTENT AREA SPACING
================================================ */
#content,
.mw-body,
#main-section,
.main-section,
#page-content {
padding-top: 20px;
margin-top: 0;
}
#mw-content-text,
.mw-content-ltr,
.mw-content-rtl,
.mw-body-content,
.mw-parser-output {
/* Let these have normal spacing */
}
/* Actions area specific */
#p-cactions {
margin-top: 0;
padding-top: 0;
}
/* ================================================
REMOVE SIDEBAR & FORCE FULL WIDTH
================================================ */
#sidebar,
aside.columns,
.side-nav,
.sidebar,
[class*="large-2"][class*="medium-3"] {
display: none !important;
}
#page-content,
#main-section,
.main-section,
#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;
float: none !important;
}
/* Remove Foundation grid constraints */
.row {
max-width: 100%;
width: 100%;
margin-left: 0;
margin-right: 0;
}
.columns {
padding-left: 0;
padding-right: 0;
float: none;
position: static;
}
/* Content wrapper */
#mw-content-text {
padding: 0 var(--content-padding);
max-width: 100%;
width: 100%;
margin: 0;
}
/* Fix nested wrappers */
.off-canvas-wrap,
.docs-wrap,
.inner-wrap {
padding: 0;
margin: 0;
width: 100%;
}
/* ================================================
ACTIONS BUTTON IN HEADER
================================================ */
#p-cactions {
position: fixed !important;
top: 12px !important;
right: 20px !important;
width: auto !important;
margin: 0 !important;
padding: 0 !important;
z-index: 100000 !important;
}
#p-cactions > .row {
margin: 0 !important;
width: auto !important;
}
#drop {
margin: 0 !important;
}
#drop .button {
background: rgba(252, 231, 200, 0.1) !important;
border: 2px solid rgba(252, 231, 200, 0.3) !important;
color: var(--color-primary) !important;
padding: 6px 16px !important;
font-size: 13px !important;
font-weight: 600 !important;
text-transform: uppercase !important;
letter-spacing: 1px !important;
transition: all 0.3s ease !important;
height: 36px !important;
display: flex !important;
align-items: center !important;
}
#drop .button:hover {
background: rgba(252, 231, 200, 0.2) !important;
border-color: var(--color-primary) !important;
}
/* Dropdown menu styling */
#drop .f-dropdown,
#drop-content {
background: rgba(10, 8, 16, 0.98) !important;
border: 2px solid var(--color-primary) !important;
box-shadow: 0 5px 20px rgba(0,0,0,0.8) !important;
margin-top: 5px !important;
right: 0 !important;
left: auto !important;
}
#drop .f-dropdown a,
#drop-content a {
color: rgba(252, 231, 200, 0.8) !important;
padding: 8px 16px !important;
transition: all 0.2s ease !important;
}
#drop .f-dropdown a:hover,
#drop-content a:hover {
background: rgba(252, 231, 200, 0.1) !important;
color: var(--color-primary) !important;
}
/* ================================================
CUSTOM HEADER (Created by JS)
================================================ */
#dune-header {
position: fixed !important;
top: 0 !important;
left: 0 !important;
right: 0 !important;
height: var(--header-height) !important;
background: linear-gradient(180deg, rgba(20, 18, 28, 0.95) 0%, rgba(10, 8, 16, 0.98) 100%);
border-bottom: 3px solid var(--color-border-hover);
box-shadow: 0 2px 20px rgba(0,0,0,0.8);
z-index: 99999 !important;
display: flex;
align-items: center;
}
/* ================================================
BREADCRUMB NAVIGATION - PROPER SPACING
================================================ */
.dune-breadcrumb-nav {
display: flex;
align-items: center;
margin: 20px 0 !important; /* Add top margin to prevent header overlap */
padding: 12px 18px !important;
font-size: 18px !important;
background: rgba(0,0,2,.3);
border: 1px solid rgba(252, 231, 200, 0.15);
position: relative;
overflow: hidden;
border-radius: 2px;
}
.dune-breadcrumb-nav a {
color: rgba(252, 231, 200, 0.6);
text-decoration: none;
transition: all 0.3s ease;
font-weight: 500;
}
.dune-breadcrumb-nav a:hover {
color: rgba(252, 231, 200, 0.9);
}
.dune-breadcrumb-separator {
margin: 0 8px;
color: rgba(252, 231, 200, 0.3);
}
.dune-breadcrumb-separator::before {
content: '/';
font-size: 16px;
}
.menu-button-wrapper {
display: inline-flex;
align-items: center;
margin-right: 8px;
vertical-align: middle;
}
.menu-button-wrapper img {
height: 24px;
width: auto;
vertical-align: middle;
display: block;
}
/* ================================================
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;
}
.dune-radial-item,
.dune-radial-center,
.dune-subcategory-container {
background: linear-gradient(135deg, #0c0a14 0%, #1a1a1a 100%);
border: 2px solid var(--color-primary);
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: var(--color-primary);
border-bottom: 2px solid var(--color-primary);
text-transform: uppercase;
letter-spacing: 1px;
font-weight: 700;
}
.dune-subcategory-item {
color: var(--color-primary);
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 var(--color-primary);
}
.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);
}
/* ================================================
GLOBAL TABLE STYLES
================================================ */
.skin-pivot table tr,
.skin-pivot table tbody tr {
background: transparent !important;
}
/* ================================================
FOOTER
================================================ */
footer#footer {
background: linear-gradient(180deg, transparent 0%, rgba(0,0,2,.9) 100%);
border-top: 2px solid rgba(252, 231, 200, 0.3);
margin-top: 40px;
padding: 20px;
}
footer#footer a {
color: var(--color-primary);
margin: 0 10px;
}
footer#footer li {
display: inline-block;
border: none;
}
/* ================================================
SCROLLBAR
================================================ */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: rgba(0,0,2,.8);
}
::-webkit-scrollbar-thumb {
background: var(--color-secondary);
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: var(--color-primary);
}
/* ================================================
MOBILE RESPONSIVE
================================================ */
@media (max-width: 768px) {
.dune-header-inner {
padding: 0 10px;
}
#p-cactions {
top: 8px !important;
right: 60px !important;
}
#drop .button {
padding: 4px 12px !important;
font-size: 12px !important;
height: 32px !important;
}
.dune-logo {
font-size: 18px;
letter-spacing: 2px;
}
.dune-nav {
display: none;
position: absolute;
top: var(--header-height);
left: 0;
right: 0;
background: rgba(10, 8, 16, 0.98);
flex-direction: column;
border-top: 2px solid var(--color-primary);
margin: 0;
}
.dune-nav.mobile-active {
display: flex;
}
.dune-nav a {
border-right: none;
border-left: none;
border-bottom: 1px solid rgba(252, 231, 200, 0.1);
height: 50px;
}
.dune-search {
display: none;
}
.dune-mobile-menu-btn {
display: block;
}
.dune-breadcrumb-nav {
font-size: 14px !important;
padding: 8px 12px !important;
margin: 15px 0 !important;
}
.menu-button-wrapper img {
height: 20px;
}
.dune-radial-menu.mobile-grid {
background: linear-gradient(135deg, rgba(0,0,2,.95) 0%, rgba(12,10,20,.95) 100%);
border: 2px solid var(--color-primary);
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 var(--color-primary);
background: rgba(0,0,2,.8);
}
.dune-subcategory-item {
background: rgba(0,0,2,.8);
border: 1px solid rgba(252, 231, 200, 0.3);
}
}
@media (max-width: 1200px) {
.dune-nav a {
padding: 0 15px;
font-size: 13px;
}
}
/* ================================================
UTILITY CLASSES
================================================ */
.tech-loader {
width: 40px;
height: 40px;
border: 3px solid rgba(252, 231, 200, 0.2);
border-top-color: var(--color-primary);
border-radius: 50%;
animation: loadingSpin 1s linear infinite;
display: inline-block;
}
@keyframes loadingSpin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
/* Additional specific fixes for proper content display */
.mw-parser-output h1,
.mw-parser-output h2,
.mw-parser-output h3,
.mw-parser-output h4,
.mw-parser-output h5,
.mw-parser-output h6 {
margin-top: 1em;
margin-bottom: 0.5em;
}
.mw-parser-output p {
margin-top: 0.5em;
margin-bottom: 0.5em;
}
.mw-parser-output > h1:first-child,
.mw-parser-output > h2:first-child,
.mw-parser-output > h3:first-child,
.mw-parser-output > p:first-child {
margin-top: 0;
}
/* Ensure tables have proper spacing */
.mw-parser-output table {
margin-top: 1em;
margin-bottom: 1em;
}