MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
/* CSS | /* ======================================== | ||
NEWCORA WIKI THEME - OPTIMIZED CSS | |||
======================================== | ======================================== | ||
NAVIGATION GUIDE: | |||
• [VARIABLES] - CSS custom properties & design tokens | |||
• [GLOBAL] - Base styles & resets | |||
• [MEDIAWIKI] - MediaWiki compatibility | |||
• [LAYOUT] - Page structure & containers | |||
• [COMPONENTS] - UI components (buttons, cards, etc.) | |||
• [NAVIGATION] - Tab system & menus | |||
• [TYPOGRAPHY] - Text styling | |||
• [TABLES] - Table styling | |||
• [FORMS] - Form elements | |||
• [UTILITIES] - Helper classes | |||
• [ANIMATIONS] - Keyframes & transitions | |||
• [RESPONSIVE] - Media queries | |||
• [ACCESSIBILITY] - A11y improvements | |||
• [PRINT] - Print styles | |||
======================================== */ | ======================================== */ | ||
/* [VARIABLES] | /* [VARIABLES] CSS CUSTOM PROPERTIES | ||
======================================== */ | ======================================== */ | ||
:root { | :root { | ||
/* | /* Brand Colors - Pink Palette */ | ||
--primary-pink: #ff6b9d; | --primary-pink: #ff6b9d; | ||
--secondary-pink: #ffc3e0; | --secondary-pink: #ffc3e0; | ||
| Line 64: | Line 30: | ||
--light-pink: #fff0f7; | --light-pink: #fff0f7; | ||
--dark-pink: #d63384; | --dark-pink: #d63384; | ||
/* | /* Extended Pink Scale */ | ||
--pink-50: #fff0f6; | --pink-50: #fff0f6; | ||
--pink-100: #ffd9e9; | --pink-100: #ffd9e9; | ||
| Line 81: | Line 43: | ||
--pink-900: #8d1c4b; | --pink-900: #8d1c4b; | ||
/* | /* Gradients & Effects */ | ||
--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); | |||
/* Neutral Colors */ | |||
--text-primary: #2d2d2d; | --text-primary: #2d2d2d; | ||
--text-secondary: #666666; | --text-secondary: #666666; | ||
| Line 88: | Line 56: | ||
--ink-700: #444; | --ink-700: #444; | ||
--ink-500: #666; | --ink-500: #666; | ||
/* Background Colors */ | |||
--background-primary: #ffffff; | --background-primary: #ffffff; | ||
--background-secondary: #fafafa; | --background-secondary: #fafafa; | ||
--background-tertiary: #f5f5f5; | --background-tertiary: #f5f5f5; | ||
--surface: #ffffff; | --surface: #ffffff; | ||
/* Border Colors */ | |||
--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 */ | ||
--container-max: 1200px; | --container-max: 1200px; | ||
/* Border Radius */ | |||
--border-radius: 12px; | --border-radius: 12px; | ||
--border-radius-small: 8px; | --border-radius-small: 8px; | ||
| Line 105: | Line 77: | ||
--radius-md: 14px; | --radius-md: 14px; | ||
--radius-sm: 10px; | --radius-sm: 10px; | ||
/* Spacing Scale */ | |||
--spacing-xs: 4px; | --spacing-xs: 4px; | ||
--spacing-sm: 8px; | --spacing-sm: 8px; | ||
| Line 111: | Line 85: | ||
--spacing-xl: 32px; | --spacing-xl: 32px; | ||
/* | /* Shadows */ | ||
--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 118: | Line 92: | ||
--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); | ||
/* Effects */ | |||
--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 127: | Line 103: | ||
/* [GLOBAL] BASE STYLES & RESETS | /* [GLOBAL] BASE STYLES & RESETS | ||
======================================== */ | ======================================== */ | ||
* { | * { | ||
| Line 150: | Line 123: | ||
} | } | ||
/* [MEDIAWIKI] COMPATIBILITY | /* [MEDIAWIKI] COMPATIBILITY LAYER | ||
======================================== */ | |||
.mw-page-scope { | .mw-page-scope { | ||
padding: 16px; | padding: 16px; | ||
} | } | ||
.utility-banner { | .utility-banner { | ||
position: relative; | position: relative; | ||
| Line 167: | Line 140: | ||
} | } | ||
/* | /* MediaWiki Main Content */ | ||
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 | margin: var(--spacing-lg) var(--spacing-lg) var(--spacing-lg) 0 !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 183: | Line 154: | ||
content: '' !important; | content: '' !important; | ||
position: absolute !important; | position: absolute !important; | ||
inset: -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 193: | Line 161: | ||
} | } | ||
/* [ | /* [LAYOUT] PAGE STRUCTURE | ||
======================================== */ | |||
.hero { | .hero { | ||
background: rgba(255,255,255,0.85); | background: rgba(255,255,255,0.85); | ||
| Line 216: | Line 185: | ||
-webkit-background-clip: text; | -webkit-background-clip: text; | ||
background-clip: text; | background-clip: text; | ||
-webkit-text-fill-color: | -webkit-text-fill-color: transparent !important; | ||
} | } | ||
| Line 235: | Line 204: | ||
} | } | ||
.content { | |||
0 | 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; | |||
} | } | ||
/* | /* [COMPONENTS] UI COMPONENTS | ||
======================================== */ | |||
/* Info Boxes */ | |||
.tip-box { | .tip-box { | ||
background-color: rgba(144, 238, 144, 0.2); | background-color: rgba(144, 238, 144, 0.2); | ||
| Line 259: | Line 243: | ||
} | } | ||
.warning-box { | .warning-box { | ||
background-color: rgba(255, 165, 0, 0.2); | background-color: rgba(255, 165, 0, 0.2); | ||
| Line 277: | Line 260: | ||
} | } | ||
/* | /* Cards */ | ||
. | .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; | |||
border: | padding: 0; | ||
border-radius: var(--radius- | } | ||
.card:hover { | |||
transform: translateY(-3px); | |||
box-shadow: var(--shadow); | 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; | |||
} | } | ||
. | /* 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)); | background: linear-gradient(135deg, var(--pink-500), var(--pink-700)); | ||
color: | color: white; | ||
border-radius: 50%; | |||
box-shadow: | display: flex; | ||
align-items: center; | |||
justify-content: center; | |||
font-weight: bold; | |||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); | |||
} | } | ||
. | /* 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; | |||
background: | |||
} | } | ||
/* | /* Changelog Box */ | ||
. | .changelog-box { | ||
background: linear-gradient(135deg, #ffeef7 0%, #ffffff 50%, #f8f9fa 100%) !important; | |||
margin: 0 | padding: 25px 30px !important; | ||
border-radius: 16px !important; | |||
border: 1px solid rgba(255, 107, 157, 0.15) !important; | |||
border-left: 5px solid #ff6b9d !important; | |||
box-shadow: 0 4px 20px rgba(255, 107, 157, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04) !important; | |||
margin: 25px 0 !important; | |||
transition: all 0.3s ease !important; | |||
font-size: 1.05em !important; | |||
line-height: 1.6 !important; | |||
color: #2c3e50 !important; | |||
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 { | ||
display: | display: flex !important; | ||
align-items: center !important; | |||
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-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; | |||
overflow: hidden !important; | |||
} | } | ||
. | .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; | |||
color: | |||
display: | |||
font- | |||
} | } | ||
.image-container p { | |||
. | color: #5a6c7d !important; | ||
color: | margin: 0 !important; | ||
font-size: 0.85em !important; | |||
font-style: italic !important; | |||
} | } | ||
. | /* Collapsible Elements */ | ||
.mw-body .collapsible, | |||
#content .collapsible, | |||
#mw-content-text .collapsible, | |||
button.collapsible { | |||
font-size: 0. | 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, | |||
margin- | #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; | |||
margin: | padding: 18px; | ||
border: 1px solid #ddd; | |||
border-top: none; | |||
margin-bottom: 15px; | |||
} | } | ||
/* | /* [NAVIGATION] TAB 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); | border-radius: var(--radius-md); | ||
font-weight: 700; | |||
transition: transform .2s ease, box-shadow .2s ease, background | 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); | ||
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; | ||
display: | |||
} | } | ||
. | /* Navigation accessibility */ | ||
.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; | |||
} | } | ||
. | /* Nested Tabs */ | ||
.nested-tabs { | |||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 8px; | |||
align-items: center; | |||
justify-content: center; | |||
background: rgba(255,255,255,0.85); | |||
border: 1px solid rgba(255, 111, 163, 0.18); | |||
border-radius: var(--radius-md); | |||
max-width: var(--container-max); | |||
margin: 16px auto; | |||
padding: 8px; | |||
box-shadow: var(--shadow-light); | box-shadow: var(--shadow-light); | ||
} | } | ||
. | .nested-tab { | ||
appearance: none; | |||
padding-left: | border: 0; | ||
cursor: pointer; | |||
padding: 8px 12px; | |||
border-radius: var(--radius-sm); | |||
font-weight: 600; | |||
color: var(--ink-700); | |||
background: rgba(255,255,255,0.9); | |||
border: 1px solid transparent; | |||
border-left: 2px solid transparent; | |||
min-width: 100px; | |||
flex: 1 1 auto; | |||
transition: all .2s ease; | |||
position: relative; | |||
overflow: hidden; | |||
text-align: center; | |||
font-size: 13px; | |||
line-height: 1.4; | |||
} | } | ||
. | .nested-tab:hover { | ||
transform: translateY(-1px); | |||
box-shadow: var(--shadow-light); | |||
color: var(--pink-900); | |||
box-shadow: var(--shadow); | |||
background: #fff5fb; | background: #fff5fb; | ||
border-left-color: var(--primary-pink); | border-left-color: var(--primary-pink); | ||
} | } | ||
. | .nested-tab.active { | ||
background: linear-gradient(135deg, var(--pink-300), var(--pink-500)); | |||
color: #fff; | |||
transform: translateY(-1px); | |||
box-shadow: var(--shadow-light); | |||
} | } | ||
. | .nested-content { | ||
display: none; | |||
padding: 16px; | |||
background: rgba(255,255,255,0.95); | |||
border-radius: var(--radius-md); | |||
margin-top: 8px; | |||
border: 1px solid rgba(255, 111, 163, 0.1); | |||
} | } | ||
.nested-content.active { | |||
. | display: block; | ||
display: | animation: fadeIn .25s ease; | ||
} | } | ||
/* [TYPOGRAPHY] TEXT STYLING | |||
======================================== */ | |||
h1, h2, h3, h4, h5, h6 { | |||
font-weight: 700; | 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; | |||
background: | font-size: 2.5em !important; | ||
} | } | ||
h4 { | |||
font-size: 2em !important; | |||
} | } | ||
. | .section-header { | ||
text-align: center; | |||
margin-bottom: clamp(12px, 2.5vw, 24px); | |||
} | } | ||
.section-header h2 { | |||
margin: 0; | |||
font-size: clamp(20px, 3vw, 28px); | |||
font- | 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); | |||
font-size: | |||
} | } | ||
/* Links */ | |||
#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; | |||
} | } | ||
. | .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); | |||
} | } | ||
.mw- | .mw-link-internal { | ||
color: var(--primary-pink) !important; | |||
text-decoration: none !important; | |||
transition: var(--transition-normal) !important; | |||
border-bottom: 1px dotted transparent !important; | |||
} | } | ||
.mw- | .mw-link-internal:hover { | ||
color: var(--dark-pink) !important; | |||
border-bottom-color: var(--primary-pink) !important; | |||
} | } | ||
.mw-redirect { | |||
color: var(--accent-pink) !important; | |||
color: | |||
} | } | ||
/* [TABLES] TABLE STYLING | |||
======================================== */ | |||
table.wikitable, | |||
.mw-datatable, | |||
.faq-table, | |||
.daily-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; | |||
width: 100%; | |||
max-width: 100%; | |||
border-collapse: collapse; | |||
margin: 16px 0; | |||
table-layout: auto; | |||
word-wrap: break-word; | |||
} | } | ||
table.wikitable th, | |||
.mw-datatable th, | |||
.faq-table th, | |||
.daily-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; | |||
text-align: left; | |||
word-wrap: break-word; | |||
hyphens: auto; | |||
} | |||
table.wikitable td, | |||
.mw- | .mw-datatable td, | ||
.faq-table td, | |||
.daily-table td { | |||
padding: var(--spacing-md) !important; | |||
border-bottom: 1px solid var(--border-light) !important; | |||
border- | word-wrap: break-word; | ||
hyphens: auto; | |||
min-width: 0; | |||
} | } | ||
. | table.wikitable tr:hover, | ||
.mw-datatable tr:hover, | |||
.faq-table tr:hover, | |||
.daily-table tr:hover { | |||
background: var(--light-pink) !important; | |||
} | } | ||
.faq-table tr:nth-child(odd) td, | |||
.daily-table tr:nth-child(odd) { | |||
background-color: rgba(255, 107, 157, 0.05) !important; | |||
.faq-table | |||
} | } | ||
.faq-table tr:hover td, | |||
.daily-table tr:hover td { | |||
. | background-color: rgba(255, 107, 157, 0.1) !important; | ||
background | |||
} | } | ||
table | .daily-table img { | ||
max-width: 100px; | |||
height: auto; | |||
display: block; | |||
margin: 0 auto; | |||
} | } | ||
table.wikitable | /* Responsive table behavior - natural adaptation first, scroll as fallback */ | ||
.mw-datatable | @media (max-width: 768px) { | ||
.faq-table | table.wikitable, | ||
.mw-datatable, | |||
.faq-table, | |||
.daily-table { | |||
font-size: 0.9em; | |||
} | |||
table.wikitable th, | |||
.mw-datatable th, | |||
.faq-table th, | |||
.daily-table th { | |||
padding: var(--spacing-sm) !important; | |||
} | |||
table.wikitable td, | |||
.mw-datatable td, | |||
.faq-table td, | |||
.daily-table td { | |||
padding: var(--spacing-sm) !important; | |||
} | |||
} | } | ||
/* | /* Horizontal scroll only for very small screens */ | ||
.faq-table { | @media (max-width: 550px) { | ||
.table-container { | |||
width: 100%; | |||
overflow-x: auto; | |||
margin: 16px 0; | |||
-webkit-overflow-scrolling: touch; | |||
} | |||
.table-container table.wikitable, | |||
.table-container .mw-datatable, | |||
.table-container .faq-table, | |||
.table-container .daily-table { | |||
min-width: 400px; | |||
margin: 0; | |||
} | |||
.table-container::-webkit-scrollbar { | |||
height: 6px; | |||
} | |||
.table-container::-webkit-scrollbar-track { | |||
background: #f1f1f1; | |||
border-radius: 3px; | |||
} | |||
.table-container::-webkit-scrollbar-thumb { | |||
background: var(--primary-pink); | |||
border-radius: 3px; | |||
} | |||
.table-container::-webkit-scrollbar-thumb:hover { | |||
background: var(--dark-pink); | |||
} | |||
} | } | ||
/* [FORMS] FORM ELEMENTS | |||
======================================== */ | |||
/* [FORMS] FORM ELEMENTS */ | |||
input[type="text"], | input[type="text"], | ||
input[type="search"], | input[type="search"], | ||
| Line 920: | Line 921: | ||
} | } | ||
/* | /* Buttons */ | ||
.mw- | .mw-ui-button:not(.ve-ui *):not(.oo-ui-window *):not(.mw-editform *):not(.editOptions *):not(.wikiEditor-ui *), | ||
color: var(-- | button:not(.nav-tab):not(.ve-ui *):not(.oo-ui-window *):not(.mw-editform *):not(.editOptions *):not(.wikiEditor-ui *) { | ||
font- | 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- | .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; | |||
} | } | ||
.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)); | |||
} | } | ||
. | .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; | |||
} | } | ||
/* [ | /* [UTILITIES] HELPER 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; | |||
} | } | ||
.inline-list { | |||
list-style: none; | |||
padding: 0; | |||
margin: 0; | |||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 8px 14px; | |||
} | } | ||
.inline-list li { | |||
white-space: nowrap; | |||
} | } | ||
/* Grid Layouts */ | |||
: | .highlights-grid { | ||
display: grid; | |||
grid-template-columns: repeat(6, 1fr); | |||
gap: clamp(10px, 2vw, 16px); | |||
margin: 1rem 0; | |||
} | } | ||
.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); | |||
} | } | ||
.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; | |||
} | } | ||
. | /* Destaques Grid */ | ||
.destaques-grid { | |||
display: grid; | |||
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); | |||
gap: 15px; | |||
margin | 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; | |||
display: | 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) | 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%; | 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-radius: | object-fit: cover; | ||
border-radius: 10px; | |||
} | |||
.destaque-text { | |||
flex: 1; | |||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
justify-content: center; | |||
justify-content: | gap: 10px; | ||
gap: | |||
} | } | ||
.destaque- | .destaque-text h3 { | ||
color: var(--primary-pink); | |||
font-weight: bold; | |||
margin: 0; | |||
line-height: 1.2; | |||
} | } | ||
.destaque- | .destaque-text p { | ||
color: var(--primary-pink); | |||
font-size: 0.9em; | |||
line-height: 1.4; | |||
margin: 0; | |||
opacity: 0.8; | |||
} | } | ||
.destaque-card | .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 | .destaque-card:hover::before { | ||
opacity: 0.1; | |||
} | } | ||
.destaque-card | .destaque-card:hover { | ||
transform: translateY(-5px); | |||
box-shadow: 0 8px 30px rgba(255, 107, 157, 0.2); | |||
border-color: var(--primary-pink); | |||
} | } | ||
. | |||
.tab-footer { | |||
display: flex; | display: flex; | ||
justify-content: center; | justify-content: center; | ||
margin-top: clamp(12px, 2.5vw, 24px); | |||
} | } | ||
. | /* Guide Styles */ | ||
.guide-intro { | |||
margin-bottom: 2rem; | |||
} | } | ||
. | .guide-card { | ||
background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.7)); | |||
border-radius: var(--radius-md); | |||
padding: 1.5rem; | |||
box-shadow: var(--shadow); | |||
border: 1px solid rgba(255, 111, 163, 0.2); | |||
transition: transform 0.3s ease, box-shadow 0.3s ease; | |||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
align-items: center; | |||
text-align: center; | |||
grid-column: span 2; | |||
} | |||
.guide-card:hover { | |||
transform: translateY(-5px); | |||
box-shadow: var(--shadow-hover); | |||
} | |||
.guide-card-icon { | |||
width: 80px; | |||
height: 80px; | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | justify-content: center; | ||
margin-bottom: 1rem; | |||
} | } | ||
. | .guide-card-icon img { | ||
max-width: 100%; | |||
max-height: 100%; | |||
} | } | ||
. | .guide-section { | ||
margin-bottom: 3rem; | |||
background: rgba(255,255,255,0.8); | |||
border-radius: var(--radius-lg); | |||
padding: 2rem; | |||
box-shadow: var(--shadow); | |||
border: 1px solid rgba(255, 111, 163, 0.15); | |||
} | } | ||
. | .guide-section-title { | ||
color: var(--pink-900); | |||
font-size: clamp(18px, 2.5vw, 24px); | |||
margin-bottom: 1.5rem; | |||
padding-bottom: 0.5rem; | |||
border-bottom: 2px solid var(--pink-300); | |||
} | } | ||
. | .guide-content { | ||
display: grid; | |||
grid-template-columns: 1fr 1fr; | |||
gap: 2rem; | |||
align-items: start; | |||
} | } | ||
. | .guide-content.full-width { | ||
grid-template-columns: 1fr; | |||
} | } | ||
.guide-image { | |||
display: flex; | |||
flex-direction: column; | |||
align-items: center; | |||
} | |||
} | |||
.guide-image img { | |||
max-width: 100%; | |||
border-radius: var(--radius-md); | |||
box-shadow: var(--shadow); | |||
} | } | ||
.image-caption { | |||
margin-top: 0.5rem; | |||
font-size: 0.9rem; | |||
color: var(--ink-500); | |||
text-align: center; | |||
} | } | ||
.guide-text { | |||
. | color: var(--ink-700); | ||
} | } | ||
. | .guide-list { | ||
padding-left: 1.5rem; | |||
margin: 1rem 0; | |||
} | } | ||
. | .guide-list li { | ||
margin-bottom: 0.5rem; | |||
} | } | ||
. | .info-box, .cta-box { | ||
padding: 1.5rem; | |||
border-radius: var(--radius-md); | |||
margin: 1.5rem 0; | |||
} | } | ||
. | .info-box { | ||
background: rgba(236, 239, 255, 0.8); | |||
border-left: 4px solid var(--blue-500); | |||
} | } | ||
. | .cta-box { | ||
background: linear-gradient(135deg, rgba(255, 236, 246, 0.9), rgba(255, 245, 250, 0.9)); | |||
border: 1px solid var(--pink-300); | |||
text-align: center; | |||
padding: 2rem; | |||
} | } | ||
. | .cta-box h4 { | ||
color: var(--pink-900); | |||
margin-top: 0; | |||
} | } | ||
. | .exchange-grid { | ||
display: grid; | |||
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); | |||
gap: 1.5rem; | |||
margin: 1.5rem 0; | |||
} | } | ||
. | .exchange-card { | ||
background: rgba(255, 255, 255, 0.7); | |||
border-radius: var(--radius-md); | |||
padding: 1.5rem; | |||
box-shadow: var(--shadow); | |||
border: 1px solid rgba(255, 111, 163, 0.15); | |||
transition: transform 0.3s ease; | |||
} | } | ||
.exchange-card:hover { | |||
. | transform: translateY(-3px); | ||
} | } | ||
. | .exchange-card h4 { | ||
color: var(--pink-900); | |||
margin-top: 0; | |||
margin-bottom: 1rem; | |||
padding-bottom: 0.5rem; | |||
border-bottom: 1px solid var(--pink-200); | |||
} | } | ||
. | /* Resources Footer */ | ||
.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- | .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- | .guardian-comparison-table th { | ||
background: linear-gradient(135deg, #ff6b9d, #e91e63); | |||
color: white; | |||
padding: 15px; | |||
text-align: left; | |||
} | } | ||
.guardian- | .guardian-comparison-table td { | ||
padding: 15px; | |||
border-bottom: 1px solid #eee; | |||
} | } | ||
.guardian- | .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 { | |||
.difficulty- | 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; | |||
} | } | ||
@media | .decision-result { | ||
.image-container { | margin-top: 30px; | ||
padding: 8px !important; | padding: 15px; | ||
font-size: 1.1em; | |||
font-weight: bold; | |||
} | |||
.guardian-accordion.recommended { | |||
background-color: #f8e8ff; | |||
border-left: 5px solid #9c27b0; | |||
animation: pulse 2s infinite; | |||
} | |||
#recommendedType { | |||
color: #e91e63; | |||
font-weight: 700; | |||
} | |||
/* 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; | |||
} | |||
/* [ANIMATIONS] KEYFRAMES | |||
======================================== */ | |||
@keyframes fadeIn { | |||
from { | |||
opacity: 0; | |||
transform: translateY(8px); | |||
} | |||
to { | |||
opacity: 1; | |||
transform: translateY(0); | |||
} | |||
} | |||
@keyframes fadeInOut { | |||
0% { opacity: 0.6; } | |||
50% { opacity: 1; } | |||
100% { opacity: 0.6; } | |||
} | |||
@keyframes fadeInUp { | |||
from { | |||
opacity: 0; | |||
transform: translateY(20px); | |||
} | |||
to { | |||
opacity: 1; | |||
transform: translateY(0); | |||
} | |||
} | |||
@keyframes pulse { | |||
0%, 100% { | |||
opacity: 1; | |||
} | |||
50% { | |||
opacity: 0.7; | |||
} | |||
} | |||
/* [RESPONSIVE] MEDIA QUERIES | |||
======================================== */ | |||
@media (max-width: 1200px) { | |||
.highlights-grid { | |||
grid-template-columns: repeat(3, 1fr); | |||
} | |||
.destaques-grid { | |||
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); | |||
max-width: 960px; | |||
} | |||
} | |||
@media (max-width: 1024px) { | |||
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; | |||
} | |||
.guide-content { | |||
grid-template-columns: 1fr; | |||
} | |||
.guide-card { | |||
grid-column: span 3; | |||
} | |||
.exchange-grid { | |||
grid-template-columns: 1fr; | |||
} | |||
.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; | |||
} | |||
.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; | |||
} | |||
.image-container { | |||
padding: 10px !important; | |||
margin-bottom: 8px !important; | |||
} | |||
.image-container strong { | |||
font-size: 1em !important; | |||
} | |||
.image-container p { | |||
font-size: 0.8em !important; | |||
} | |||
.info-grid { | |||
grid-template-columns: 1fr !important; | |||
gap: 10px !important; | |||
} | |||
.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; | |||
} | |||
.nested-tabs { | |||
flex-direction: row; | |||
flex-wrap: wrap; | |||
} | |||
.nested-tab { | |||
flex: 1 1 calc(33.33% - 8px); | |||
min-width: calc(33.33% - 8px); | |||
} | |||
} | |||
@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; | |||
} | |||
.nested-tab { | |||
flex: 1 1 calc(50% - 8px); | |||
min-width: calc(50% - 8px); | |||
} | |||
.daily-table { | |||
display: block; | |||
overflow-x: auto; | |||
} | |||
} | |||
@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; | |||
} | |||
.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; | |||
} | |||
.image-container { | |||
padding: 8px !important; | |||
margin-bottom: 6px !important; | margin-bottom: 6px !important; | ||
} | } | ||
} | } | ||
/* End of CSS file | /* [ACCESSIBILITY] A11Y 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; | |||
} | |||
} | |||
/* End of optimized CSS file */ | |||
Revision as of 05:56, 17 September 2025
/* ========================================
NEWCORA WIKI THEME - OPTIMIZED CSS
========================================
NAVIGATION GUIDE:
• [VARIABLES] - CSS custom properties & design tokens
• [GLOBAL] - Base styles & resets
• [MEDIAWIKI] - MediaWiki compatibility
• [LAYOUT] - Page structure & containers
• [COMPONENTS] - UI components (buttons, cards, etc.)
• [NAVIGATION] - Tab system & menus
• [TYPOGRAPHY] - Text styling
• [TABLES] - Table styling
• [FORMS] - Form elements
• [UTILITIES] - Helper classes
• [ANIMATIONS] - Keyframes & transitions
• [RESPONSIVE] - Media queries
• [ACCESSIBILITY] - A11y improvements
• [PRINT] - Print styles
======================================== */
/* [VARIABLES] CSS CUSTOM PROPERTIES
======================================== */
:root {
/* Brand Colors - Pink Palette */
--primary-pink: #ff6b9d;
--secondary-pink: #ffc3e0;
--accent-pink: #ff8fb0;
--light-pink: #fff0f7;
--dark-pink: #d63384;
/* Extended 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;
/* Gradients & Effects */
--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);
/* Neutral Colors */
--text-primary: #2d2d2d;
--text-secondary: #666666;
--text-muted: #999999;
--ink-900: #222;
--ink-700: #444;
--ink-500: #666;
/* Background Colors */
--background-primary: #ffffff;
--background-secondary: #fafafa;
--background-tertiary: #f5f5f5;
--surface: #ffffff;
/* Border Colors */
--border-color: #e0e0e0;
--border-light: #f0f0f0;
--border: rgba(0,0,0,0.08);
/* Layout Variables */
--container-max: 1200px;
/* Border Radius */
--border-radius: 12px;
--border-radius-small: 8px;
--radius-lg: 20px;
--radius-md: 14px;
--radius-sm: 10px;
/* Spacing Scale */
--spacing-xs: 4px;
--spacing-sm: 8px;
--spacing-md: 16px;
--spacing-lg: 24px;
--spacing-xl: 32px;
/* Shadows */
--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);
/* Effects */
--blur-glass: blur(10px);
/* Transitions */
--transition-fast: 0.15s ease;
--transition-normal: 0.3s ease;
--transition-slow: 0.5s ease;
}
/* [GLOBAL] BASE STYLES & RESETS
======================================== */
* {
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 LAYER
======================================== */
.mw-page-scope {
padding: 16px;
}
.utility-banner {
position: relative;
min-height: 48px;
}
.utility-banner > * {
position: absolute;
top: 0;
right: 8px;
}
/* MediaWiki Main Content */
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: var(--spacing-lg) var(--spacing-lg) var(--spacing-lg) 0 !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;
inset: -1px !important;
background: var(--pink-gradient) !important;
border-radius: var(--border-radius) !important;
z-index: -1 !important;
opacity: 0.1 !important;
}
/* [LAYOUT] PAGE STRUCTURE
======================================== */
.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 !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;
}
.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;
}
/* [COMPONENTS] UI COMPONENTS
======================================== */
/* Info Boxes */
.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 {
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;
}
/* Cards */
.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;
}
/* 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);
}
/* 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;
}
/* Changelog Box */
.changelog-box {
background: linear-gradient(135deg, #ffeef7 0%, #ffffff 50%, #f8f9fa 100%) !important;
padding: 25px 30px !important;
border-radius: 16px !important;
border: 1px solid rgba(255, 107, 157, 0.15) !important;
border-left: 5px solid #ff6b9d !important;
box-shadow: 0 4px 20px rgba(255, 107, 157, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04) !important;
margin: 25px 0 !important;
transition: all 0.3s ease !important;
font-size: 1.05em !important;
line-height: 1.6 !important;
color: #2c3e50 !important;
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 {
display: flex !important;
align-items: center !important;
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-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;
overflow: hidden !important;
}
.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;
}
/* Collapsible Elements */
.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;
}
/* [NAVIGATION] TAB 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 */
.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;
}
/* Nested Tabs */
.nested-tabs {
display: flex;
flex-wrap: wrap;
gap: 8px;
align-items: center;
justify-content: center;
background: rgba(255,255,255,0.85);
border: 1px solid rgba(255, 111, 163, 0.18);
border-radius: var(--radius-md);
max-width: var(--container-max);
margin: 16px auto;
padding: 8px;
box-shadow: var(--shadow-light);
}
.nested-tab {
appearance: none;
border: 0;
cursor: pointer;
padding: 8px 12px;
border-radius: var(--radius-sm);
font-weight: 600;
color: var(--ink-700);
background: rgba(255,255,255,0.9);
border: 1px solid transparent;
border-left: 2px solid transparent;
min-width: 100px;
flex: 1 1 auto;
transition: all .2s ease;
position: relative;
overflow: hidden;
text-align: center;
font-size: 13px;
line-height: 1.4;
}
.nested-tab:hover {
transform: translateY(-1px);
box-shadow: var(--shadow-light);
color: var(--pink-900);
background: #fff5fb;
border-left-color: var(--primary-pink);
}
.nested-tab.active {
background: linear-gradient(135deg, var(--pink-300), var(--pink-500));
color: #fff;
transform: translateY(-1px);
box-shadow: var(--shadow-light);
}
.nested-content {
display: none;
padding: 16px;
background: rgba(255,255,255,0.95);
border-radius: var(--radius-md);
margin-top: 8px;
border: 1px solid rgba(255, 111, 163, 0.1);
}
.nested-content.active {
display: block;
animation: fadeIn .25s ease;
}
/* [TYPOGRAPHY] TEXT STYLING
======================================== */
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;
}
.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);
}
/* Links */
#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;
}
.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);
}
.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;
}
/* [TABLES] TABLE STYLING
======================================== */
table.wikitable,
.mw-datatable,
.faq-table,
.daily-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;
width: 100%;
max-width: 100%;
border-collapse: collapse;
margin: 16px 0;
table-layout: auto;
word-wrap: break-word;
}
table.wikitable th,
.mw-datatable th,
.faq-table th,
.daily-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;
text-align: left;
word-wrap: break-word;
hyphens: auto;
}
table.wikitable td,
.mw-datatable td,
.faq-table td,
.daily-table td {
padding: var(--spacing-md) !important;
border-bottom: 1px solid var(--border-light) !important;
word-wrap: break-word;
hyphens: auto;
min-width: 0;
}
table.wikitable tr:hover,
.mw-datatable tr:hover,
.faq-table tr:hover,
.daily-table tr:hover {
background: var(--light-pink) !important;
}
.faq-table tr:nth-child(odd) td,
.daily-table tr:nth-child(odd) {
background-color: rgba(255, 107, 157, 0.05) !important;
}
.faq-table tr:hover td,
.daily-table tr:hover td {
background-color: rgba(255, 107, 157, 0.1) !important;
}
.daily-table img {
max-width: 100px;
height: auto;
display: block;
margin: 0 auto;
}
/* Responsive table behavior - natural adaptation first, scroll as fallback */
@media (max-width: 768px) {
table.wikitable,
.mw-datatable,
.faq-table,
.daily-table {
font-size: 0.9em;
}
table.wikitable th,
.mw-datatable th,
.faq-table th,
.daily-table th {
padding: var(--spacing-sm) !important;
}
table.wikitable td,
.mw-datatable td,
.faq-table td,
.daily-table td {
padding: var(--spacing-sm) !important;
}
}
/* Horizontal scroll only for very small screens */
@media (max-width: 550px) {
.table-container {
width: 100%;
overflow-x: auto;
margin: 16px 0;
-webkit-overflow-scrolling: touch;
}
.table-container table.wikitable,
.table-container .mw-datatable,
.table-container .faq-table,
.table-container .daily-table {
min-width: 400px;
margin: 0;
}
.table-container::-webkit-scrollbar {
height: 6px;
}
.table-container::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 3px;
}
.table-container::-webkit-scrollbar-thumb {
background: var(--primary-pink);
border-radius: 3px;
}
.table-container::-webkit-scrollbar-thumb:hover {
background: var(--dark-pink);
}
}
/* [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;
}
/* 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;
}
.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));
}
.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;
}
/* [UTILITIES] HELPER 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;
}
.inline-list {
list-style: none;
padding: 0;
margin: 0;
display: flex;
flex-wrap: wrap;
gap: 8px 14px;
}
.inline-list li {
white-space: nowrap;
}
/* Grid Layouts */
.highlights-grid {
display: grid;
grid-template-columns: repeat(6, 1fr);
gap: clamp(10px, 2vw, 16px);
margin: 1rem 0;
}
.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);
}
.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;
}
/* Destaques Grid */
.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);
}
.tab-footer {
display: flex;
justify-content: center;
margin-top: clamp(12px, 2.5vw, 24px);
}
/* Guide Styles */
.guide-intro {
margin-bottom: 2rem;
}
.guide-card {
background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.7));
border-radius: var(--radius-md);
padding: 1.5rem;
box-shadow: var(--shadow);
border: 1px solid rgba(255, 111, 163, 0.2);
transition: transform 0.3s ease, box-shadow 0.3s ease;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
grid-column: span 2;
}
.guide-card:hover {
transform: translateY(-5px);
box-shadow: var(--shadow-hover);
}
.guide-card-icon {
width: 80px;
height: 80px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 1rem;
}
.guide-card-icon img {
max-width: 100%;
max-height: 100%;
}
.guide-section {
margin-bottom: 3rem;
background: rgba(255,255,255,0.8);
border-radius: var(--radius-lg);
padding: 2rem;
box-shadow: var(--shadow);
border: 1px solid rgba(255, 111, 163, 0.15);
}
.guide-section-title {
color: var(--pink-900);
font-size: clamp(18px, 2.5vw, 24px);
margin-bottom: 1.5rem;
padding-bottom: 0.5rem;
border-bottom: 2px solid var(--pink-300);
}
.guide-content {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2rem;
align-items: start;
}
.guide-content.full-width {
grid-template-columns: 1fr;
}
.guide-image {
display: flex;
flex-direction: column;
align-items: center;
}
.guide-image img {
max-width: 100%;
border-radius: var(--radius-md);
box-shadow: var(--shadow);
}
.image-caption {
margin-top: 0.5rem;
font-size: 0.9rem;
color: var(--ink-500);
text-align: center;
}
.guide-text {
color: var(--ink-700);
}
.guide-list {
padding-left: 1.5rem;
margin: 1rem 0;
}
.guide-list li {
margin-bottom: 0.5rem;
}
.info-box, .cta-box {
padding: 1.5rem;
border-radius: var(--radius-md);
margin: 1.5rem 0;
}
.info-box {
background: rgba(236, 239, 255, 0.8);
border-left: 4px solid var(--blue-500);
}
.cta-box {
background: linear-gradient(135deg, rgba(255, 236, 246, 0.9), rgba(255, 245, 250, 0.9));
border: 1px solid var(--pink-300);
text-align: center;
padding: 2rem;
}
.cta-box h4 {
color: var(--pink-900);
margin-top: 0;
}
.exchange-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
gap: 1.5rem;
margin: 1.5rem 0;
}
.exchange-card {
background: rgba(255, 255, 255, 0.7);
border-radius: var(--radius-md);
padding: 1.5rem;
box-shadow: var(--shadow);
border: 1px solid rgba(255, 111, 163, 0.15);
transition: transform 0.3s ease;
}
.exchange-card:hover {
transform: translateY(-3px);
}
.exchange-card h4 {
color: var(--pink-900);
margin-top: 0;
margin-bottom: 1rem;
padding-bottom: 0.5rem;
border-bottom: 1px solid var(--pink-200);
}
/* Resources Footer */
.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;
}
#recommendedType {
color: #e91e63;
font-weight: 700;
}
/* 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;
}
/* [ANIMATIONS] KEYFRAMES
======================================== */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(8px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes fadeInOut {
0% { opacity: 0.6; }
50% { opacity: 1; }
100% { opacity: 0.6; }
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes pulse {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0.7;
}
}
/* [RESPONSIVE] MEDIA QUERIES
======================================== */
@media (max-width: 1200px) {
.highlights-grid {
grid-template-columns: repeat(3, 1fr);
}
.destaques-grid {
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
max-width: 960px;
}
}
@media (max-width: 1024px) {
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;
}
.guide-content {
grid-template-columns: 1fr;
}
.guide-card {
grid-column: span 3;
}
.exchange-grid {
grid-template-columns: 1fr;
}
.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;
}
.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;
}
.image-container {
padding: 10px !important;
margin-bottom: 8px !important;
}
.image-container strong {
font-size: 1em !important;
}
.image-container p {
font-size: 0.8em !important;
}
.info-grid {
grid-template-columns: 1fr !important;
gap: 10px !important;
}
.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;
}
.nested-tabs {
flex-direction: row;
flex-wrap: wrap;
}
.nested-tab {
flex: 1 1 calc(33.33% - 8px);
min-width: calc(33.33% - 8px);
}
}
@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;
}
.nested-tab {
flex: 1 1 calc(50% - 8px);
min-width: calc(50% - 8px);
}
.daily-table {
display: block;
overflow-x: auto;
}
}
@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;
}
.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;
}
.image-container {
padding: 8px !important;
margin-bottom: 6px !important;
}
}
/* [ACCESSIBILITY] A11Y 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;
}
}
/* End of optimized CSS file */