Module:GameInfo/styles.css: Difference between revisions
From SpiritVale Wiki
More actions
No edit summary Tags: Mobile edit Mobile web edit |
No edit summary Tags: Mobile edit Mobile web edit |
||
| Line 1: | Line 1: | ||
/* Module:GameInfo/styles.css */ | /* Module:GameInfo/styles.css */ | ||
/* NOTE (ownership) | /* NOTE (ownership) | ||
-------------------------------------------------------------------------- | -------------------------------------------------------------------------- | ||
| Line 389: | Line 386: | ||
} | } | ||
/* | /* ========================================================================== | ||
7) SKILL SCALING | |||
========================================================================== */ | |||
.sv_skill_scaling { | .sv_skill_scaling { | ||
| Line 413: | Line 412: | ||
} | } | ||
/* | /* Two columns (left cluster, right core); mobile stacks */ | ||
.sv_skill_scaling__body { | .sv_skill_scaling__body { | ||
display: grid; | display: grid; | ||
| Line 427: | Line 426: | ||
} | } | ||
/* Left cluster (damage + attributes) centered as a unit */ | |||
.sv_skill_scaling__cluster { | .sv_skill_scaling__cluster { | ||
grid-column: 1; | grid-column: 1; | ||
| Line 432: | Line 432: | ||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
justify-content: | justify-content: center; | ||
gap: | align-content: center; | ||
gap: 14px; | |||
flex-wrap: wrap; | flex-wrap: wrap; | ||
width: 100%; | |||
min-width: 0; | min-width: 0; | ||
} | } | ||
| Line 460: | Line 462: | ||
flex-direction: column; | flex-direction: column; | ||
justify-content: center; | justify-content: center; | ||
align-items: | align-items: center; | ||
text-align: | text-align: center; | ||
} | } | ||
| Line 468: | Line 470: | ||
overflow-wrap: anywhere; | overflow-wrap: anywhere; | ||
font-weight: 900; | font-weight: 900; | ||
font-size: 34px; | font-size: 34px; | ||
line-height: 0.95; | line-height: 0.95; | ||
letter-spacing: -0.50px; | letter-spacing: -0.50px; | ||
| Line 484: | Line 486: | ||
} | } | ||
/* | /* Attributes (2×3) */ | ||
.sv_skill_scaling__stats-grid { | .sv_skill_scaling__stats-grid { | ||
display: grid; | display: grid; | ||
| Line 533: | Line 535: | ||
} | } | ||
/* Stat chips | /* Stat chips (fixed size across all viewports) */ | ||
.sv_skill_scaling__stat-pill { | .sv_skill_scaling__stat-pill { | ||
border-radius: 999px; | border-radius: 999px; | ||
| Line 539: | Line 541: | ||
min-width: 50px; | min-width: 50px; | ||
min-height: 22px; | min-height: 22px; | ||
padding: 4px 6px; | padding: 4px 6px; | ||
display: inline-flex; | |||
display: inline-flex; | |||
align-items: center; | align-items: center; | ||
justify-content: center; | justify-content: center; | ||
| Line 559: | Line 560: | ||
align-items: center; | align-items: center; | ||
justify-content: center; | justify-content: center; | ||
gap: 6px; | gap: 6px; | ||
} | } | ||
| Line 774: | Line 775: | ||
} | } | ||
/* | /* Scaling responsive (no stat pill size changes) */ | ||
@media (max-width:850px) { | @media (max-width:850px) { | ||
.sv_skill_scaling__body { | .sv_skill_scaling__body { | ||
| Line 782: | Line 783: | ||
.sv_skill_scaling__primary-value { | .sv_skill_scaling__primary-value { | ||
font-size: 32px; | font-size: 32px; | ||
} | } | ||
| Line 844: | Line 826: | ||
.sv_skill_scaling__primary-value { | .sv_skill_scaling__primary-value { | ||
font-size: 30px; | font-size: 30px; | ||
} | } | ||
| Line 886: | Line 849: | ||
.sv_skill_scaling__primary-value { | .sv_skill_scaling__primary-value { | ||
font-size: 28px; | font-size: 28px; | ||
} | } | ||
| Line 911: | Line 855: | ||
} | } | ||
} | } | ||
/* ========================================================================== | /* ========================================================================== | ||
8) TAB PANELS AND CONTENT BLOCKS | 8) TAB PANELS AND CONTENT BLOCKS | ||
========================================================================== */ | ========================================================================== */ | ||
| Line 1,092: | Line 1,036: | ||
.sv-skill-card .sv-ref-grid { | .sv-skill-card .sv-ref-grid { | ||
grid-template-columns: 1fr; | grid-template-columns: 1fr; | ||
} | } | ||
} | } | ||
| Line 1,145: | Line 1,068: | ||
} | } | ||
.sv-gi-card .sv-reqrow, | .sv-gi-card .sv-reqrow, | ||
.sv-skill-card .sv-reqrow { | .sv-skill-card .sv-reqrow { | ||
| Line 1,158: | Line 1,080: | ||
} | } | ||
.sv-skill-card .sv-skill-meta, | .sv-skill-card .sv-skill-meta, | ||
.sv-gi-card .sv-skill-meta { | .sv-gi-card .sv-skill-meta { | ||
| Line 1,203: | Line 1,124: | ||
} | } | ||
.sv-skill-card .sv-skill-meta .sv-pill, | .sv-skill-card .sv-skill-meta .sv-pill, | ||
.sv-gi-card .sv-skill-meta .sv-pill { | .sv-gi-card .sv-skill-meta .sv-pill { | ||
| Line 1,266: | Line 1,139: | ||
flex: 1 1 100%; | flex: 1 1 100%; | ||
max-width: 100%; | max-width: 100%; | ||
} | } | ||
} | } | ||