MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Reverted |
No edit summary Tag: Manual revert |
||
| Line 1: | Line 1: | ||
/* | /* CSS NAVIGATION GUIDE | ||
======================================== | ======================================== | ||
NAVIGATION | QUICK NAVIGATION - Use Ctrl+F to find sections: | ||
• [VARIABLES] - CSS custom properties & | |||
1. THEME FOUNDATION | |||
• [VARIABLES] - CSS custom properties & color system | |||
• [ | • [GLOBAL] - Base styles & resets | ||
• [MEDIAWIKI] - MediaWiki compatibility layer | |||
• [TYPOGRAPHY] - | 2. PAGE STRUCTURE | ||
• [HERO] - Main banner/hero section | |||
• [NAVIGATION] - Enhanced tab navigation with animations | |||
• [UTILITIES] - Helper classes | • [CONTENT] - Content sections & animations | ||
• [GRIDS] - Responsive layout grids (highlights, info, cards) | |||
• [RESPONSIVE] - | • [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 | |||
• [DESTAQUE CARDS] - cards with responsive grid | |||
5. UTILITIES & EFFECTS | |||
• [UTILITIES] - Helper classes & effects | |||
• [ANIMATIONS] - Keyframe animations & transitions | |||
• [CHANGELOG-BOX] - Styled changelog containers | |||
6. RESPONSIVE DESIGN | |||
• [RESPONSIVE] - Mobile & tablet breakpoints | |||
• [ACCESSIBILITY] - A11y improvements & focus states | |||
• [PRINT] - Print-friendly styles | |||
RECENT UPDATES: | |||
- Enhanced navigation with shimmer effects and accessibility | |||
- Responsive destaques-grid with mobile optimization | |||
- Improved focus states and ARIA support | |||
- Modern backdrop filters and glass morphism effects | |||
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 fully responsive | |||
======================================== */ | ======================================== */ | ||
/* [VARIABLES] CSS | /* [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; | --primary-pink: #ff6b9d; | ||
--secondary-pink: #ffc3e0; | --secondary-pink: #ffc3e0; | ||
| Line 30: | Line 64: | ||
--light-pink: #fff0f7; | --light-pink: #fff0f7; | ||
--dark-pink: #d63384; | --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-50: #fff0f6; | ||
--pink-100: #ffd9e9; | --pink-100: #ffd9e9; | ||
| Line 43: | Line 81: | ||
--pink-900: #8d1c4b; | --pink-900: #8d1c4b; | ||
/* | /* NEUTRAL COLORS */ | ||
--text-primary: #2d2d2d; | --text-primary: #2d2d2d; | ||
--text-secondary: #666666; | --text-secondary: #666666; | ||
| Line 56: | Line 88: | ||
--ink-700: #444; | --ink-700: #444; | ||
--ink-500: #666; | --ink-500: #666; | ||
--background-primary: #ffffff; | --background-primary: #ffffff; | ||
--background-secondary: #fafafa; | --background-secondary: #fafafa; | ||
--background-tertiary: #f5f5f5; | --background-tertiary: #f5f5f5; | ||
--surface: #ffffff; | --surface: #ffffff; | ||
--border-color: #e0e0e0; | --border-color: #e0e0e0; | ||
--border-light: #f0f0f0; | --border-light: #f0f0f0; | ||
--border: rgba(0,0,0,0.08); | --border: rgba(0,0,0,0.08); | ||
/* | /* LAYOUT VARIABLES */ | ||
--sidebar-width: 220px; | |||
--content-margin: calc(var(--sidebar-width) + 20px); | |||
--container-max: 1200px; | --container-max: 1200px; | ||
--border-radius: 12px; | --border-radius: 12px; | ||
--border-radius-small: 8px; | --border-radius-small: 8px; | ||
| Line 77: | Line 105: | ||
--radius-md: 14px; | --radius-md: 14px; | ||
--radius-sm: 10px; | --radius-sm: 10px; | ||
--spacing-xs: 4px; | --spacing-xs: 4px; | ||
--spacing-sm: 8px; | --spacing-sm: 8px; | ||
| Line 85: | Line 111: | ||
--spacing-xl: 32px; | --spacing-xl: 32px; | ||
/* | /* SHADOWS AND EFFECTS */ | ||
--shadow-light: 0 2px 8px rgba(0, 0, 0, 0.05); | --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.05); | ||
--shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.1); | --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.1); | ||
| Line 92: | Line 118: | ||
--shadow-pink: 0 4px 20px var(--pink-shadow); | --shadow-pink: 0 4px 20px var(--pink-shadow); | ||
--shadow-pink-hover: 0 8px 30px var(--pink-shadow); | --shadow-pink-hover: 0 8px 30px var(--pink-shadow); | ||
--blur-glass: blur(10px); | --blur-glass: blur(10px); | ||
/* | /* TRANSITIONS */ | ||
--transition-fast: 0.15s ease; | --transition-fast: 0.15s ease; | ||
--transition-normal: 0.3s ease; | --transition-normal: 0.3s ease; | ||
| Line 103: | Line 127: | ||
/* [GLOBAL] BASE STYLES & RESETS | /* [GLOBAL] BASE STYLES & RESETS | ||
======================================== | |||
Universal styles, box-sizing, typography, and body background. | |||
Sets up the foundation for all other styles to build upon. | |||
======================================== */ | ======================================== */ | ||
* { | * { | ||
| Line 123: | Line 150: | ||
} | } | ||
/* [MEDIAWIKI] COMPATIBILITY | /* [MEDIAWIKI] COMPATIBILITY WRAPPER - Scoping for MediaWiki pages */ | ||
.mw-page-scope { | .mw-page-scope { | ||
padding: 16px; | padding: 16px; | ||
} | } | ||
/* [MEDIAWIKI] UTILITY BANNER - Supports MediaWiki file syntax overlays */ | |||
.utility-banner { | .utility-banner { | ||
position: relative; | position: relative; | ||
| Line 140: | Line 167: | ||
} | } | ||
/* | /* [MEDIAWIKI] MAIN CONTENT CONTAINER - Skin Vector Legacy specific */ | ||
body.skin-vector-legacy #content, | body.skin-vector-legacy #content, | ||
body.skin-vector-legacy .mw-body { | body.skin-vector-legacy .mw-body { | ||
border: 1px solid var(--border-light) !important; | border: 1px solid var(--border-light) !important; | ||
border-radius: var(--border-radius) !important; | border-radius: var(--border-radius) !important; | ||
margin: var(--spacing-lg) var(--spacing-lg) var(--spacing-lg) | margin-top: var(--spacing-lg) !important; | ||
margin-bottom: var(--spacing-lg) !important; | |||
margin-right: var(--spacing-lg) !important; | |||
box-shadow: 0 0px 20px rgb(253, 91, 205) !important; | box-shadow: 0 0px 20px rgb(253, 91, 205) !important; | ||
background: linear-gradient(to bottom, rgba(255,255,255,0.5), rgba(255, 205, 233, 0)); | background: linear-gradient(to bottom, rgba(255,255,255,0.5), rgba(255, 205, 233, 0)); | ||
| Line 154: | Line 183: | ||
content: '' !important; | content: '' !important; | ||
position: absolute !important; | position: absolute !important; | ||
top: -1px !important; | |||
left: -1px !important; | |||
right: -1px !important; | |||
bottom: -1px !important; | |||
background: var(--pink-gradient) !important; | background: var(--pink-gradient) !important; | ||
border-radius: var(--border-radius) !important; | border-radius: var(--border-radius) !important; | ||
| Line 161: | Line 193: | ||
} | } | ||
/* [ | /* [HERO] HERO / BANNER SECTION */ | ||
.hero { | .hero { | ||
background: rgba(255,255,255,0.85); | background: rgba(255,255,255,0.85); | ||
| Line 185: | Line 216: | ||
-webkit-background-clip: text; | -webkit-background-clip: text; | ||
background-clip: text; | background-clip: text; | ||
-webkit-text-fill-color: | -webkit-text-fill-color: none !important; | ||
} | } | ||
| Line 204: | Line 235: | ||
} | } | ||
. | @keyframes fadeInOut { | ||
0% { opacity: 0.6; } | |||
50% { opacity: 1; } | |||
100% { opacity: 0.6; } | |||
} | } | ||
/* Tip Box */ | |||
/* | |||
.tip-box { | .tip-box { | ||
background-color: rgba(144, 238, 144, 0.2); | background-color: rgba(144, 238, 144, 0.2); | ||
| Line 243: | Line 259: | ||
} | } | ||
/* Warning Box */ | |||
.warning-box { | .warning-box { | ||
background-color: rgba(255, 165, 0, 0.2); | background-color: rgba(255, 165, 0, 0.2); | ||
| Line 260: | Line 277: | ||
} | } | ||
/* | /* [NAVIGATION] TAB NAVIGATION SYSTEM */ | ||
. | .nav-tabs { | ||
display: flex; | |||
flex-wrap: wrap; | |||
border | gap: 8px; | ||
border-radius: var(--radius- | align-items: center; | ||
justify-content: center; | |||
background: rgba(255,255,255,0.95); | |||
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); | box-shadow: var(--shadow); | ||
backdrop-filter: blur(10px); | |||
position: relative; | |||
z-index: 10; | |||
} | } | ||
. | .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.9); | |||
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; | |||
position: relative; | |||
overflow: hidden; | |||
text-align: center; | text-align: center; | ||
font-size: 14px; | |||
line-height: 1.4; | |||
} | } | ||
. | .nav-tab::before { | ||
content: ''; | |||
position: absolute; | |||
top: 0; | |||
left: -100%; | |||
width: 100%; | |||
height: 100%; | |||
background: linear-gradient(90deg, transparent, rgba(255, 107, 157, 0.1), transparent); | |||
transition: left 0.5s ease; | |||
} | } | ||
.nav-tab:hover::before { | |||
. | left: 100%; | ||
} | } | ||
. | .nav-tab:hover { | ||
transform: translateY(-2px); | |||
padding-left: | box-shadow: var(--shadow); | ||
color: var(--pink-900); | |||
background: #fff5fb; | |||
border-left-color: var(--primary-pink); | |||
padding-left: 20px; | |||
} | |||
.nav-tab:focus { | |||
outline: 2px solid var(--primary-pink); | |||
outline-offset: 2px; | |||
} | } | ||
. | .nav-tab.active { | ||
background: linear-gradient(135deg, var(--pink-500), var(--pink-700)); | background: linear-gradient(135deg, var(--pink-500), var(--pink-700)); | ||
color: | color: #fff; | ||
transform: translateY(-1px); | |||
box-shadow: var(--shadow-pink); | |||
} | } | ||
.nav-tab.active:hover { | |||
. | background: linear-gradient(135deg, var(--pink-600), var(--pink-800)); | ||
transform: translateY(-3px); | |||
box-shadow: var(--shadow-pink-hover); | |||
} | } | ||
. | .nav-tab .short-text { | ||
display: none; | |||
} | } | ||
. | .nav-tab .full-text { | ||
display: inline; | |||
} | } | ||
. | /* Navigation accessibility improvements */ | ||
.nav-tabs[role="tablist"] .nav-tab[role="tab"] { | |||
position: relative; | |||
} | } | ||
. | .nav-tabs[role="tablist"] .nav-tab[role="tab"][aria-selected="true"]::after { | ||
content: ''; | |||
position: absolute; | |||
bottom: -2px; | |||
background: | left: 50%; | ||
transform: translateX(-50%); | |||
width: 80%; | |||
height: 3px; | |||
background: var(--primary-pink); | |||
border-radius: 2px; | |||
} | } | ||
/* | /* [CONTENT] CONTENT SECTIONS & ANIMATIONS */ | ||
. | .content { | ||
max-width: var(--container-max); | |||
margin: 0 auto; | |||
margin: | |||
} | } | ||
. | .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: | 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 | padding-left: 0; | ||
margin: 25px 0; | |||
} | } | ||
. | .step-item { | ||
position: relative; | |||
padding-left: 50px; | |||
margin-bottom: 25px; | |||
counter-increment: step-counter; | |||
} | } | ||
. | .step-item::before { | ||
color: | content: counter(step-counter); | ||
display: | position: absolute; | ||
left: 0; | |||
font- | 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 */ | ||
color: | .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; | |||
font-size | |||
} | } | ||
. | .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); | |||
margin- | |||
} | } | ||
. | .section-header h2 { | ||
margin: 0; | |||
font-size: clamp(20px, 3vw, 28px); | |||
color: var(--ink-900); | |||
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: | border: 1px solid var(--border); | ||
border-left: 3px solid transparent; | |||
border-radius: var(--radius-md); | 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); | |||
transition: transform .2s ease, box-shadow .2s ease, background | box-shadow: var(--shadow); | ||
background: #fff5fb; | |||
border-left-color: var(--primary-pink); | |||
padding-left: 4px; | |||
} | |||
.card-media { | |||
text-align: center; | 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 */ | |||
display: | .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); | 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; | |||
} | |||
border: | |||
border- | .sidebar-inner { | ||
background: var(--surface); | |||
border: 1px solid var(--border); | |||
transition: | 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(- | transform: translateY(-2px); | ||
box-shadow: var(--shadow- | box-shadow: var(--shadow-medium); | ||
background: #fff5fb; | background: #fff5fb; | ||
border-left-color: var(--primary-pink); | 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 | padding-left: 18px; | ||
} | } | ||
. | /* [CONTENT] TAB FOOTER / NAVIGATION */ | ||
display: | .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; | |||
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 */ | |||
background: var(--pink- | .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 { | |||
font- | color: var(--primary-pink) !important; | ||
font-weight: 700 !important; | |||
font-style: italic; | |||
margin-bottom: var(--spacing-md) !important; | |||
margin-top: var(--spacing-lg) !important; | |||
} | } | ||
h1,h2 { | |||
background: var(--pink-gradient) !important; | |||
-webkit-background-clip: text !important; | |||
font-size: | border-bottom: 2px solid var(--pink-500); | ||
background-clip: text !important; | |||
font-size: 2.5em !important; | |||
} | } | ||
h4 { | |||
font-size: 2em !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- | .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- | .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; | |||
} | } | ||
.mw- | /* [LINKS] LINKS */ | ||
color: | /* Content area links - enhanced animation */ | ||
#mw-content-text a:not(.ve-ui *):not(.oo-ui-window *):not(.mw-editform *):not(.editOptions *):not(.wikiEditor-ui *) { | |||
color: #9a3b5f !important; | |||
display: inline-block !important; | |||
padding: 2px 4px !important; | |||
border-radius: 10px !important; | |||
border-left: 3px solid transparent !important; | |||
transition: color .2s ease, background-color .2s ease, border-color .2s ease, padding .2s ease !important; | |||
} | } | ||
/* [TABLES] | #mw-content-text a:not(.ve-ui *):not(.oo-ui-window *):not(.mw-editform *):not(.editOptions *):not(.wikiEditor-ui *):hover { | ||
color: var(--primary-pink) !important; | |||
table.wikitable, | background: #fff5fb !important; | ||
.mw-datatable, | border-left-color: var(--primary-pink) !important; | ||
.faq | padding-left: 8px !important; | ||
background: var(--background-primary) !important; | } | ||
border: 1px solid var(--border-light) !important; | |||
/* [BUTTONS] BUTTONS */ | |||
.mw-ui-button:not(.ve-ui *):not(.oo-ui-window *):not(.mw-editform *):not(.editOptions *):not(.wikiEditor-ui *), | |||
button:not(.nav-tab):not(.ve-ui *):not(.oo-ui-window *):not(.mw-editform *):not(.editOptions *):not(.wikiEditor-ui *) { | |||
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:not(.ve-ui *):not(.oo-ui-window *):not(.mw-editform *):not(.editOptions *):not(.wikiEditor-ui *):hover, | |||
button:not(.nav-tab):not(.ve-ui *):not(.oo-ui-window *):not(.mw-editform *):not(.editOptions *):not(.wikiEditor-ui *):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; | border-radius: var(--border-radius-small) !important; | ||
box-shadow: var(--shadow-light) !important; | box-shadow: var(--shadow-light) !important; | ||
overflow: hidden !important; | overflow: hidden !important; | ||
} | } | ||
table.wikitable th, | table.wikitable th, | ||
.mw-datatable th, | .mw-datatable th, | ||
.faq | .faq-table th { | ||
background: var(--secondary-pink) !important; | background: var(--secondary-pink) !important; | ||
color: var(--text-primary) !important; | color: var(--text-primary) !important; | ||
| Line 799: | Line 870: | ||
padding: var(--spacing-md) !important; | padding: var(--spacing-md) !important; | ||
border-bottom: 2px solid var(--primary-pink) !important; | border-bottom: 2px solid var(--primary-pink) !important; | ||
} | } | ||
table.wikitable td, | table.wikitable td, | ||
.mw-datatable td, | .mw-datatable td, | ||
.faq | .faq-table td { | ||
padding: var(--spacing-md) !important; | padding: var(--spacing-md) !important; | ||
border-bottom: 1px solid var(--border-light) !important; | border-bottom: 1px solid var(--border-light) !important; | ||
} | } | ||
table.wikitable tr:hover, | table.wikitable tr:hover, | ||
.mw-datatable tr:hover, | .mw-datatable tr:hover, | ||
.faq | .faq-table tr:hover { | ||
background: var(--light-pink) !important; | background: var(--light-pink) !important; | ||
} | } | ||
.faq-table | /* 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; | background-color: rgba(255, 107, 157, 0.05) !important; | ||
} | } | ||
.faq | .faq-table tr:hover td { | ||
background-color: rgba(255, 107, 157, 0.1) !important; | 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 */ | |||
border: 2px solid var(-- | .fade-in { | ||
animation: fadeInUp 0.6s ease-out; | |||
padding: var(--spacing-sm | |||
} | } | ||
.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: 1024px) { | |||
:root { | |||
--sidebar-width: 180px; | |||
--content-margin: 200px; | |||
} | |||
body.skin-vector-legacy #content, | |||
body.skin-vector-legacy .mw-body { | |||
margin-right: var(--spacing-md) !important; | |||
padding: var(--spacing-lg) !important; | |||
} | |||
} | } | ||
@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: 768px) { | ||
body.skin-vector-legacy #content, | |||
body.skin-vector-legacy .mw-body { | |||
margin-right: var(--spacing-md) !important; | |||
margin-top: var(--spacing-md) !important; | |||
padding: var(--spacing-lg) !important; | |||
} | |||
} | } | ||
@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; | |||
} | |||
body.skin-vector-legacy #content, | |||
body.skin-vector-legacy .mw-body { | |||
margin-top: var(--spacing-sm) !important; | |||
margin-right: var(--spacing-sm) !important; | |||
margin-bottom: var(--spacing-sm) !important; | |||
padding: var(--spacing-md) !important; | |||
border-radius: var(--border-radius-small) !important; | |||
} | |||
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; | |||
} | |||
} | } | ||
/* | /* [PRINT] PRINT STYLES */ | ||
. | @media print { | ||
body.skin-vector-legacy #mw-panel, | |||
body.skin-vector-legacy #mw-head, | |||
body.skin-vector-legacy .vector-menu-tabs, | |||
body.skin-vector-legacy #footer { | |||
} | display: none !important; | ||
} | |||
body.skin-vector-legacy #content, | |||
body.skin-vector-legacy .mw-body { | |||
margin: 0 !important; | |||
padding: 0 !important; | |||
box-shadow: none !important; | |||
border: none !important; | |||
background: white !important; | |||
} | |||
body { | |||
background: white !important; | |||
} | |||
* { | |||
color: black !important; | |||
} | |||
} | } | ||
. | /* [CHANGELOG-BOX] CHANGELOG BOX STYLES */ | ||
background: | .changelog-box { | ||
border: 1px solid | /* Modern gradient background with subtle pink-to-white transition */ | ||
border-left: | background: linear-gradient(135deg, #ffeef7 0%, #ffffff 50%, #f8f9fa 100%) !important; | ||
/* Generous internal spacing for better readability */ | |||
transition: | 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; | |||
} | } | ||
. | /* Changelog with image layout */ | ||
.changelog-with-image { | |||
display: flex !important; | |||
align-items: center !important; /* Changed from flex-start to center */ | |||
gap: 25px !important; | |||
margin: 25px 0 !important; | |||
} | } | ||
. | .changelog-with-image .changelog-box { | ||
flex: 1 !important; | |||
margin: 0 !important; | |||
} | } | ||
. | .image-container { | ||
background: | background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #ffeef7 100%) !important; | ||
border: 1px solid | border: 1px solid rgba(255, 107, 157, 0.15) !important; | ||
border- | border-radius: 12px !important; | ||
padding: 15px !important; | |||
margin-top: 0 !important; /* Removed margin-top */ | |||
margin-bottom: 12px !important; | |||
box-shadow: 0 2px 10px rgba(255, 107, 157, 0.06) !important; | |||
text-align: center !important; | |||
font-size: 0.9em !important; | |||
line-height: 1.4 !important; | |||
max-width: 100% !important; /* Ensure container doesn't overflow its parent */ | |||
overflow: hidden !important; /* Prevent content from overflowing */ | |||
} | } | ||
. | /* Make images inside image-container responsive */ | ||
.image-container img { | |||
max-width: 100% !important; | |||
height: auto !important; | |||
display: block !important; | |||
margin: 0 auto !important; | |||
} | } | ||
. | .image-container strong { | ||
margin: | color: #2c3e50 !important; | ||
display: block !important; | |||
margin-bottom: 8px !important; | |||
font-size: 1.1em !important; | |||
font-style: italic !important; | |||
} | } | ||
.image-container p { | |||
. | color: #5a6c7d !important; | ||
margin: 0 !important; | |||
font-size: 0.85em !important; | |||
font-style: italic !important; | |||
margin: | |||
} | } | ||
/* Responsive design for changelog with image */ | |||
@media (max-width: 768px) { | |||
.changelog-with-image { | |||
flex-direction: column !important; | |||
align-items: center !important; | |||
gap: 20px !important; | |||
} | |||
.changelog-image { | |||
order: -1 !important; | |||
} | |||
.changelog-image img { | |||
max-width: 150px !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; | |||
border-color: var(--primary-pink); | |||
} | } | ||
. | .mw-redirect { | ||
color: var(--accent-pink) !important; | |||
color: var(-- | |||
} | } | ||
/* [DESTAQUE CARDS] HOLOGRAMSIE SERVICE CARDS */ | |||
.destaques-grid { | |||
display: grid; | |||
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); | |||
gap: 15px; | |||
margin: 30px auto; | |||
padding: 0 20px; | |||
max-width: 1200px; | |||
width: 100%; | |||
} | } | ||
.destaque-card | .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; | display: flex; | ||
flex-direction: column; | |||
align-items: center; | align-items: center; | ||
justify-content: | justify-content: flex-start; | ||
gap: 12px; | |||
position: relative; | |||
overflow: hidden; | |||
cursor: pointer; | |||
} | } | ||
.destaque- | .destaque-card[data-link], | ||
.destaque-card[data-tab-trigger] { | |||
cursor: pointer; | |||
} | } | ||
.destaque- | .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-text h3 { | .destaque-card[data-link] .destaque-text h3, | ||
.destaque-card[data-tab-trigger] .destaque-text h3 { | |||
color: var(--primary-pink); | color: var(--primary-pink); | ||
} | } | ||
.destaque-text | .destaque-card[data-link]:hover .destaque-text h3, | ||
color: var(-- | .destaque-card[data-tab-trigger]:hover .destaque-text h3 { | ||
color: var(--dark-pink); | |||
} | } | ||
.destaque-card | .destaque-card[data-link] *, | ||
.destaque-card[data-tab-trigger] * { | |||
pointer-events: none; | |||
} | } | ||
.destaque- | .destaque-image { | ||
width: 100%; | |||
max-width: 180px; | |||
height: 140px; | |||
overflow: hidden; | |||
border-radius: 12px; | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
} | } | ||
.destaque- | .destaque-image img { | ||
width: 100%; | |||
height: 100%; | |||
border- | object-fit: cover; | ||
border-radius: 10px; | |||
} | } | ||
.destaque-text { | |||
flex: 1; | |||
. | |||
display: flex; | display: flex; | ||
flex-direction: column; | |||
justify-content: center; | justify-content: center; | ||
gap: 10px; | |||
} | } | ||
.destaque-text h3 { | |||
. | color: var(--primary-pink); | ||
margin- | |||
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); | |||
} | |||
} | } | ||
/* Resources Footer Styles */ | |||
.resources-footer { | |||
background-color: #fff; | |||
padding: 2rem; | |||
margin-top: 2rem; | |||
border-top: 1px solid #e0e0e0; | |||
box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05); | |||
} | |||
.resources-footer .section-header { | |||
text-align: center; | |||
margin-bottom: 1.5rem; | |||
} | |||
.resources-footer .info-card { | |||
background-color: #f9f9f9; | |||
border-radius: 10px; | |||
padding: 1.5rem; | |||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); | |||
} | |||
.resources-footer .footer-nav { | |||
display: flex; | |||
justify-content: center; | |||
margin-top: 1.5rem; | |||
} | |||
.resources-footer .back-to-top { | |||
display: inline-block; | |||
padding: 0.5rem 1rem; | |||
background-color: #f0f0f0; | |||
border-radius: 20px; | |||
text-decoration: none; | |||
color: #333; | |||
font-weight: 500; | |||
transition: all 0.2s ease; | |||
} | |||
.resources-footer .back-to-top:hover { | |||
background-color: #e0e0e0; | |||
transform: translateY(-2px); | |||
} | |||
. | /* Guardian Types Styling */ | ||
.guardian-selector { | |||
background: rgba(255, 255, 255, 0.8); | |||
border-radius: 15px; | |||
padding: 25px; | |||
margin-bottom: 30px; | |||
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); | |||
} | } | ||
. | .selector-header { | ||
text-align: center; | |||
margin-bottom: 20px; | |||
} | } | ||
. | .difficulty-slider-container { | ||
margin: 30px 0; | |||
position: relative; | |||
} | } | ||
. | .difficulty-labels { | ||
display: flex; | |||
justify-content: space-between; | |||
margin-bottom: 10px; | |||
} | } | ||
. | .difficulty-labels span { | ||
font-size: 0.9em; | |||
color: #666; | |||
position: relative; | |||
} | } | ||
. | .difficulty-slider { | ||
width: 100%; | |||
height: 10px; | |||
border-radius: 5px; | |||
background: linear-gradient(to right, #4CAF50, #FFC107, #FF9800, #F44336, #9C27B0); | |||
outline: none; | |||
-webkit-appearance: none; | |||
appearance: none; | |||
} | } | ||
. | .difficulty-slider::-webkit-slider-thumb { | ||
-webkit-appearance: none; | |||
appearance: none; | |||
width: 25px; | |||
height: 25px; | |||
border-radius: 50%; | |||
background: #e91e63; | |||
cursor: pointer; | |||
box-shadow: 0 0 10px rgba(233, 30, 99, 0.5); | |||
} | } | ||
. | .difficulty-slider::-moz-range-thumb { | ||
width: 25px; | |||
height: 25px; | |||
border-radius: 50%; | |||
background: #e91e63; | |||
cursor: pointer; | |||
box-shadow: 0 0 10px rgba(233, 30, 99, 0.5); | |||
} | } | ||
. | .guardian-preview-image { | ||
margin: 20px auto; | |||
max-width: 600px; | |||
} | } | ||
/* Comparison Table Styling */ | |||
.guardian-comparison-table-container { | |||
margin: 40px 0; | |||
} | } | ||
. | .comparison-title { | ||
text-align: center; | |||
margin-bottom: 20px; | |||
font-size: 1.8em; | |||
color: #e91e63; | |||
} | } | ||
. | .guardian-comparison-table table { | ||
width: 100%; | |||
border-collapse: collapse; | |||
border-radius: 10px; | |||
overflow: hidden; | |||
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); | |||
} | } | ||
. | .guardian-comparison-table th { | ||
background: linear-gradient(135deg, #ff6b9d, #e91e63); | |||
color: white; | |||
padding: 15px; | |||
text-align: left; | |||
} | } | ||
. | .guardian-comparison-table td { | ||
padding: 15px; | |||
border-bottom: 1px solid #eee; | |||
} | } | ||
. | .guardian-comparison-table tr:last-child td { | ||
border-bottom: none; | |||
} | } | ||
.guardian-comparison-table tr:nth-child(even) { | |||
. | background-color: rgba(255, 255, 255, 0.8); | ||
} | } | ||
. | .guardian-comparison-table tr:nth-child(odd) { | ||
background-color: rgba(248, 248, 248, 0.8); | |||
} | } | ||
. | .difficulty-meter { | ||
height: 10px; | |||
background-color: #eee; | |||
border-radius: 5px; | |||
margin-bottom: 5px; | |||
overflow: hidden; | |||
} | } | ||
. | .difficulty-fill { | ||
height: 100%; | |||
border-radius: 5px; | |||
} | } | ||
. | .regular-row .difficulty-fill { | ||
background-color: #4CAF50; | |||
} | } | ||
. | .mighty-row .difficulty-fill { | ||
background-color: #FFC107; | |||
} | } | ||
.legendary-row .difficulty-fill { | |||
. | background-color: #FF9800; | ||
} | } | ||
. | .superior-row .difficulty-fill { | ||
background-color: #F44336; | |||
} | } | ||
.difficulty- | .accomplished-row .difficulty-fill { | ||
background-color: #9C27B0; | |||
} | } | ||
. | /* Accordion Styling */ | ||
.guardian-types-accordion { | |||
margin: 40px 0; | |||
} | } | ||
. | .detailed-info-title { | ||
text-align: center; | |||
margin-bottom: 10px; | |||
font-size: 1.8em; | |||
color: #e91e63; | |||
} | } | ||
. | .detailed-info-subtitle { | ||
text-align: center; | |||
margin-bottom: 30px; | |||
color: #666; | |||
} | } | ||
. | .guardian-accordion { | ||
background-color: #f8f8f8; | |||
color: #444; | |||
cursor: pointer; | |||
padding: 18px; | |||
width: 100%; | |||
text-align: left; | |||
border: none; | |||
outline: none; | |||
transition: 0.4s; | |||
border-radius: 10px; | |||
margin-bottom: 10px; | |||
font-size: 1.2em; | |||
font-weight: 600; | |||
display: flex; | |||
justify-content: space-between; | |||
align-items: center; | |||
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); | |||
} | } | ||
. | .guardian-accordion:hover { | ||
background-color: #f1f1f1; | |||
} | } | ||
.guardian- | .guardian-accordion.active { | ||
border-radius: 10px 10px 0 0; | |||
margin-bottom: 0; | |||
} | } | ||
.guardian-panel { | |||
.guardian- | padding: 0 18px; | ||
background-color: white; | |||
max-height: 0; | |||
overflow: hidden; | |||
transition: max-height 0.2s ease-out; | |||
border-radius: 0 0 10px 10px; | |||
margin-bottom: 10px; | |||
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); | |||
} | } | ||
. | .guardian-type-detail { | ||
padding: 20px 0; | |||
} | } | ||
. | /* Color coding for accordion buttons */ | ||
.regular-accordion { | |||
border-left: 5px solid #4CAF50; | |||
} | } | ||
. | .mighty-accordion { | ||
border-left: 5px solid #FFC107; | |||
} | } | ||
. | .legendary-accordion { | ||
border-left: 5px solid #FF9800; | |||
} | } | ||
. | .superior-accordion { | ||
border-left: 5px solid #F44336; | |||
} | } | ||
. | .accomplished-accordion { | ||
border-left: 5px solid #9C27B0; | |||
} | } | ||
. | /* Difficulty tags */ | ||
.difficulty-tag { | |||
font-size: 0.7em; | |||
padding: 5px 10px; | |||
border-radius: 20px; | |||
color: white; | |||
} | } | ||
. | .easy-tag { | ||
background-color: #4CAF50; | |||
} | } | ||
. | .moderate-tag { | ||
background-color: #FFC107; | |||
color: #333; | |||
} | } | ||
. | .challenging-tag { | ||
background-color: #FF9800; | |||
} | } | ||
. | .very-hard-tag { | ||
background-color: #F44336; | |||
} | } | ||
. | .extreme-tag { | ||
background-color: #9C27B0; | |||
} | } | ||
. | /* Decision Helper Styling */ | ||
.decision-helper { | |||
background: rgba(255, 255, 255, 0.8); | |||
border-radius: 15px; | |||
padding: 25px; | |||
margin: 40px 0; | |||
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); | |||
text-align: center; | |||
} | } | ||
. | .decision-questions { | ||
margin: 30px 0; | |||
} | } | ||
.decision-question { | |||
. | margin-bottom: 20px; | ||
} | } | ||
. | .decision-options { | ||
display: flex; | |||
flex-wrap: wrap; | |||
justify-content: center; | |||
gap: 10px; | |||
margin-top: 10px; | |||
} | } | ||
. | .option { | ||
padding: 10px 15px; | |||
background-color: #f1f1f1; | |||
border-radius: 20px; | |||
cursor: pointer; | |||
transition: all 0.3s ease; | |||
} | } | ||
. | .option:hover { | ||
background-color: #e0e0e0; | |||
} | } | ||
. | .option.selected { | ||
background-color: #e91e63; | |||
color: white; | |||
} | } | ||
. | .decision-result { | ||
margin-top: 30px; | |||
padding: 15px; | |||
font-size: 1.1em; | |||
font-weight: bold; | |||
} | } | ||
.guardian- | .guardian-accordion.recommended { | ||
background-color: #f8e8ff; | |||
border-left: 5px solid #9c27b0; | |||
animation: pulse 2s infinite; | |||
} | } | ||
. | @keyframes pulse { | ||
0% { box-shadow: 0 0 0 0 rgba(156, 39, 176, 0.4); } | |||
70% { box-shadow: 0 0 0 10px rgba(156, 39, 176, 0); } | |||
100% { box-shadow: 0 0 0 0 rgba(156, 39, 176, 0); } | |||
} | } | ||
#recommendedType { | |||
color: #e91e63; | |||
font-weight: 700; | |||
} | } | ||
. | /* Guardian Decision Helper - Responsive adjustments */ | ||
@media (max-width: 768px) { | |||
} | .guardian-comparison-table th, | ||
.guardian-comparison-table td { | |||
. | padding: 10px; | ||
font-size: 0.9em; | |||
} | |||
.difficulty-labels span { | |||
font-size: 0.8em; | |||
} | |||
.guardian-accordion { | |||
font-size: 1em; | |||
} | |||
} | } | ||
. | /* [RESPONSIVE] DESTAQUES GRID - Mobile & Tablet Breakpoints */ | ||
@media (max-width: 1200px) { | |||
.destaques-grid { | |||
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); | |||
max-width: 960px; | |||
} | |||
} | } | ||
. | @media (max-width: 768px) { | ||
.destaques-grid { | |||
} | grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); | ||
gap: 12px; | |||
padding: 0 15px; | |||
. | max-width: 100%; | ||
} | |||
.destaque-card { | |||
min-height: 220px; | |||
padding: 10px; | |||
} | |||
.destaque-image { | |||
height: 120px; | |||
} | |||
} | } | ||
. | @media (max-width: 480px) { | ||
.destaques-grid { | |||
} | grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); | ||
gap: 10px; | |||
. | padding: 0 10px; | ||
} | |||
} | .destaque-card { | ||
min-height: 200px; | |||
. | padding: 8px; | ||
} | |||
.destaque-image { | |||
height: 100px; | |||
max-width: 140px; | |||
} | |||
.destaque-text p { | |||
font-size: 0.8em; | |||
} | |||
} | } | ||
/* Responsive adjustments for image-container */ | |||
@media screen and (max-width: 768px) { | |||
.image-container { | |||
padding: 10px !important; | |||
margin-bottom: 8px !important; | |||
} | |||
.image-container strong { | |||
/* | font-size: 1em !important; | ||
@media (max-width: 768px) { | |||
.image-container { | |||
padding: 10px !important; | |||
margin-bottom: 8px !important; | |||
} | |||
.image-container strong { | |||
font-size: 1em !important | |||
} | } | ||
. | .image-container p { | ||
font-size: 0.8em; | font-size: 0.8em !important; | ||
} | } | ||
/* Adjust grid layout for better mobile display */ | |||
.info-grid { | |||
grid-template-columns: 1fr !important; | |||
gap: 10px !important; | |||
/* | |||
} | } | ||
} | } | ||
@media screen and (max-width: 480px) { | |||
.image-container { | |||
@media | padding: 8px !important; | ||
margin-bottom: 6px !important; | |||
padding: | |||
} | } | ||
} | } | ||
/* End of | /* End of CSS file - All styles properly closed */ | ||
Revision as of 06:05, 17 September 2025
/* CSS NAVIGATION GUIDE
========================================
QUICK NAVIGATION - Use Ctrl+F to find sections:
1. THEME FOUNDATION
• [VARIABLES] - CSS custom properties & color system
• [GLOBAL] - Base styles & resets
• [MEDIAWIKI] - MediaWiki compatibility layer
2. PAGE STRUCTURE
• [HERO] - Main banner/hero section
• [NAVIGATION] - Enhanced tab navigation with animations
• [CONTENT] - Content sections & animations
• [GRIDS] - Responsive 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
• [DESTAQUE CARDS] - cards with responsive grid
5. UTILITIES & EFFECTS
• [UTILITIES] - Helper classes & effects
• [ANIMATIONS] - Keyframe animations & transitions
• [CHANGELOG-BOX] - Styled changelog containers
6. RESPONSIVE DESIGN
• [RESPONSIVE] - Mobile & tablet breakpoints
• [ACCESSIBILITY] - A11y improvements & focus states
• [PRINT] - Print-friendly styles
RECENT UPDATES:
- Enhanced navigation with shimmer effects and accessibility
- Responsive destaques-grid with mobile optimization
- Improved focus states and ARIA support
- Modern backdrop filters and glass morphism effects
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 fully 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;
}
/* [MEDIAWIKI] MAIN CONTENT CONTAINER - Skin Vector Legacy specific */
body.skin-vector-legacy #content,
body.skin-vector-legacy .mw-body {
border: 1px solid var(--border-light) !important;
border-radius: var(--border-radius) !important;
margin-top: var(--spacing-lg) !important;
margin-bottom: var(--spacing-lg) !important;
margin-right: var(--spacing-lg) !important;
box-shadow: 0 0px 20px rgb(253, 91, 205) !important;
background: linear-gradient(to bottom, rgba(255,255,255,0.5), rgba(255, 205, 233, 0));
}
#content::before,
.mw-body::before {
content: '' !important;
position: absolute !important;
top: -1px !important;
left: -1px !important;
right: -1px !important;
bottom: -1px !important;
background: var(--pink-gradient) !important;
border-radius: var(--border-radius) !important;
z-index: -1 !important;
opacity: 0.1 !important;
}
/* [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: none !important;
}
.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));
animation: fadeInOut 2s ease-in-out infinite;
}
@keyframes fadeInOut {
0% { opacity: 0.6; }
50% { opacity: 1; }
100% { opacity: 0.6; }
}
/* 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.95);
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);
backdrop-filter: blur(10px);
position: relative;
z-index: 10;
}
.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.9);
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;
position: relative;
overflow: hidden;
text-align: center;
font-size: 14px;
line-height: 1.4;
}
.nav-tab::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 107, 157, 0.1), transparent);
transition: left 0.5s ease;
}
.nav-tab:hover::before {
left: 100%;
}
.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:focus {
outline: 2px solid var(--primary-pink);
outline-offset: 2px;
}
.nav-tab.active {
background: linear-gradient(135deg, var(--pink-500), var(--pink-700));
color: #fff;
transform: translateY(-1px);
box-shadow: var(--shadow-pink);
}
.nav-tab.active:hover {
background: linear-gradient(135deg, var(--pink-600), var(--pink-800));
transform: translateY(-3px);
box-shadow: var(--shadow-pink-hover);
}
.nav-tab .short-text {
display: none;
}
.nav-tab .full-text {
display: inline;
}
/* Navigation accessibility improvements */
.nav-tabs[role="tablist"] .nav-tab[role="tab"] {
position: relative;
}
.nav-tabs[role="tablist"] .nav-tab[role="tab"][aria-selected="true"]::after {
content: '';
position: absolute;
bottom: -2px;
left: 50%;
transform: translateX(-50%);
width: 80%;
height: 3px;
background: var(--primary-pink);
border-radius: 2px;
}
/* [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);
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;
font-style: italic;
margin-bottom: var(--spacing-md) !important;
margin-top: var(--spacing-lg) !important;
}
h1,h2 {
background: var(--pink-gradient) !important;
-webkit-background-clip: text !important;
border-bottom: 2px solid var(--pink-500);
background-clip: text !important;
font-size: 2.5em !important;
}
h4 {
font-size: 2em !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 */
/* Content area links - enhanced animation */
#mw-content-text a:not(.ve-ui *):not(.oo-ui-window *):not(.mw-editform *):not(.editOptions *):not(.wikiEditor-ui *) {
color: #9a3b5f !important;
display: inline-block !important;
padding: 2px 4px !important;
border-radius: 10px !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:not(.ve-ui *):not(.oo-ui-window *):not(.mw-editform *):not(.editOptions *):not(.wikiEditor-ui *):hover {
color: var(--primary-pink) !important;
background: #fff5fb !important;
border-left-color: var(--primary-pink) !important;
padding-left: 8px !important;
}
/* [BUTTONS] BUTTONS */
.mw-ui-button:not(.ve-ui *):not(.oo-ui-window *):not(.mw-editform *):not(.editOptions *):not(.wikiEditor-ui *),
button:not(.nav-tab):not(.ve-ui *):not(.oo-ui-window *):not(.mw-editform *):not(.editOptions *):not(.wikiEditor-ui *) {
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:not(.ve-ui *):not(.oo-ui-window *):not(.mw-editform *):not(.editOptions *):not(.wikiEditor-ui *):hover,
button:not(.nav-tab):not(.ve-ui *):not(.oo-ui-window *):not(.mw-editform *):not(.editOptions *):not(.wikiEditor-ui *):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: 1024px) {
:root {
--sidebar-width: 180px;
--content-margin: 200px;
}
body.skin-vector-legacy #content,
body.skin-vector-legacy .mw-body {
margin-right: var(--spacing-md) !important;
padding: var(--spacing-lg) !important;
}
}
@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: 768px) {
body.skin-vector-legacy #content,
body.skin-vector-legacy .mw-body {
margin-right: var(--spacing-md) !important;
margin-top: var(--spacing-md) !important;
padding: var(--spacing-lg) !important;
}
}
@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;
}
body.skin-vector-legacy #content,
body.skin-vector-legacy .mw-body {
margin-top: var(--spacing-sm) !important;
margin-right: var(--spacing-sm) !important;
margin-bottom: var(--spacing-sm) !important;
padding: var(--spacing-md) !important;
border-radius: var(--border-radius-small) !important;
}
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;
}
}
/* [PRINT] PRINT STYLES */
@media print {
body.skin-vector-legacy #mw-panel,
body.skin-vector-legacy #mw-head,
body.skin-vector-legacy .vector-menu-tabs,
body.skin-vector-legacy #footer {
display: none !important;
}
body.skin-vector-legacy #content,
body.skin-vector-legacy .mw-body {
margin: 0 !important;
padding: 0 !important;
box-shadow: none !important;
border: none !important;
background: white !important;
}
body {
background: white !important;
}
* {
color: black !important;
}
}
/* [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;
}
/* Changelog with image layout */
.changelog-with-image {
display: flex !important;
align-items: center !important; /* Changed from flex-start to center */
gap: 25px !important;
margin: 25px 0 !important;
}
.changelog-with-image .changelog-box {
flex: 1 !important;
margin: 0 !important;
}
.image-container {
background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #ffeef7 100%) !important;
border: 1px solid rgba(255, 107, 157, 0.15) !important;
border-radius: 12px !important;
padding: 15px !important;
margin-top: 0 !important; /* Removed margin-top */
margin-bottom: 12px !important;
box-shadow: 0 2px 10px rgba(255, 107, 157, 0.06) !important;
text-align: center !important;
font-size: 0.9em !important;
line-height: 1.4 !important;
max-width: 100% !important; /* Ensure container doesn't overflow its parent */
overflow: hidden !important; /* Prevent content from overflowing */
}
/* Make images inside image-container responsive */
.image-container img {
max-width: 100% !important;
height: auto !important;
display: block !important;
margin: 0 auto !important;
}
.image-container strong {
color: #2c3e50 !important;
display: block !important;
margin-bottom: 8px !important;
font-size: 1.1em !important;
font-style: italic !important;
}
.image-container p {
color: #5a6c7d !important;
margin: 0 !important;
font-size: 0.85em !important;
font-style: italic !important;
}
/* Responsive design for changelog with image */
@media (max-width: 768px) {
.changelog-with-image {
flex-direction: column !important;
align-items: center !important;
gap: 20px !important;
}
.changelog-image {
order: -1 !important;
}
.changelog-image img {
max-width: 150px !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(auto-fit, minmax(200px, 1fr));
gap: 15px;
margin: 30px auto;
padding: 0 20px;
max-width: 1200px;
width: 100%;
}
.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-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);
}
}
/* Resources Footer Styles */
.resources-footer {
background-color: #fff;
padding: 2rem;
margin-top: 2rem;
border-top: 1px solid #e0e0e0;
box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
}
.resources-footer .section-header {
text-align: center;
margin-bottom: 1.5rem;
}
.resources-footer .info-card {
background-color: #f9f9f9;
border-radius: 10px;
padding: 1.5rem;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.resources-footer .footer-nav {
display: flex;
justify-content: center;
margin-top: 1.5rem;
}
.resources-footer .back-to-top {
display: inline-block;
padding: 0.5rem 1rem;
background-color: #f0f0f0;
border-radius: 20px;
text-decoration: none;
color: #333;
font-weight: 500;
transition: all 0.2s ease;
}
.resources-footer .back-to-top:hover {
background-color: #e0e0e0;
transform: translateY(-2px);
}
/* Guardian Types Styling */
.guardian-selector {
background: rgba(255, 255, 255, 0.8);
border-radius: 15px;
padding: 25px;
margin-bottom: 30px;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
.selector-header {
text-align: center;
margin-bottom: 20px;
}
.difficulty-slider-container {
margin: 30px 0;
position: relative;
}
.difficulty-labels {
display: flex;
justify-content: space-between;
margin-bottom: 10px;
}
.difficulty-labels span {
font-size: 0.9em;
color: #666;
position: relative;
}
.difficulty-slider {
width: 100%;
height: 10px;
border-radius: 5px;
background: linear-gradient(to right, #4CAF50, #FFC107, #FF9800, #F44336, #9C27B0);
outline: none;
-webkit-appearance: none;
appearance: none;
}
.difficulty-slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 25px;
height: 25px;
border-radius: 50%;
background: #e91e63;
cursor: pointer;
box-shadow: 0 0 10px rgba(233, 30, 99, 0.5);
}
.difficulty-slider::-moz-range-thumb {
width: 25px;
height: 25px;
border-radius: 50%;
background: #e91e63;
cursor: pointer;
box-shadow: 0 0 10px rgba(233, 30, 99, 0.5);
}
.guardian-preview-image {
margin: 20px auto;
max-width: 600px;
}
/* Comparison Table Styling */
.guardian-comparison-table-container {
margin: 40px 0;
}
.comparison-title {
text-align: center;
margin-bottom: 20px;
font-size: 1.8em;
color: #e91e63;
}
.guardian-comparison-table table {
width: 100%;
border-collapse: collapse;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
.guardian-comparison-table th {
background: linear-gradient(135deg, #ff6b9d, #e91e63);
color: white;
padding: 15px;
text-align: left;
}
.guardian-comparison-table td {
padding: 15px;
border-bottom: 1px solid #eee;
}
.guardian-comparison-table tr:last-child td {
border-bottom: none;
}
.guardian-comparison-table tr:nth-child(even) {
background-color: rgba(255, 255, 255, 0.8);
}
.guardian-comparison-table tr:nth-child(odd) {
background-color: rgba(248, 248, 248, 0.8);
}
.difficulty-meter {
height: 10px;
background-color: #eee;
border-radius: 5px;
margin-bottom: 5px;
overflow: hidden;
}
.difficulty-fill {
height: 100%;
border-radius: 5px;
}
.regular-row .difficulty-fill {
background-color: #4CAF50;
}
.mighty-row .difficulty-fill {
background-color: #FFC107;
}
.legendary-row .difficulty-fill {
background-color: #FF9800;
}
.superior-row .difficulty-fill {
background-color: #F44336;
}
.accomplished-row .difficulty-fill {
background-color: #9C27B0;
}
/* Accordion Styling */
.guardian-types-accordion {
margin: 40px 0;
}
.detailed-info-title {
text-align: center;
margin-bottom: 10px;
font-size: 1.8em;
color: #e91e63;
}
.detailed-info-subtitle {
text-align: center;
margin-bottom: 30px;
color: #666;
}
.guardian-accordion {
background-color: #f8f8f8;
color: #444;
cursor: pointer;
padding: 18px;
width: 100%;
text-align: left;
border: none;
outline: none;
transition: 0.4s;
border-radius: 10px;
margin-bottom: 10px;
font-size: 1.2em;
font-weight: 600;
display: flex;
justify-content: space-between;
align-items: center;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.guardian-accordion:hover {
background-color: #f1f1f1;
}
.guardian-accordion.active {
border-radius: 10px 10px 0 0;
margin-bottom: 0;
}
.guardian-panel {
padding: 0 18px;
background-color: white;
max-height: 0;
overflow: hidden;
transition: max-height 0.2s ease-out;
border-radius: 0 0 10px 10px;
margin-bottom: 10px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.guardian-type-detail {
padding: 20px 0;
}
/* Color coding for accordion buttons */
.regular-accordion {
border-left: 5px solid #4CAF50;
}
.mighty-accordion {
border-left: 5px solid #FFC107;
}
.legendary-accordion {
border-left: 5px solid #FF9800;
}
.superior-accordion {
border-left: 5px solid #F44336;
}
.accomplished-accordion {
border-left: 5px solid #9C27B0;
}
/* Difficulty tags */
.difficulty-tag {
font-size: 0.7em;
padding: 5px 10px;
border-radius: 20px;
color: white;
}
.easy-tag {
background-color: #4CAF50;
}
.moderate-tag {
background-color: #FFC107;
color: #333;
}
.challenging-tag {
background-color: #FF9800;
}
.very-hard-tag {
background-color: #F44336;
}
.extreme-tag {
background-color: #9C27B0;
}
/* Decision Helper Styling */
.decision-helper {
background: rgba(255, 255, 255, 0.8);
border-radius: 15px;
padding: 25px;
margin: 40px 0;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
text-align: center;
}
.decision-questions {
margin: 30px 0;
}
.decision-question {
margin-bottom: 20px;
}
.decision-options {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 10px;
margin-top: 10px;
}
.option {
padding: 10px 15px;
background-color: #f1f1f1;
border-radius: 20px;
cursor: pointer;
transition: all 0.3s ease;
}
.option:hover {
background-color: #e0e0e0;
}
.option.selected {
background-color: #e91e63;
color: white;
}
.decision-result {
margin-top: 30px;
padding: 15px;
font-size: 1.1em;
font-weight: bold;
}
.guardian-accordion.recommended {
background-color: #f8e8ff;
border-left: 5px solid #9c27b0;
animation: pulse 2s infinite;
}
@keyframes pulse {
0% { box-shadow: 0 0 0 0 rgba(156, 39, 176, 0.4); }
70% { box-shadow: 0 0 0 10px rgba(156, 39, 176, 0); }
100% { box-shadow: 0 0 0 0 rgba(156, 39, 176, 0); }
}
#recommendedType {
color: #e91e63;
font-weight: 700;
}
/* Guardian Decision Helper - Responsive adjustments */
@media (max-width: 768px) {
.guardian-comparison-table th,
.guardian-comparison-table td {
padding: 10px;
font-size: 0.9em;
}
.difficulty-labels span {
font-size: 0.8em;
}
.guardian-accordion {
font-size: 1em;
}
}
/* [RESPONSIVE] DESTAQUES GRID - Mobile & Tablet Breakpoints */
@media (max-width: 1200px) {
.destaques-grid {
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
max-width: 960px;
}
}
@media (max-width: 768px) {
.destaques-grid {
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
gap: 12px;
padding: 0 15px;
max-width: 100%;
}
.destaque-card {
min-height: 220px;
padding: 10px;
}
.destaque-image {
height: 120px;
}
}
@media (max-width: 480px) {
.destaques-grid {
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
gap: 10px;
padding: 0 10px;
}
.destaque-card {
min-height: 200px;
padding: 8px;
}
.destaque-image {
height: 100px;
max-width: 140px;
}
.destaque-text p {
font-size: 0.8em;
}
}
/* Responsive adjustments for image-container */
@media screen and (max-width: 768px) {
.image-container {
padding: 10px !important;
margin-bottom: 8px !important;
}
.image-container strong {
font-size: 1em !important;
}
.image-container p {
font-size: 0.8em !important;
}
/* Adjust grid layout for better mobile display */
.info-grid {
grid-template-columns: 1fr !important;
gap: 10px !important;
}
}
@media screen and (max-width: 480px) {
.image-container {
padding: 8px !important;
margin-bottom: 6px !important;
}
}
/* End of CSS file - All styles properly closed */