MediaWiki:Vector.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tags: Manual revert Reverted |
No edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
/* ======================================== | /* ======================================== | ||
CORA TO WIKI - | CORA TO WIKI - GENERAL WIKI STYLES | ||
Styles | Styles applicable to all skins | ||
======================================== */ | ======================================== */ | ||
/* | /* CSS NAVIGATION GUIDE | ||
======================================== | |||
** | |||
QUICK NAVIGATION - Use Ctrl+F to find sections: | |||
1. THEME FOUNDATION | |||
• [VARIABLES] - CSS custom properties & color system | |||
• [GLOBAL] - Base styles & resets | |||
2. PAGE STRUCTURE | |||
• [HERO] - Main banner/hero section | |||
• [NAVIGATION] - Tab navigation system | |||
• [CONTENT] - Content sections & animations | |||
• [GRIDS] - Layout grids (highlights, info, cards) | |||
• [SIDEBAR] - Sidebar components | |||
3. UI COMPONENTS | |||
• [TYPOGRAPHY] - Headings & text styling | |||
• [LINKS] - Link states & interactions | |||
• [BUTTONS] - Button styles & hover effects | |||
• [TABLES] - WikiTable styling | |||
• [FORMS] - Input fields & form elements | |||
4. MEDIAWIKI SPECIFIC | |||
• [MW-ELEMENTS] - MediaWiki specific selectors | |||
• [MW-COMPATIBILITY] - Editor & system integration | |||
5. UTILITIES & EFFECTS | |||
• [UTILITIES] - Helper classes & effects | |||
• [ANIMATIONS] - Keyframe animations | |||
6. RESPONSIVE DESIGN | |||
• [RESPONSIVE] - Mobile & tablet breakpoints | |||
• [ACCESSIBILITY] - A11y improvements | |||
• [PRINT] - Print-friendly styles | |||
HOW TO USE THIS GUIDE: | |||
- Search for [SECTION] to jump to specific parts | |||
- Each section has detailed comments explaining functionality | |||
- CSS variables are defined at the top for easy customization | |||
- All styles are MediaWiki compatible and responsive | |||
======================================== */ | |||
/* [VARIABLES] THEME FOUNDATION - CSS Custom Properties | |||
======================================== | |||
Define all colors, spacing, shadows, and design tokens used throughout the theme. | |||
Modify these variables to customize the entire theme appearance. | |||
======================================== */ | |||
:root { | :root { | ||
-- | /* PRIMARY BRAND COLORS - Pink Palette */ | ||
-- | --primary-pink: #ff6b9d; | ||
-- | --secondary-pink: #ffc3e0; | ||
-- | --accent-pink: #ff8fb0; | ||
-- | --light-pink: #fff0f7; | ||
-- | --dark-pink: #d63384; | ||
-- | --pink-gradient: linear-gradient(135deg, #ff6b9d 0%, #ffc3e0 100%); | ||
-- | --pink-glass: rgba(255, 107, 157, 0.15); | ||
-- | --pink-shadow: rgba(255, 107, 157, 0.3); | ||
-- | --pink-border: rgba(255, 107, 157, 0.2); | ||
-- | |||
-- | /* ADDITIONAL PINK SCALE */ | ||
-- | --pink-50: #fff0f6; | ||
--pink-100: #ffd9e9; | |||
--pink-200: #ffb3cf; | |||
--pink-300: #ff8cb6; | |||
--pink-400: #ff6fa3; | |||
--pink-500: #ff4f91; | |||
--pink-600: #e93c81; | |||
--pink-700: #d02f72; | |||
--pink-800: #b32561; | |||
--pink-900: #8d1c4b; | |||
/* NEUTRAL COLORS */ | |||
--text-primary: #2d2d2d; | |||
--text-secondary: #666666; | |||
--text-muted: #999999; | |||
--ink-900: #222; | |||
--ink-700: #444; | |||
--ink-500: #666; | |||
--background-primary: #ffffff; | |||
--background-secondary: #fafafa; | |||
--background-tertiary: #f5f5f5; | |||
--surface: #ffffff; | |||
--border-color: #e0e0e0; | |||
--border-light: #f0f0f0; | |||
--border: rgba(0,0,0,0.08); | |||
/* LAYOUT VARIABLES */ | |||
--sidebar-width: 220px; | |||
--content-margin: calc(var(--sidebar-width) + 20px); | |||
--container-max: 1200px; | |||
--border-radius: 12px; | |||
--border-radius-small: 8px; | |||
--radius-lg: 20px; | |||
--radius-md: 14px; | |||
--radius-sm: 10px; | |||
--spacing-xs: 4px; | |||
--spacing-sm: 8px; | |||
--spacing-md: 16px; | |||
--spacing-lg: 24px; | |||
--spacing-xl: 32px; | |||
/* SHADOWS AND EFFECTS */ | |||
--shadow-light: 0 2px 8px rgba(0, 0, 0, 0.05); | |||
--shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.1); | |||
--shadow-heavy: 0 8px 32px rgba(0, 0, 0, 0.15); | |||
--shadow: 0 6px 24px rgba(255, 79, 145, 0.18); | |||
--shadow-pink: 0 4px 20px var(--pink-shadow); | |||
--shadow-pink-hover: 0 8px 30px var(--pink-shadow); | |||
--blur-glass: blur(10px); | |||
/* TRANSITIONS */ | |||
--transition-fast: 0.15s ease; | |||
--transition-normal: 0.3s ease; | |||
--transition-slow: 0.5s ease; | |||
} | } | ||
/* ======================================== | /* [GLOBAL] BASE STYLES & RESETS | ||
======================================== | |||
Universal styles, box-sizing, typography, and body background. | |||
Sets up the foundation for all other styles to build upon. | |||
======================================== */ | ======================================== */ | ||
* { | |||
box-sizing: border-box; | |||
} | |||
html, body { | |||
height: 100%; | |||
} | |||
body { | |||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, "Noto Sans", sans-serif !important; | |||
line-height: 1.6 !important; | |||
color: var(--text-primary) !important; | |||
background: linear-gradient(135deg, var(--pink-50), var(--pink-100) 40%, var(--pink-200)) !important; | |||
background-attachment: fixed !important; | |||
margin: 0 !important; | |||
padding: 0 !important; | |||
min-height: 100vh !important; | |||
} | |||
/* [MEDIAWIKI] COMPATIBILITY WRAPPER - Scoping for MediaWiki pages */ | |||
.mw-page-scope { | |||
padding: 16px; | |||
} | |||
/* | /* [MEDIAWIKI] UTILITY BANNER - Supports MediaWiki file syntax overlays */ | ||
.utility-banner { | |||
position: relative; | |||
min-height: 48px; | |||
} | } | ||
.utility-banner > * { | |||
position: absolute; | |||
top: 0; | |||
right: 8px; | |||
} | } | ||
/* [HERO] HERO / BANNER SECTION */ | |||
.hero { | |||
background: rgba(255,255,255,0.85); | |||
border: 2px solid rgba(255, 111, 163, 0.18); | |||
border-radius: var(--radius-lg); | |||
max-width: var(--container-max); | |||
margin: 0 auto 16px auto; | |||
box-shadow: var(--shadow); | |||
backdrop-filter: blur(10px); | |||
} | |||
.hero-inner { | |||
padding: clamp(18px, 3vw, 36px); | |||
text-align: center; | |||
} | |||
.hero-title { | |||
margin: 8px 0 4px 0; | |||
font-size: clamp(22px, 4vw, 36px); | |||
font-weight: 800; | |||
background: linear-gradient(135deg, var(--pink-500), var(--pink-700)); | |||
-webkit-background-clip: text; | |||
background-clip: text; | |||
-webkit-text-fill-color: transparent; | |||
} | |||
.hero-subtitle { | |||
color: var(--ink-500); | |||
font-size: clamp(14px, 2.2vw, 18px); | |||
} | |||
.status-pill { | |||
display: inline-block; | |||
margin-top: 10px; | |||
padding: 8px 14px; | |||
border-radius: 999px; | |||
font-weight: 700; | |||
color: #fff; | |||
background: linear-gradient(135deg, var(--pink-500), var(--pink-700)); | |||
} | |||
/* Tip Box */ | |||
.tip-box { | |||
background-color: rgba(144, 238, 144, 0.2); | |||
border-left: 4px solid #4CAF50; | |||
padding: 15px; | |||
margin: 20px 0; | |||
border-radius: 4px; | |||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); | |||
} | |||
.tip-box::before { | |||
content: "💡 Tip"; | |||
display: block; | display: block; | ||
background-color: | font-weight: bold; | ||
border: | margin-bottom: 10px; | ||
border-radius: var(-- | color: #4CAF50; | ||
} | |||
transition: transform . | |||
/* Warning Box */ | |||
.warning-box { | |||
background-color: rgba(255, 165, 0, 0.2); | |||
border-left: 4px solid #FF9800; | |||
padding: 15px; | |||
margin: 20px 0; | |||
border-radius: 4px; | |||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); | |||
} | |||
.warning-box::before { | |||
content: "⚠️ Warning"; | |||
display: block; | |||
font-weight: bold; | |||
margin-bottom: 10px; | |||
color: #FF9800; | |||
} | |||
/* [NAVIGATION] TAB NAVIGATION SYSTEM */ | |||
.nav-tabs { | |||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 8px; | |||
align-items: center; | |||
justify-content: center; | |||
background: rgba(255,255,255,0.9); | |||
border: 2px solid rgba(255, 111, 163, 0.18); | |||
border-radius: var(--radius-lg); | |||
max-width: var(--container-max); | |||
margin: 0 auto 16px auto; | |||
padding: 8px; | |||
box-shadow: var(--shadow); | |||
} | |||
.nav-tab { | |||
appearance: none; | |||
border: 0; | |||
cursor: pointer; | |||
padding: 12px 16px; | |||
border-radius: var(--radius-md); | |||
font-weight: 700; | |||
color: var(--ink-700); | |||
background: rgba(255,255,255,0.8); | |||
border: 2px solid transparent; | |||
border-left: 3px solid transparent; | |||
min-width: 120px; | |||
flex: 1 1 160px; | |||
transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease, padding .2s ease; | |||
} | } | ||
.nav-tab:hover { | |||
transform: translateY(-2px); | transform: translateY(-2px); | ||
box-shadow: var(--shadow); | |||
color: var(--pink-900); | |||
background: #fff5fb; | |||
border-left-color: var(--primary-pink); | |||
padding-left: 20px; | |||
} | |||
.nav-tab.active { | |||
background: linear-gradient(135deg, var(--pink-500), var(--pink-700)); | |||
color: #fff; | |||
} | |||
.nav-tab .short-text { | |||
display: none; | |||
} | |||
/* [CONTENT] CONTENT SECTIONS & ANIMATIONS */ | |||
.content { | |||
max-width: var(--container-max); | |||
margin: 0 auto; | |||
} | } | ||
.tab-content { | |||
display: none; | |||
background: rgba(255,255,255,0.98); | |||
border-radius: var(--radius-lg); | |||
border: | border: 2px solid rgba(255, 111, 163, 0.18); | ||
box-shadow: var(--shadow); | |||
padding: clamp(16px, 3vw, 36px); | |||
} | |||
.tab-content.active { | |||
display: block; | |||
animation: fadeIn .35s ease; | |||
} | } | ||
@keyframes fadeIn { | |||
from { | |||
opacity: 0; | |||
transform: translateY(8px); | |||
} | |||
to { | |||
opacity: 1; | |||
transform: translateY(0); | |||
} | |||
} | } | ||
/* | /* Step List */ | ||
.step-list { | |||
counter-reset: step-counter; | |||
list-style-type: none; | |||
padding-left: 0; | |||
margin: 25px 0; | |||
} | } | ||
.step-item { | |||
position: relative; | position: relative; | ||
padding-left: 50px; | |||
margin-bottom: 25px; | |||
counter-increment: step-counter; | |||
} | } | ||
.step-item::before { | |||
content: counter(step-counter); | |||
position: absolute; | |||
background: linear-gradient(135deg, var(-- | left: 0; | ||
top: 0; | |||
width: 35px; | |||
height: 35px; | |||
background: linear-gradient(135deg, var(--pink-500), var(--pink-700)); | |||
color: white; | |||
border-radius: 50%; | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
font-weight: bold; | |||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); | |||
} | } | ||
/* | /* External Link */ | ||
.external-link { | |||
color: var(--primary-pink); | |||
content: ' | text-decoration: none; | ||
border-bottom: 1px dashed var(--primary-pink); | |||
transition: all 0.3s ease; | |||
padding-right: 20px; | |||
position: relative; | |||
} | |||
.external-link::after { | |||
content: '↗'; | |||
position: absolute; | position: absolute; | ||
right: | right: 0; | ||
top: | top: 0; | ||
font-size: 0.8em; | font-size: 0.8em; | ||
} | } | ||
.external-link:hover { | |||
color: var(--dark-pink); | |||
border-bottom-color: var(--dark-pink); | |||
} | |||
.section-header { | |||
text-align: center; | |||
margin-bottom: clamp(12px, 2.5vw, 24px); | |||
} | } | ||
.section-header h2 { | |||
margin: 0; | margin: 0; | ||
padding: var(-- | font-size: clamp(20px, 3vw, 28px); | ||
color: var(--ink-900); | |||
border-bottom: 2px solid var(--pink-500); | |||
display: inline-block; | |||
padding-bottom: 6px; | |||
} | |||
.section-lead { | |||
margin-top: 6px; | |||
color: var(--ink-500); | |||
font-size: clamp(13px, 2vw, 16px); | |||
} | |||
/* [GRIDS] HIGHLIGHTS GRID */ | |||
.highlights-grid { | |||
display: grid; | |||
grid-template-columns: repeat(6, 1fr); | |||
gap: clamp(10px, 2vw, 16px); | |||
margin: 1rem 0; | |||
} | |||
/* Quick Stats Grid */ | |||
.quick-stats { | |||
display: grid; | |||
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); | |||
gap: 15px; | |||
margin: 25px 0; | |||
} | |||
.stat-card { | |||
background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05)); | |||
backdrop-filter: blur(10px); | |||
-webkit-backdrop-filter: blur(10px); | |||
border-radius: 10px; | |||
padding: 20px; | |||
text-align: center; | |||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); | |||
border: 1px solid rgba(255, 255, 255, 0.18); | |||
transition: transform 0.3s ease, box-shadow 0.3s ease; | |||
} | |||
.stat-card:hover { | |||
transform: translateY(-5px); | |||
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); | |||
} | |||
.stat-card h3 { | |||
margin: 0 0 10px 0; | |||
font-size: 1.2rem; | |||
color: var(--primary-pink); | |||
} | |||
.stat-card p { | |||
font-size: 2rem; | |||
font-weight: bold; | |||
margin: 0; | |||
background: linear-gradient(135deg, var(--primary-pink), var(--dark-pink)); | |||
-webkit-background-clip: text; | |||
background-clip: text; | |||
color: transparent; | |||
} | } | ||
.card { | |||
background: var(--surface); | |||
border: 1px solid var(--border); | |||
border-left: 3px solid transparent; | |||
border-radius: var(--radius-md); | |||
overflow: hidden; | overflow: hidden; | ||
transition: | transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, padding .2s ease; | ||
padding: 0; | |||
} | |||
.card:hover { | |||
transform: translateY(-3px); | |||
box-shadow: var(--shadow); | |||
background: #fff5fb; | |||
border-left-color: var(--primary-pink); | |||
padding-left: 4px; | |||
} | |||
.card-media { | |||
text-align: center; | |||
padding-top: 6px; | |||
} | |||
.card-body { | |||
padding: 10px 12px; | |||
} | |||
.card-title { | |||
margin: 0; | |||
font-size: clamp(14px, 2.2vw, 18px); | |||
color: var(--ink-900); | |||
text-align: center; | |||
} | |||
/* [GRIDS] INFO GRID */ | |||
.info-grid { | |||
display: grid; | |||
gap: clamp(10px, 2vw, 16px); | |||
grid-template-columns: repeat(3, 1fr); | |||
margin-top: clamp(12px, 2.5vw, 24px); | |||
} | |||
.info-card { | |||
background: var(--surface); | |||
border: 1px solid var(--border); | |||
border-left: 3px solid transparent; | |||
border-radius: var(--radius-md); | |||
padding: clamp(12px, 2.5vw, 18px); | |||
transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, padding .2s ease; | |||
} | |||
.info-card:hover { | |||
transform: translateY(-2px); | |||
box-shadow: var(--shadow-light); | |||
background: #fff5fb; | |||
border-left-color: var(--primary-pink); | |||
padding-left: clamp(16px, 3vw, 22px); | |||
} | } | ||
.inline-list { | |||
list-style: none; | |||
padding: 0; | padding: 0; | ||
margin: 0; | |||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 8px 14px; | |||
} | |||
.inline-list li { | |||
white-space: nowrap; | |||
} | |||
/* [GRIDS] TABLE-LIKE RESPONSIVE COLUMNS */ | |||
.wikitable-like { | |||
display: grid; | |||
gap: 16px; | |||
grid-template-columns: repeat(3, 1fr); | |||
} | } | ||
.wikitable-like .column { | |||
background: var(--surface); | |||
border: 1px solid var(--border); | |||
border-left: 3px solid transparent; | |||
border-radius: var(--radius-md); | |||
padding: 16px; | |||
transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, padding .2s ease; | |||
} | } | ||
.wikitable-like .column:hover { | |||
transform: translateY(-2px); | |||
box-shadow: var(--shadow-light); | |||
background: #fff5fb; | |||
border- | border-left-color: var(--primary-pink); | ||
padding-left: 20px; | |||
} | } | ||
.wikitable-like ul { | |||
margin: 0; | |||
padding-left: 18px; | |||
} | } | ||
/* [SIDEBAR] SIDEBAR COMPONENTS */ | |||
.sidebar { | |||
margin-top: 16px; | |||
} | } | ||
.sidebar-inner { | |||
background: var(--surface); | |||
border: 1px solid var(--border); | |||
border-left: 3px solid transparent; | border-left: 3px solid transparent; | ||
transition: | border-radius: var(--radius-md); | ||
padding: 16px; | |||
box-shadow: var(--shadow); | |||
transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, padding .2s ease; | |||
} | } | ||
.sidebar-inner:hover { | |||
transform: translateY(-2px); | |||
box-shadow: var(--shadow-medium); | |||
background: #fff5fb; | background: #fff5fb; | ||
border-left-color: var(-- | border-left-color: var(--primary-pink); | ||
padding-left: 20px; | |||
} | |||
.sidebar-title { | |||
margin: 0 0 8px 0; | |||
font-size: clamp(16px, 2.5vw, 20px); | |||
} | |||
.sidebar-list { | |||
margin: 0; | |||
padding-left: 18px; | padding-left: 18px; | ||
} | } | ||
/* | /* [CONTENT] TAB FOOTER / NAVIGATION */ | ||
.tab-footer { | |||
display: flex; | |||
justify-content: center; | |||
margin-top: clamp(12px, 2.5vw, 24px); | |||
} | } | ||
.back-to-top { | |||
display: inline-block; | |||
padding: 10px 16px; | |||
font-weight: 700; | |||
border-radius: 999px; | |||
text-decoration: none; | |||
color: #fff; | |||
background: linear-gradient(135deg, var(--pink-500), var(--pink-700)); | |||
} | } | ||
/* | /* Fixed Back to Top Button */ | ||
. | .back-to-top-fixed { | ||
position: fixed; | position: fixed; | ||
bottom: 20px; | |||
right: 20px; | |||
background: linear-gradient(135deg, var(--primary-pink), var(--dark-pink)); | |||
color: white; | |||
width: 40px; | |||
background: linear-gradient(135deg, var(-- | height: 40px; | ||
border-radius: 50%; | |||
border-radius: | display: flex; | ||
align-items: center; | |||
justify-content: center; | justify-content: center; | ||
align- | text-decoration: none; | ||
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); | |||
box-shadow: var(-- | opacity: 0.8; | ||
transition: | transition: all 0.3s ease; | ||
padding: 0; | z-index: 1000; | ||
} | |||
.back-to-top-fixed:hover { | |||
opacity: 1; | |||
transform: translateY(-3px); | |||
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); | |||
} | |||
.back-to-top-fixed::before { | |||
content: '↑'; | |||
font-size: 20px; | |||
} | |||
/* [TYPOGRAPHY] HEADINGS STYLE */ | |||
h1, h2, h3, h4, h5, h6 { | |||
color: var(--primary-pink) !important; | |||
font-weight: 700 !important; | |||
margin-bottom: var(--spacing-md) !important; | |||
margin-top: var(--spacing-lg) !important; | |||
} | |||
h1 { | |||
background: var(--pink-gradient) !important; | |||
-webkit-background-clip: text !important; | |||
-webkit-text-fill-color: transparent !important; | |||
background-clip: text !important; | |||
font-size: 2.5em !important; | |||
} | |||
/* Collapsible Elements - Only for page content */ | |||
.mw-body .collapsible, | |||
#content .collapsible, | |||
#mw-content-text .collapsible, | |||
button.collapsible { | |||
background-color: #f1f1f1; | |||
color: #444; | |||
cursor: pointer; | |||
padding: 18px; | |||
width: 100%; | |||
border: none; | |||
text-align: left; | |||
outline: none; | |||
font-size: 15px; | |||
transition: 0.4s; | |||
border-radius: 4px; | |||
margin-bottom: 5px; | |||
position: relative; | |||
} | |||
.mw-body .collapsible:hover, | |||
#content .collapsible:hover, | |||
#mw-content-text .collapsible:hover, | |||
button.collapsible:hover { | |||
background-color: #ddd; | |||
} | |||
.mw-body .collapsible::after, | |||
#content .collapsible::after, | |||
#mw-content-text .collapsible::after, | |||
button.collapsible::after { | |||
content: '+'; | |||
font-size: 18px; | |||
font-weight: bold; | |||
float: right; | |||
margin-left: 5px; | |||
} | |||
.mw-body .collapsible.active::after, | |||
#content .collapsible.active::after, | |||
#mw-content-text .collapsible.active::after, | |||
button.collapsible.active::after { | |||
content: '-'; | |||
} | |||
.mw-body .collapsible-content, | |||
#content .collapsible-content, | |||
#mw-content-text .collapsible-content, | |||
button.collapsible + .collapsible-content { | |||
padding: 0 18px; | |||
max-height: 0; | |||
overflow: hidden; | |||
transition: max-height 0.2s ease-out; | |||
background-color: white; | |||
border-radius: 0 0 4px 4px; | |||
} | |||
.mw-body .collapsible-content.active, | |||
#content .collapsible-content.active, | |||
#mw-content-text .collapsible-content.active, | |||
button.collapsible + .collapsible-content.active { | |||
max-height: 500px; | |||
padding: 18px; | |||
border: 1px solid #ddd; | |||
border-top: none; | |||
margin-bottom: 15px; | |||
} | |||
/* [LINKS] LINKS */ | |||
a { | |||
color: var(--primary-pink) !important; | |||
text-decoration: none !important; | |||
transition: color .2s ease, background-color .2s ease, border-color .2s ease, padding .2s ease !important; | |||
display: inline-block !important; | |||
padding: 2px 4px !important; | |||
border-radius: 4px !important; | |||
border-left: 3px solid transparent !important; | |||
} | |||
a:hover { | |||
color: var(--dark-pink) !important; | |||
background: rgba(255, 107, 157, 0.08) !important; | |||
border-left-color: var(--primary-pink) !important; | |||
padding-left: 8px !important; | |||
text-decoration: none !important; | |||
} | |||
/* Content area links - enhanced animation */ | |||
#mw-content-text a { | |||
color: #9a3b5f !important; | |||
text-decoration: none !important; | |||
display: inline-block !important; | |||
padding: 2px 4px !important; | |||
border-radius: 4px !important; | |||
border-left: 3px solid transparent !important; | |||
transition: color .2s ease, background-color .2s ease, border-color .2s ease, padding .2s ease !important; | |||
} | |||
#mw-content-text a:hover { | |||
color: var(--primary-pink) !important; | |||
background: #fff5fb !important; | |||
border-left-color: var(--primary-pink) !important; | |||
padding-left: 8px !important; | |||
text-decoration: none !important; | |||
} | |||
/* [BUTTONS] BUTTONS */ | |||
.mw-ui-button, | |||
.oo-ui-buttonElement-button, | |||
button:not(.nav-tab) { | |||
background: var(--pink-gradient) !important; | |||
color: white !important; | |||
border: none !important; | |||
border-radius: var(--border-radius-small) !important; | |||
padding: var(--spacing-sm) var(--spacing-md) !important; | |||
font-weight: 600 !important; | |||
cursor: pointer !important; | |||
transition: var(--transition-normal) !important; | |||
box-shadow: var(--shadow-light) !important; | |||
} | |||
.mw-ui-button:hover, | |||
.oo-ui-buttonElement-button:hover, | |||
button:not(.nav-tab):hover { | |||
transform: translateY(-2px) !important; | |||
box-shadow: var(--shadow-pink-hover) !important; | |||
} | |||
/* [TABLES] TABLES (WikiTable + DataTable) */ | |||
table.wikitable, | |||
.mw-datatable, | |||
.faq-table { | |||
background: var(--background-primary) !important; | |||
border: 1px solid var(--border-light) !important; | |||
border-radius: var(--border-radius-small) !important; | |||
box-shadow: var(--shadow-light) !important; | |||
overflow: hidden !important; | |||
} | |||
table.wikitable th, | |||
.mw-datatable th, | |||
.faq-table th { | |||
background: var(--secondary-pink) !important; | |||
color: var(--text-primary) !important; | |||
font-weight: 700 !important; | |||
padding: var(--spacing-md) !important; | |||
border-bottom: 2px solid var(--primary-pink) !important; | |||
} | |||
table.wikitable td, | |||
.mw-datatable td, | |||
.faq-table td { | |||
padding: var(--spacing-md) !important; | |||
border-bottom: 1px solid var(--border-light) !important; | |||
} | |||
table.wikitable tr:hover, | |||
.mw-datatable tr:hover, | |||
.faq-table tr:hover { | |||
background: var(--light-pink) !important; | |||
} | |||
/* FAQ Table specific styles */ | |||
.faq-table { | |||
width: 100% !important; | |||
box-shadow: var(--shadow-medium) !important; | |||
} | |||
.faq-table tr:nth-child(odd) td { | |||
background-color: rgba(255, 107, 157, 0.05) !important; | |||
} | |||
.faq-table tr:hover td { | |||
background-color: rgba(255, 107, 157, 0.1) !important; | |||
} | |||
/* [FORMS] FORM ELEMENTS */ | |||
input[type="text"], | |||
input[type="search"], | |||
textarea, | |||
select { | |||
border: 2px solid var(--border-light) !important; | |||
border-radius: var(--border-radius-small) !important; | |||
padding: var(--spacing-sm) var(--spacing-md) !important; | |||
font-family: inherit !important; | |||
transition: var(--transition-fast) !important; | |||
} | |||
input[type="text"]:focus, | |||
input[type="search"]:focus, | |||
textarea:focus, | |||
select:focus { | |||
border-color: var(--primary-pink) !important; | |||
outline: none !important; | |||
box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.2) !important; | |||
} | |||
/* [MW-ELEMENTS] SPECIAL MEDIAWIKI ELEMENTS */ | |||
.mw-editsection { | |||
color: var(--accent-pink) !important; | |||
font-size: 0.8em !important; | |||
} | |||
.mw-headline { | |||
border-bottom: 2px solid var(--pink-border) !important; | |||
padding-bottom: var(--spacing-sm) !important; | |||
} | |||
/* [UTILITIES] UTILITY CLASSES */ | |||
.fade-in { | |||
animation: fadeInUp 0.6s ease-out; | |||
} | |||
.pulse { | |||
animation: pulse 2s infinite; | |||
} | } | ||
. | .glass-effect { | ||
background: rgba(255, 255, 255, 0.8) !important; | |||
backdrop-filter: var(--blur-glass) !important; | |||
border: 1px solid var(--pink-border) !important; | |||
} | } | ||
. | .pink-gradient-text { | ||
background: var(--pink-gradient) !important; | |||
-webkit-background-clip: text !important; | |||
-webkit-text-fill-color: transparent !important; | |||
background: | background-clip: text !important; | ||
} | } | ||
/* Shimmer animation */ | |||
@keyframes shimmer { | |||
0% { | |||
background-position: -1000px 0; | |||
} | |||
100% { | |||
background-position: 1000px 0; | |||
} | |||
} | } | ||
. | /* [RESPONSIVE] RESPONSIVE DESIGN (Breakpoints & Layout) */ | ||
@media (max-width: 1200px) { | |||
:root { | |||
--sidebar-width: 200px; | |||
--content-margin: 220px; | |||
} | |||
.highlights-grid { | |||
grid-template-columns: repeat(3, 1fr); | |||
} | |||
} | } | ||
. | @media (max-width: 900px) { | ||
.nav-tab { | |||
flex: 1 1 44%; | |||
min-width: 44%; | |||
} | |||
.highlights-grid { | |||
grid-template-columns: repeat(2, 1fr); | |||
} | |||
.info-grid { | |||
grid-template-columns: repeat(2, 1fr); | |||
} | |||
} | } | ||
@media (max-width: | @media (max-width: 600px) { | ||
.nav-tab { | |||
. | flex: 1 1 100%; | ||
display: | min-width: 100%; | ||
} | |||
.nav-tab .full-text { | |||
display: none; | |||
} | } | ||
.nav-tab .short-text { | |||
display: inline; | |||
} | } | ||
.highlights-grid { | |||
grid-template-columns: 1fr; | |||
} | |||
.info-grid { | |||
grid-template-columns: 1fr; | |||
} | |||
.wikitable-like { | |||
grid-template-columns: 1fr; | |||
} | } | ||
} | |||
@media (max-width: 480px) { | |||
:root { | |||
--border-radius: 8px; | |||
--spacing-xl: 16px; | |||
--spacing-lg: 12px; | |||
} | } | ||
h1 { | |||
font-size: 1.8em !important; | |||
} | } | ||
} | } | ||
/* | /* [ACCESSIBILITY] ACCESSIBILITY IMPROVEMENTS */ | ||
@media (prefers- | @media (prefers-reduced-motion: reduce) { | ||
* { | |||
animation-duration: 0.01ms !important; | |||
animation-iteration-count: 1 !important; | |||
transition-duration: 0.01ms !important; | |||
} | |||
} | } | ||
@media (prefers-contrast: high) { | |||
:root { | |||
--primary-pink: #d63384; | |||
--text-primary: #000000; | |||
--border-color: #333333; | |||
} | |||
} | |||
/* | /* [CHANGELOG-BOX] CHANGELOG BOX STYLES */ | ||
.changelog-box { | |||
/* Modern gradient background with subtle pink-to-white transition */ | |||
background: linear-gradient(135deg, #ffeef7 0%, #ffffff 50%, #f8f9fa 100%) !important; | |||
/* Generous internal spacing for better readability */ | |||
padding: 25px 30px !important; | |||
/* Smooth rounded borders for modern look */ | |||
border-radius: 16px !important; | |||
/* Elegant multi-layered border effect */ | |||
border: 1px solid rgba(255, 107, 157, 0.15) !important; | |||
border-left: 5px solid #ff6b9d !important; | |||
/* Soft shadow for depth and elevation */ | |||
box-shadow: 0 4px 20px rgba(255, 107, 157, 0.08), | |||
0 2px 8px rgba(0, 0, 0, 0.04) !important; | |||
/* Vertical margins with better spacing */ | |||
margin: 25px 0 !important; | |||
/* Smooth transition for hover effects */ | |||
transition: all 0.3s ease !important; | |||
/* Enhanced typography */ | |||
font-size: 1.05em !important; | |||
line-height: 1.6 !important; | |||
color: #2c3e50 !important; | |||
/* Relative positioning for proper layout */ | |||
position: relative !important; | |||
} | |||
.changelog-box:hover { | |||
: | transform: translateY(-2px) !important; | ||
box-shadow: 0 6px 25px rgba(255, 107, 157, 0.12), | |||
0 3px 10px rgba(0, 0, 0, 0.08) !important; | |||
} | } | ||
/* | /* [WIKILINKS] MEDIAWIKI INTERNAL LINK PROCESSING */ | ||
.mw-link-internal { | |||
color: var(--primary-pink) !important; | |||
color: var(--primary-pink | |||
text-decoration: none !important; | text-decoration: none !important; | ||
transition: var(--transition-normal) !important; | |||
border-bottom: 1px dotted transparent !important; | |||
} | |||
.mw-link-internal:hover { | |||
color: var(--dark-pink) !important; | |||
border-bottom-color: var(--primary-pink) !important; | |||
} | } | ||
.mw-redirect { | |||
color: var(--accent-pink) !important; | |||
color: var(-- | |||
} | } | ||
/* | /* [DESTAQUE CARDS] HOLOGRAMSIE SERVICE CARDS */ | ||
.destaques-grid { | |||
display: grid; | |||
grid-template-columns: repeat(6, 1fr); | |||
gap: 15px; | |||
margin: 30px 0; | |||
padding: 0 20px; | |||
} | } | ||
.destaque-card { | |||
background: var(--light-pink); | |||
border: 2px solid var(--accent-pink); | |||
border-radius: 15px; | |||
padding: 12px; | |||
text-align: center; | |||
transition: all 0.3s ease; | |||
min-height: 250px; | |||
display: flex; | |||
flex-direction: column; | |||
align-items: center; | |||
justify-content: flex-start; | |||
gap: 12px; | |||
position: relative; | |||
overflow: hidden; | |||
cursor: pointer; | |||
} | |||
.destaque-card[data-link], | |||
.destaque-card[data-tab-trigger] { | |||
cursor: pointer; | |||
} | } | ||
transform: translateY(- | .destaque-card[data-link]:hover, | ||
.destaque-card[data-tab-trigger]:hover { | |||
border-color: var(-- | transform: translateY(-5px); | ||
box-shadow: 0 8px 30px rgba(255, 107, 157, 0.2); | |||
border-color: var(--primary-pink); | |||
} | } | ||
.destaque-card[data-link] .destaque-text h3, | |||
.destaque-card[data-tab-trigger] .destaque-text h3 { | |||
color: var(--primary-pink); | |||
color: var(--primary-pink | |||
} | } | ||
.destaque-card[data-link]:hover .destaque-text h3, | |||
.destaque-card[data-tab-trigger]:hover .destaque-text h3 { | |||
color | color: var(--dark-pink); | ||
} | } | ||
.destaque-card[data-link] *, | |||
.destaque-card[data-tab-trigger] * { | |||
pointer-events: none; | |||
} | } | ||
.destaque-image { | |||
width: 100%; | |||
max-width: 180px; | |||
height: 140px; | |||
overflow: hidden; | |||
border-radius: 12px; | border-radius: 12px; | ||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
} | |||
.destaque-image img { | |||
width: 100%; | |||
height: 100%; | |||
object-fit: cover; | |||
border-radius: 10px; | |||
} | |||
.destaque-text { | |||
flex: 1; | |||
display: flex; | |||
flex-direction: column; | |||
justify-content: center; | |||
gap: 10px; | |||
} | |||
.destaque-text h3 { | |||
color: var(--primary-pink); | |||
font-size: 0.75em; | |||
font-weight: bold; | |||
margin: 0; | |||
line-height: 1.2; | |||
} | |||
.destaque-text p { | |||
color: var(--primary-pink); | |||
font-size: 0.9em; | |||
line-height: 1.4; | |||
margin: 0; | |||
opacity: 0.8; | |||
} | |||
.destaque-card::before { | |||
content: ''; | |||
position: absolute; | |||
top: -50%; | |||
left: -50%; | |||
width: 200%; | |||
height: 200%; | |||
background: var(--primary-pink); | |||
opacity: 0; | |||
transition: opacity 0.3s ease; | |||
z-index: 1; | |||
} | } | ||
.destaque-card:hover::before { | |||
opacity: 0.1; | |||
} | |||
.destaque-card:hover { | |||
transform: translateY(-5px); | |||
box-shadow: 0 8px 30px rgba(255, 107, 157, 0.2); | |||
border-color: var(--primary-pink); | |||
} | |||
/* [ANIMATIONS] ANIMATION KEYFRAMES */ | |||
@keyframes fadeInUp { | |||
from { | |||
opacity: 0; | |||
transform: translateY(20px); | |||
} | |||
to { | |||
opacity: 1; | |||
transform: translateY(0); | |||
} | } | ||
} | } | ||
@keyframes pulse { | |||
0%, 100% { | |||
opacity: 1; | |||
} | |||
50% { | |||
opacity: 0.7; | |||
} | |||
} | |||
@keyframes slideInLeft { | |||
from { | |||
transform: translateX(-100%); | |||
} | |||
to { | |||
transform: translateX(0); | |||
} | |||
} | } | ||
Revision as of 03:02, 13 August 2025
/* ========================================
CORA TO WIKI - GENERAL WIKI STYLES
Styles applicable to all skins
======================================== */
/* CSS NAVIGATION GUIDE
========================================
QUICK NAVIGATION - Use Ctrl+F to find sections:
1. THEME FOUNDATION
• [VARIABLES] - CSS custom properties & color system
• [GLOBAL] - Base styles & resets
2. PAGE STRUCTURE
• [HERO] - Main banner/hero section
• [NAVIGATION] - Tab navigation system
• [CONTENT] - Content sections & animations
• [GRIDS] - Layout grids (highlights, info, cards)
• [SIDEBAR] - Sidebar components
3. UI COMPONENTS
• [TYPOGRAPHY] - Headings & text styling
• [LINKS] - Link states & interactions
• [BUTTONS] - Button styles & hover effects
• [TABLES] - WikiTable styling
• [FORMS] - Input fields & form elements
4. MEDIAWIKI SPECIFIC
• [MW-ELEMENTS] - MediaWiki specific selectors
• [MW-COMPATIBILITY] - Editor & system integration
5. UTILITIES & EFFECTS
• [UTILITIES] - Helper classes & effects
• [ANIMATIONS] - Keyframe animations
6. RESPONSIVE DESIGN
• [RESPONSIVE] - Mobile & tablet breakpoints
• [ACCESSIBILITY] - A11y improvements
• [PRINT] - Print-friendly styles
HOW TO USE THIS GUIDE:
- Search for [SECTION] to jump to specific parts
- Each section has detailed comments explaining functionality
- CSS variables are defined at the top for easy customization
- All styles are MediaWiki compatible and responsive
======================================== */
/* [VARIABLES] THEME FOUNDATION - CSS Custom Properties
========================================
Define all colors, spacing, shadows, and design tokens used throughout the theme.
Modify these variables to customize the entire theme appearance.
======================================== */
:root {
/* PRIMARY BRAND COLORS - Pink Palette */
--primary-pink: #ff6b9d;
--secondary-pink: #ffc3e0;
--accent-pink: #ff8fb0;
--light-pink: #fff0f7;
--dark-pink: #d63384;
--pink-gradient: linear-gradient(135deg, #ff6b9d 0%, #ffc3e0 100%);
--pink-glass: rgba(255, 107, 157, 0.15);
--pink-shadow: rgba(255, 107, 157, 0.3);
--pink-border: rgba(255, 107, 157, 0.2);
/* ADDITIONAL PINK SCALE */
--pink-50: #fff0f6;
--pink-100: #ffd9e9;
--pink-200: #ffb3cf;
--pink-300: #ff8cb6;
--pink-400: #ff6fa3;
--pink-500: #ff4f91;
--pink-600: #e93c81;
--pink-700: #d02f72;
--pink-800: #b32561;
--pink-900: #8d1c4b;
/* NEUTRAL COLORS */
--text-primary: #2d2d2d;
--text-secondary: #666666;
--text-muted: #999999;
--ink-900: #222;
--ink-700: #444;
--ink-500: #666;
--background-primary: #ffffff;
--background-secondary: #fafafa;
--background-tertiary: #f5f5f5;
--surface: #ffffff;
--border-color: #e0e0e0;
--border-light: #f0f0f0;
--border: rgba(0,0,0,0.08);
/* LAYOUT VARIABLES */
--sidebar-width: 220px;
--content-margin: calc(var(--sidebar-width) + 20px);
--container-max: 1200px;
--border-radius: 12px;
--border-radius-small: 8px;
--radius-lg: 20px;
--radius-md: 14px;
--radius-sm: 10px;
--spacing-xs: 4px;
--spacing-sm: 8px;
--spacing-md: 16px;
--spacing-lg: 24px;
--spacing-xl: 32px;
/* SHADOWS AND EFFECTS */
--shadow-light: 0 2px 8px rgba(0, 0, 0, 0.05);
--shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.1);
--shadow-heavy: 0 8px 32px rgba(0, 0, 0, 0.15);
--shadow: 0 6px 24px rgba(255, 79, 145, 0.18);
--shadow-pink: 0 4px 20px var(--pink-shadow);
--shadow-pink-hover: 0 8px 30px var(--pink-shadow);
--blur-glass: blur(10px);
/* TRANSITIONS */
--transition-fast: 0.15s ease;
--transition-normal: 0.3s ease;
--transition-slow: 0.5s ease;
}
/* [GLOBAL] BASE STYLES & RESETS
========================================
Universal styles, box-sizing, typography, and body background.
Sets up the foundation for all other styles to build upon.
======================================== */
* {
box-sizing: border-box;
}
html, body {
height: 100%;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, "Noto Sans", sans-serif !important;
line-height: 1.6 !important;
color: var(--text-primary) !important;
background: linear-gradient(135deg, var(--pink-50), var(--pink-100) 40%, var(--pink-200)) !important;
background-attachment: fixed !important;
margin: 0 !important;
padding: 0 !important;
min-height: 100vh !important;
}
/* [MEDIAWIKI] COMPATIBILITY WRAPPER - Scoping for MediaWiki pages */
.mw-page-scope {
padding: 16px;
}
/* [MEDIAWIKI] UTILITY BANNER - Supports MediaWiki file syntax overlays */
.utility-banner {
position: relative;
min-height: 48px;
}
.utility-banner > * {
position: absolute;
top: 0;
right: 8px;
}
/* [HERO] HERO / BANNER SECTION */
.hero {
background: rgba(255,255,255,0.85);
border: 2px solid rgba(255, 111, 163, 0.18);
border-radius: var(--radius-lg);
max-width: var(--container-max);
margin: 0 auto 16px auto;
box-shadow: var(--shadow);
backdrop-filter: blur(10px);
}
.hero-inner {
padding: clamp(18px, 3vw, 36px);
text-align: center;
}
.hero-title {
margin: 8px 0 4px 0;
font-size: clamp(22px, 4vw, 36px);
font-weight: 800;
background: linear-gradient(135deg, var(--pink-500), var(--pink-700));
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}
.hero-subtitle {
color: var(--ink-500);
font-size: clamp(14px, 2.2vw, 18px);
}
.status-pill {
display: inline-block;
margin-top: 10px;
padding: 8px 14px;
border-radius: 999px;
font-weight: 700;
color: #fff;
background: linear-gradient(135deg, var(--pink-500), var(--pink-700));
}
/* Tip Box */
.tip-box {
background-color: rgba(144, 238, 144, 0.2);
border-left: 4px solid #4CAF50;
padding: 15px;
margin: 20px 0;
border-radius: 4px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.tip-box::before {
content: "💡 Tip";
display: block;
font-weight: bold;
margin-bottom: 10px;
color: #4CAF50;
}
/* Warning Box */
.warning-box {
background-color: rgba(255, 165, 0, 0.2);
border-left: 4px solid #FF9800;
padding: 15px;
margin: 20px 0;
border-radius: 4px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.warning-box::before {
content: "⚠️ Warning";
display: block;
font-weight: bold;
margin-bottom: 10px;
color: #FF9800;
}
/* [NAVIGATION] TAB NAVIGATION SYSTEM */
.nav-tabs {
display: flex;
flex-wrap: wrap;
gap: 8px;
align-items: center;
justify-content: center;
background: rgba(255,255,255,0.9);
border: 2px solid rgba(255, 111, 163, 0.18);
border-radius: var(--radius-lg);
max-width: var(--container-max);
margin: 0 auto 16px auto;
padding: 8px;
box-shadow: var(--shadow);
}
.nav-tab {
appearance: none;
border: 0;
cursor: pointer;
padding: 12px 16px;
border-radius: var(--radius-md);
font-weight: 700;
color: var(--ink-700);
background: rgba(255,255,255,0.8);
border: 2px solid transparent;
border-left: 3px solid transparent;
min-width: 120px;
flex: 1 1 160px;
transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease, padding .2s ease;
}
.nav-tab:hover {
transform: translateY(-2px);
box-shadow: var(--shadow);
color: var(--pink-900);
background: #fff5fb;
border-left-color: var(--primary-pink);
padding-left: 20px;
}
.nav-tab.active {
background: linear-gradient(135deg, var(--pink-500), var(--pink-700));
color: #fff;
}
.nav-tab .short-text {
display: none;
}
/* [CONTENT] CONTENT SECTIONS & ANIMATIONS */
.content {
max-width: var(--container-max);
margin: 0 auto;
}
.tab-content {
display: none;
background: rgba(255,255,255,0.98);
border-radius: var(--radius-lg);
border: 2px solid rgba(255, 111, 163, 0.18);
box-shadow: var(--shadow);
padding: clamp(16px, 3vw, 36px);
}
.tab-content.active {
display: block;
animation: fadeIn .35s ease;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(8px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Step List */
.step-list {
counter-reset: step-counter;
list-style-type: none;
padding-left: 0;
margin: 25px 0;
}
.step-item {
position: relative;
padding-left: 50px;
margin-bottom: 25px;
counter-increment: step-counter;
}
.step-item::before {
content: counter(step-counter);
position: absolute;
left: 0;
top: 0;
width: 35px;
height: 35px;
background: linear-gradient(135deg, var(--pink-500), var(--pink-700));
color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
/* External Link */
.external-link {
color: var(--primary-pink);
text-decoration: none;
border-bottom: 1px dashed var(--primary-pink);
transition: all 0.3s ease;
padding-right: 20px;
position: relative;
}
.external-link::after {
content: '↗';
position: absolute;
right: 0;
top: 0;
font-size: 0.8em;
}
.external-link:hover {
color: var(--dark-pink);
border-bottom-color: var(--dark-pink);
}
.section-header {
text-align: center;
margin-bottom: clamp(12px, 2.5vw, 24px);
}
.section-header h2 {
margin: 0;
font-size: clamp(20px, 3vw, 28px);
color: var(--ink-900);
border-bottom: 2px solid var(--pink-500);
display: inline-block;
padding-bottom: 6px;
}
.section-lead {
margin-top: 6px;
color: var(--ink-500);
font-size: clamp(13px, 2vw, 16px);
}
/* [GRIDS] HIGHLIGHTS GRID */
.highlights-grid {
display: grid;
grid-template-columns: repeat(6, 1fr);
gap: clamp(10px, 2vw, 16px);
margin: 1rem 0;
}
/* Quick Stats Grid */
.quick-stats {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 15px;
margin: 25px 0;
}
.stat-card {
background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border-radius: 10px;
padding: 20px;
text-align: center;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
border: 1px solid rgba(255, 255, 255, 0.18);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.stat-card h3 {
margin: 0 0 10px 0;
font-size: 1.2rem;
color: var(--primary-pink);
}
.stat-card p {
font-size: 2rem;
font-weight: bold;
margin: 0;
background: linear-gradient(135deg, var(--primary-pink), var(--dark-pink));
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.card {
background: var(--surface);
border: 1px solid var(--border);
border-left: 3px solid transparent;
border-radius: var(--radius-md);
overflow: hidden;
transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, padding .2s ease;
padding: 0;
}
.card:hover {
transform: translateY(-3px);
box-shadow: var(--shadow);
background: #fff5fb;
border-left-color: var(--primary-pink);
padding-left: 4px;
}
.card-media {
text-align: center;
padding-top: 6px;
}
.card-body {
padding: 10px 12px;
}
.card-title {
margin: 0;
font-size: clamp(14px, 2.2vw, 18px);
color: var(--ink-900);
text-align: center;
}
/* [GRIDS] INFO GRID */
.info-grid {
display: grid;
gap: clamp(10px, 2vw, 16px);
grid-template-columns: repeat(3, 1fr);
margin-top: clamp(12px, 2.5vw, 24px);
}
.info-card {
background: var(--surface);
border: 1px solid var(--border);
border-left: 3px solid transparent;
border-radius: var(--radius-md);
padding: clamp(12px, 2.5vw, 18px);
transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, padding .2s ease;
}
.info-card:hover {
transform: translateY(-2px);
box-shadow: var(--shadow-light);
background: #fff5fb;
border-left-color: var(--primary-pink);
padding-left: clamp(16px, 3vw, 22px);
}
.inline-list {
list-style: none;
padding: 0;
margin: 0;
display: flex;
flex-wrap: wrap;
gap: 8px 14px;
}
.inline-list li {
white-space: nowrap;
}
/* [GRIDS] TABLE-LIKE RESPONSIVE COLUMNS */
.wikitable-like {
display: grid;
gap: 16px;
grid-template-columns: repeat(3, 1fr);
}
.wikitable-like .column {
background: var(--surface);
border: 1px solid var(--border);
border-left: 3px solid transparent;
border-radius: var(--radius-md);
padding: 16px;
transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, padding .2s ease;
}
.wikitable-like .column:hover {
transform: translateY(-2px);
box-shadow: var(--shadow-light);
background: #fff5fb;
border-left-color: var(--primary-pink);
padding-left: 20px;
}
.wikitable-like ul {
margin: 0;
padding-left: 18px;
}
/* [SIDEBAR] SIDEBAR COMPONENTS */
.sidebar {
margin-top: 16px;
}
.sidebar-inner {
background: var(--surface);
border: 1px solid var(--border);
border-left: 3px solid transparent;
border-radius: var(--radius-md);
padding: 16px;
box-shadow: var(--shadow);
transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, padding .2s ease;
}
.sidebar-inner:hover {
transform: translateY(-2px);
box-shadow: var(--shadow-medium);
background: #fff5fb;
border-left-color: var(--primary-pink);
padding-left: 20px;
}
.sidebar-title {
margin: 0 0 8px 0;
font-size: clamp(16px, 2.5vw, 20px);
}
.sidebar-list {
margin: 0;
padding-left: 18px;
}
/* [CONTENT] TAB FOOTER / NAVIGATION */
.tab-footer {
display: flex;
justify-content: center;
margin-top: clamp(12px, 2.5vw, 24px);
}
.back-to-top {
display: inline-block;
padding: 10px 16px;
font-weight: 700;
border-radius: 999px;
text-decoration: none;
color: #fff;
background: linear-gradient(135deg, var(--pink-500), var(--pink-700));
}
/* Fixed Back to Top Button */
.back-to-top-fixed {
position: fixed;
bottom: 20px;
right: 20px;
background: linear-gradient(135deg, var(--primary-pink), var(--dark-pink));
color: white;
width: 40px;
height: 40px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
text-decoration: none;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
opacity: 0.8;
transition: all 0.3s ease;
z-index: 1000;
}
.back-to-top-fixed:hover {
opacity: 1;
transform: translateY(-3px);
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.back-to-top-fixed::before {
content: '↑';
font-size: 20px;
}
/* [TYPOGRAPHY] HEADINGS STYLE */
h1, h2, h3, h4, h5, h6 {
color: var(--primary-pink) !important;
font-weight: 700 !important;
margin-bottom: var(--spacing-md) !important;
margin-top: var(--spacing-lg) !important;
}
h1 {
background: var(--pink-gradient) !important;
-webkit-background-clip: text !important;
-webkit-text-fill-color: transparent !important;
background-clip: text !important;
font-size: 2.5em !important;
}
/* Collapsible Elements - Only for page content */
.mw-body .collapsible,
#content .collapsible,
#mw-content-text .collapsible,
button.collapsible {
background-color: #f1f1f1;
color: #444;
cursor: pointer;
padding: 18px;
width: 100%;
border: none;
text-align: left;
outline: none;
font-size: 15px;
transition: 0.4s;
border-radius: 4px;
margin-bottom: 5px;
position: relative;
}
.mw-body .collapsible:hover,
#content .collapsible:hover,
#mw-content-text .collapsible:hover,
button.collapsible:hover {
background-color: #ddd;
}
.mw-body .collapsible::after,
#content .collapsible::after,
#mw-content-text .collapsible::after,
button.collapsible::after {
content: '+';
font-size: 18px;
font-weight: bold;
float: right;
margin-left: 5px;
}
.mw-body .collapsible.active::after,
#content .collapsible.active::after,
#mw-content-text .collapsible.active::after,
button.collapsible.active::after {
content: '-';
}
.mw-body .collapsible-content,
#content .collapsible-content,
#mw-content-text .collapsible-content,
button.collapsible + .collapsible-content {
padding: 0 18px;
max-height: 0;
overflow: hidden;
transition: max-height 0.2s ease-out;
background-color: white;
border-radius: 0 0 4px 4px;
}
.mw-body .collapsible-content.active,
#content .collapsible-content.active,
#mw-content-text .collapsible-content.active,
button.collapsible + .collapsible-content.active {
max-height: 500px;
padding: 18px;
border: 1px solid #ddd;
border-top: none;
margin-bottom: 15px;
}
/* [LINKS] LINKS */
a {
color: var(--primary-pink) !important;
text-decoration: none !important;
transition: color .2s ease, background-color .2s ease, border-color .2s ease, padding .2s ease !important;
display: inline-block !important;
padding: 2px 4px !important;
border-radius: 4px !important;
border-left: 3px solid transparent !important;
}
a:hover {
color: var(--dark-pink) !important;
background: rgba(255, 107, 157, 0.08) !important;
border-left-color: var(--primary-pink) !important;
padding-left: 8px !important;
text-decoration: none !important;
}
/* Content area links - enhanced animation */
#mw-content-text a {
color: #9a3b5f !important;
text-decoration: none !important;
display: inline-block !important;
padding: 2px 4px !important;
border-radius: 4px !important;
border-left: 3px solid transparent !important;
transition: color .2s ease, background-color .2s ease, border-color .2s ease, padding .2s ease !important;
}
#mw-content-text a:hover {
color: var(--primary-pink) !important;
background: #fff5fb !important;
border-left-color: var(--primary-pink) !important;
padding-left: 8px !important;
text-decoration: none !important;
}
/* [BUTTONS] BUTTONS */
.mw-ui-button,
.oo-ui-buttonElement-button,
button:not(.nav-tab) {
background: var(--pink-gradient) !important;
color: white !important;
border: none !important;
border-radius: var(--border-radius-small) !important;
padding: var(--spacing-sm) var(--spacing-md) !important;
font-weight: 600 !important;
cursor: pointer !important;
transition: var(--transition-normal) !important;
box-shadow: var(--shadow-light) !important;
}
.mw-ui-button:hover,
.oo-ui-buttonElement-button:hover,
button:not(.nav-tab):hover {
transform: translateY(-2px) !important;
box-shadow: var(--shadow-pink-hover) !important;
}
/* [TABLES] TABLES (WikiTable + DataTable) */
table.wikitable,
.mw-datatable,
.faq-table {
background: var(--background-primary) !important;
border: 1px solid var(--border-light) !important;
border-radius: var(--border-radius-small) !important;
box-shadow: var(--shadow-light) !important;
overflow: hidden !important;
}
table.wikitable th,
.mw-datatable th,
.faq-table th {
background: var(--secondary-pink) !important;
color: var(--text-primary) !important;
font-weight: 700 !important;
padding: var(--spacing-md) !important;
border-bottom: 2px solid var(--primary-pink) !important;
}
table.wikitable td,
.mw-datatable td,
.faq-table td {
padding: var(--spacing-md) !important;
border-bottom: 1px solid var(--border-light) !important;
}
table.wikitable tr:hover,
.mw-datatable tr:hover,
.faq-table tr:hover {
background: var(--light-pink) !important;
}
/* FAQ Table specific styles */
.faq-table {
width: 100% !important;
box-shadow: var(--shadow-medium) !important;
}
.faq-table tr:nth-child(odd) td {
background-color: rgba(255, 107, 157, 0.05) !important;
}
.faq-table tr:hover td {
background-color: rgba(255, 107, 157, 0.1) !important;
}
/* [FORMS] FORM ELEMENTS */
input[type="text"],
input[type="search"],
textarea,
select {
border: 2px solid var(--border-light) !important;
border-radius: var(--border-radius-small) !important;
padding: var(--spacing-sm) var(--spacing-md) !important;
font-family: inherit !important;
transition: var(--transition-fast) !important;
}
input[type="text"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
border-color: var(--primary-pink) !important;
outline: none !important;
box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.2) !important;
}
/* [MW-ELEMENTS] SPECIAL MEDIAWIKI ELEMENTS */
.mw-editsection {
color: var(--accent-pink) !important;
font-size: 0.8em !important;
}
.mw-headline {
border-bottom: 2px solid var(--pink-border) !important;
padding-bottom: var(--spacing-sm) !important;
}
/* [UTILITIES] UTILITY CLASSES */
.fade-in {
animation: fadeInUp 0.6s ease-out;
}
.pulse {
animation: pulse 2s infinite;
}
.glass-effect {
background: rgba(255, 255, 255, 0.8) !important;
backdrop-filter: var(--blur-glass) !important;
border: 1px solid var(--pink-border) !important;
}
.pink-gradient-text {
background: var(--pink-gradient) !important;
-webkit-background-clip: text !important;
-webkit-text-fill-color: transparent !important;
background-clip: text !important;
}
/* Shimmer animation */
@keyframes shimmer {
0% {
background-position: -1000px 0;
}
100% {
background-position: 1000px 0;
}
}
/* [RESPONSIVE] RESPONSIVE DESIGN (Breakpoints & Layout) */
@media (max-width: 1200px) {
:root {
--sidebar-width: 200px;
--content-margin: 220px;
}
.highlights-grid {
grid-template-columns: repeat(3, 1fr);
}
}
@media (max-width: 900px) {
.nav-tab {
flex: 1 1 44%;
min-width: 44%;
}
.highlights-grid {
grid-template-columns: repeat(2, 1fr);
}
.info-grid {
grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 600px) {
.nav-tab {
flex: 1 1 100%;
min-width: 100%;
}
.nav-tab .full-text {
display: none;
}
.nav-tab .short-text {
display: inline;
}
.highlights-grid {
grid-template-columns: 1fr;
}
.info-grid {
grid-template-columns: 1fr;
}
.wikitable-like {
grid-template-columns: 1fr;
}
}
@media (max-width: 480px) {
:root {
--border-radius: 8px;
--spacing-xl: 16px;
--spacing-lg: 12px;
}
h1 {
font-size: 1.8em !important;
}
}
/* [ACCESSIBILITY] ACCESSIBILITY IMPROVEMENTS */
@media (prefers-reduced-motion: reduce) {
* {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
}
@media (prefers-contrast: high) {
:root {
--primary-pink: #d63384;
--text-primary: #000000;
--border-color: #333333;
}
}
/* [CHANGELOG-BOX] CHANGELOG BOX STYLES */
.changelog-box {
/* Modern gradient background with subtle pink-to-white transition */
background: linear-gradient(135deg, #ffeef7 0%, #ffffff 50%, #f8f9fa 100%) !important;
/* Generous internal spacing for better readability */
padding: 25px 30px !important;
/* Smooth rounded borders for modern look */
border-radius: 16px !important;
/* Elegant multi-layered border effect */
border: 1px solid rgba(255, 107, 157, 0.15) !important;
border-left: 5px solid #ff6b9d !important;
/* Soft shadow for depth and elevation */
box-shadow: 0 4px 20px rgba(255, 107, 157, 0.08),
0 2px 8px rgba(0, 0, 0, 0.04) !important;
/* Vertical margins with better spacing */
margin: 25px 0 !important;
/* Smooth transition for hover effects */
transition: all 0.3s ease !important;
/* Enhanced typography */
font-size: 1.05em !important;
line-height: 1.6 !important;
color: #2c3e50 !important;
/* Relative positioning for proper layout */
position: relative !important;
}
.changelog-box:hover {
transform: translateY(-2px) !important;
box-shadow: 0 6px 25px rgba(255, 107, 157, 0.12),
0 3px 10px rgba(0, 0, 0, 0.08) !important;
}
/* [WIKILINKS] MEDIAWIKI INTERNAL LINK PROCESSING */
.mw-link-internal {
color: var(--primary-pink) !important;
text-decoration: none !important;
transition: var(--transition-normal) !important;
border-bottom: 1px dotted transparent !important;
}
.mw-link-internal:hover {
color: var(--dark-pink) !important;
border-bottom-color: var(--primary-pink) !important;
}
.mw-redirect {
color: var(--accent-pink) !important;
}
/* [DESTAQUE CARDS] HOLOGRAMSIE SERVICE CARDS */
.destaques-grid {
display: grid;
grid-template-columns: repeat(6, 1fr);
gap: 15px;
margin: 30px 0;
padding: 0 20px;
}
.destaque-card {
background: var(--light-pink);
border: 2px solid var(--accent-pink);
border-radius: 15px;
padding: 12px;
text-align: center;
transition: all 0.3s ease;
min-height: 250px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
gap: 12px;
position: relative;
overflow: hidden;
cursor: pointer;
}
.destaque-card[data-link],
.destaque-card[data-tab-trigger] {
cursor: pointer;
}
.destaque-card[data-link]:hover,
.destaque-card[data-tab-trigger]:hover {
transform: translateY(-5px);
box-shadow: 0 8px 30px rgba(255, 107, 157, 0.2);
border-color: var(--primary-pink);
}
.destaque-card[data-link] .destaque-text h3,
.destaque-card[data-tab-trigger] .destaque-text h3 {
color: var(--primary-pink);
}
.destaque-card[data-link]:hover .destaque-text h3,
.destaque-card[data-tab-trigger]:hover .destaque-text h3 {
color: var(--dark-pink);
}
.destaque-card[data-link] *,
.destaque-card[data-tab-trigger] * {
pointer-events: none;
}
.destaque-image {
width: 100%;
max-width: 180px;
height: 140px;
overflow: hidden;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
}
.destaque-image img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 10px;
}
.destaque-text {
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
gap: 10px;
}
.destaque-text h3 {
color: var(--primary-pink);
font-size: 0.75em;
font-weight: bold;
margin: 0;
line-height: 1.2;
}
.destaque-text p {
color: var(--primary-pink);
font-size: 0.9em;
line-height: 1.4;
margin: 0;
opacity: 0.8;
}
.destaque-card::before {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: var(--primary-pink);
opacity: 0;
transition: opacity 0.3s ease;
z-index: 1;
}
.destaque-card:hover::before {
opacity: 0.1;
}
.destaque-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 30px rgba(255, 107, 157, 0.2);
border-color: var(--primary-pink);
}
/* [ANIMATIONS] ANIMATION KEYFRAMES */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes pulse {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0.7;
}
}
@keyframes slideInLeft {
from {
transform: translateX(-100%);
}
to {
transform: translateX(0);
}
}