MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary Tags: Mobile edit Mobile web edit |
No edit summary Tags: Mobile edit Mobile web edit |
||
| Line 1: | Line 1: | ||
/* ============================================================ | /* ============================================================================ | ||
SpiritVale Wiki | SpiritVale Wiki — Common.css | ||
============================================================ */ | Sitewide base + shared SpiritVale components (all skins) | ||
- No Citizen skin selectors | |||
- No mobile-only (@media max-width:500) rules (those live in Mobile.css) | |||
============================================================================ */ | |||
/* | /* ---------------------------------------------------------------------------- | ||
1) SpiritVale tokens (fallback defaults) | |||
- | - Citizen.css exports will override these where appropriate. | ||
---------------------------------------------------------------------------- */ | |||
/* ------------------------------------------------------------ | :root { | ||
/* SV UI tokens (fallback) */ | |||
--------------------------------------------------------- */ | --sv-ui-bg0: #0f172a; | ||
--sv-ui-bg1: #1f2937; | |||
--sv-ui-bg2: #273449; | |||
--sv-ui-bg3: #2e3f59; | |||
--sv-ui-line1: #3b4b63; | |||
--sv-ui-line2: #4b6388; | |||
--sv-ui-text1: #f5f9ff; | |||
--sv-ui-text2: #d7e2f4; | |||
--sv-ui-text3: #b6c6e0; | |||
--sv-ui-accent: #6aa6ff; | |||
--sv-ui-accent2: #8cbcff; | |||
--sv-ui-rad-sm: 10px; | |||
--sv-ui-rad-md: 14px; | |||
--sv-ui-rad-lg: 18px; | |||
--sv-ui-rad-pill: 999px; | |||
--sv-ui-shadow1: 0 10px 28px rgba(0, 0, 0, 0.40); | |||
/* Legacy hero infobox variables (mapped to SV UI tokens) */ | |||
--sv-skill-width: 660px; | |||
--sv-passive-width: 540px; | |||
--sv-base: var(--sv-ui-bg0); | |||
--sv-surface: var(--sv-ui-bg2); | |||
--sv-card-border: var(--sv-ui-line1); | |||
--sv-row-border: var(--sv-ui-line1); | |||
--sv-gridline: var(--sv-ui-line2); | |||
--sv-pill: var(--sv-ui-bg3); | |||
--sv-pill-a: var(--sv-ui-bg3); | |||
--sv-pill-b: var(--sv-ui-bg3); | |||
--sv-text-soft: var(--sv-ui-text1); | |||
--sv-text-outline: 0 1px 0 rgba(0,0,0,0.55), | |||
0 -1px 0 rgba(0,0,0,0.55), | |||
1px 0 0 rgba(0,0,0,0.55), | |||
-1px 0 0 rgba(0,0,0,0.55); | |||
} | |||
/* If other skins use mw-theme-light, keep SV modules consistent */ | |||
.mw-theme-light { | |||
--sv-ui-bg0: #1f2937; | |||
--sv-ui-bg1: #273449; | |||
--sv-ui-bg2: #2e3f59; | |||
--sv-ui-bg3: #364a69; | |||
--sv-ui-line1: #4b6388; | |||
--sv-ui-line2: #5f7fb4; | |||
--sv-ui-text1: #f5f9ff; | |||
--sv-ui-text2: #d7e2f4; | |||
--sv-ui-text3: #b6c6e0; | |||
--sv-ui-accent: #8cbcff; | |||
--sv-ui-accent2: #b0d0ff; | |||
--sv-base: var(--sv-ui-bg0); | |||
--sv-surface: var(--sv-ui-bg2); | |||
--sv-card-border: var(--sv-ui-line1); | |||
--sv-row-border: var(--sv-ui-line1); | |||
--sv-gridline: var(--sv-ui-line2); | |||
--sv-pill: var(--sv-ui-bg3); | |||
--sv-pill-a: var(--sv-ui-bg3); | |||
--sv-pill-b: var(--sv-ui-bg3); | |||
--sv-text-soft: var(--sv-ui-text1); | |||
} | |||
/* ---------------------------------------------------------------------------- | |||
2) Sitewide link visibility (prefer skin vars, fallback to SV vars) | |||
---------------------------------------------------------------------------- */ | |||
.mw-parser-output a { | |||
color: var(--color-link, var(--sv-ui-accent)); | |||
text-decoration: underline; | |||
text-decoration-thickness: 2px; | |||
text-underline-offset: 2px; | |||
} | |||
.mw-parser-output a:visited { | |||
color: var(--color-visited, var(--sv-ui-accent2)); | |||
} | |||
.mw-parser-output a:hover { | |||
text-decoration-thickness: 3px; | |||
} | |||
.mw-parser-output a:focus-visible { | |||
outline: 2px solid var(--sv-ui-accent2); | |||
outline-offset: 2px; | |||
border-radius: 6px; | |||
} | |||
/* ---------------------------------------------------------------------------- | |||
3) Shared primitives (opt-in for new modules) | |||
---------------------------------------------------------------------------- */ | |||
.mw-parser-output .sv-card { | |||
background: var(--sv-ui-bg1); | |||
border: 1px solid var(--sv-ui-line1); | |||
border-radius: var(--sv-ui-rad-md); | |||
box-shadow: var(--sv-ui-shadow1); | |||
color: var(--color-base, var(--sv-ui-text2)); | |||
} | |||
.mw-parser-output .sv-card :where(h1,h2,h3,h4,h5,h6,th,summary,.mw-headline) { | |||
color: var(--color-emphasized, var(--sv-ui-text1)); | |||
} | |||
.mw-parser-output .sv-tile { | |||
background: var(--sv-ui-bg2); | |||
border: 1px solid var(--sv-ui-line2); | |||
border-radius: var(--sv-ui-rad-sm); | |||
color: var(--color-emphasized, var(--sv-ui-text1)); | |||
} | |||
.mw-parser-output .sv-pill { | |||
display: inline-flex; | |||
align-items: center; | |||
justify-content: center; | |||
padding: 0.18em 0.40em; | |||
border-radius: var(--sv-ui-rad-sm); | |||
background: var(--sv-ui-bg3); | |||
border: 1px solid var(--sv-ui-line2); | |||
color: var(--color-emphasized, var(--sv-ui-text1)); | |||
font-weight: 800; | |||
text-transform: uppercase; | |||
letter-spacing: 0.03em; | |||
font-size: 0.72em; | |||
line-height: 1.15; | |||
white-space: nowrap; | |||
} | |||
.mw-parser-output .sv-focus-ring:focus-visible { | |||
outline: 2px solid var(--sv-ui-accent2); | |||
outline-offset: 2px; | |||
border-radius: 8px; | |||
} | |||
/* ---------------------------------------------------------------------------- | |||
4) Legacy safety blocks (kept, but unified to tokens) | |||
---------------------------------------------------------------------------- */ | |||
.mw-parser-output .playtest-info-box { | .mw-parser-output .playtest-info-box { | ||
max-width: 100%; | max-width: 100%; | ||
margin: 0 0 10px 0; | margin: 0 0 10px 0; | ||
border: 1px solid | |||
border-radius: | border: 1px solid var(--sv-ui-line1); | ||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0. | border-radius: var(--sv-ui-rad-md); | ||
background: | |||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.10); | |||
background: var(--sv-ui-bg1); | |||
padding: 10px; | padding: 10px; | ||
text-align: center; | text-align: center; | ||
color: | |||
color: var(--color-base, var(--sv-ui-text2)); | |||
overflow-wrap: anywhere; | overflow-wrap: anywhere; | ||
word-break: break-word; | word-break: break-word; | ||
| Line 30: | Line 186: | ||
max-width: 100%; | max-width: 100%; | ||
margin: 1px; | margin: 1px; | ||
border: 2px solid | |||
border-radius: | border: 2px solid var(--sv-ui-line2); | ||
border-radius: var(--sv-ui-rad-lg); | |||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25); | box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25); | ||
background: | background: var(--sv-ui-bg1); | ||
} | } | ||
.mw-parser-output .header-container-middle { | .mw-parser-output .header-container-middle { | ||
background: | background: var(--sv-ui-bg1); | ||
text-align: center; | text-align: center; | ||
padding: 1px; | padding: 1px; | ||
border-radius: | border-radius: calc(var(--sv-ui-rad-lg) - 2px); | ||
overflow-wrap: anywhere; | overflow-wrap: anywhere; | ||
word-break: break-word; | word-break: break-word; | ||
| Line 47: | Line 204: | ||
.mw-parser-output .header-container-inner { | .mw-parser-output .header-container-inner { | ||
background: linear-gradient(180deg, | background: linear-gradient(180deg, var(--sv-ui-bg3), var(--sv-ui-bg2)); | ||
color: | color: var(--sv-ui-text1); | ||
text-align: center; | text-align: center; | ||
padding: 1px; | padding: 1px; | ||
border-radius: | border-radius: calc(var(--sv-ui-rad-lg) - 2px); | ||
overflow-wrap: anywhere; | overflow-wrap: anywhere; | ||
word-break: break-word; | word-break: break-word; | ||
| Line 59: | Line 216: | ||
.mw-parser-output table.custom-table { | .mw-parser-output table.custom-table { | ||
float: none; | float: none; | ||
border: 2px solid | |||
border-radius: | border: 2px solid var(--sv-ui-line2); | ||
border-radius: var(--sv-ui-rad-lg); | |||
padding: 2px; | padding: 2px; | ||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25); | box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25); | ||
margin: 1em auto; | margin: 1em auto; | ||
text-align: center; | text-align: center; | ||
border-collapse: separate; | border-collapse: separate; | ||
border-spacing: 0; | border-spacing: 0; | ||
overflow: hidden; | overflow: hidden; | ||
-webkit-user-select: text; | -webkit-user-select: text; | ||
user-select: text; | user-select: text; | ||
background: var(--sv-ui-bg1); | |||
color: var(--color-base, var(--sv-ui-text2)); | |||
} | } | ||
.mw-parser-output table.custom-table > tbody > tr:nth-child(1) > th { | .mw-parser-output table.custom-table > tbody > tr:nth-child(1) > th, | ||
background: linear-gradient(180deg, | .mw-parser-output table.custom-table > tbody > tr.middle-header > th { | ||
color: | background: linear-gradient(180deg, var(--sv-ui-bg3), var(--sv-ui-bg2)); | ||
color: var(--sv-ui-text1); | |||
text-align: center; | text-align: center; | ||
padding: 6px; | padding: 6px; | ||
border-top-left-radius: 8px; | border-top-left-radius: 8px; | ||
border-top-right-radius: 8px; | border-top-right-radius: 8px; | ||
| Line 84: | Line 249: | ||
} | } | ||
.mw-parser-output table.custom-table > tbody > tr:nth-child( | .mw-parser-output table.custom-table > tbody > tr:nth-child(1) > th { | ||
font-size: 120%; | |||
} | } | ||
.mw-parser-output table.custom-table > tbody > tr.middle-header > th { | .mw-parser-output table.custom-table > tbody > tr.middle-header > th { | ||
font-size: 110%; | font-size: 110%; | ||
} | } | ||
.mw-parser-output table.custom-table > tbody > tr:nth-child(2) > th, | |||
. | .mw-parser-output table.custom-table > tbody > tr > td { | ||
text-align: center; | |||
padding: 4px; | |||
border-bottom: 1px solid var(--sv-ui-line1); | |||
} | } | ||
/* ---------------------------------------------------------------------------- | |||
5) Hero Infobox System (Skills + Passives) — legacy table infobox | |||
---------------------------------------------------------------------------- */ | |||
/* ------------------------------------------------- | |||
/* Base infobox */ | /* Base infobox */ | ||
| Line 141: | Line 273: | ||
border-collapse: separate; | border-collapse: separate; | ||
border-spacing: 0; | border-spacing: 0; | ||
width: 100%; | width: 100%; | ||
margin: 1.25em auto; | margin: 1.25em auto; | ||
border-radius: | |||
border-radius: var(--sv-ui-rad-lg); | |||
overflow: hidden; | overflow: hidden; | ||
border: 1px solid var(--sv-card-border); | border: 1px solid var(--sv-card-border); | ||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45); | box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45); | ||
font-size: 0.95em; | font-size: 0.95em; | ||
background: var(--sv-base); | background: var(--sv-base); | ||
color: var(--sv-ui-text1); | |||
} | } | ||
| Line 180: | Line 317: | ||
table.spiritvale-passive-infobox > tbody > tr:nth-child(odd) > td, | table.spiritvale-passive-infobox > tbody > tr:nth-child(odd) > td, | ||
table.spiritvale-passive-infobox > tbody > tr:nth-child(odd) > th:not(.spiritvale-infobox-section-header) { | table.spiritvale-passive-infobox > tbody > tr:nth-child(odd) > th:not(.spiritvale-infobox-section-header) { | ||
background-color: | background-color: var(--sv-ui-bg1); | ||
} | } | ||
| Line 193: | Line 330: | ||
table.spiritvale-passive-infobox > tbody > tr.sv-hero-desc-row > td { | table.spiritvale-passive-infobox > tbody > tr.sv-hero-desc-row > td { | ||
background: var(--sv-base); | background: var(--sv-base); | ||
color: | color: var(--sv-ui-text1); | ||
padding: 0.9em 1.1em; | padding: 0.9em 1.1em; | ||
text-align: center; | text-align: center; | ||
| Line 199: | Line 336: | ||
} | } | ||
table.spiritvale-skill-infobox > tbody > tr.sv-hero-title-row | table.spiritvale-skill-infobox > tbody > tr.sv-hero-title-row, | ||
table.spiritvale-passive-infobox > tbody > tr.sv-hero-title-row { | table.spiritvale-passive-infobox > tbody > tr.sv-hero-title-row { | ||
border-bottom: none !important; | border-bottom: none !important; | ||
} | } | ||
table.spiritvale-skill-infobox > tbody > tr.sv-hero-title-row > th, | |||
table.spiritvale-passive-infobox > tbody > tr.sv-hero-title-row > th { | table.spiritvale-passive-infobox > tbody > tr.sv-hero-title-row > th { | ||
padding-bottom: 0.55em; | padding-bottom: 0.55em; | ||
} | } | ||
table.spiritvale-skill-infobox > tbody > tr.sv-hero-desc-row > td, | |||
table.spiritvale-passive-infobox > tbody > tr.sv-hero-desc-row > td { | table.spiritvale-passive-infobox > tbody > tr.sv-hero-desc-row > td { | ||
padding: 0.55em 1.1em; | padding: 0.55em 1.1em; | ||
| Line 268: | Line 396: | ||
padding: 0 !important; | padding: 0 !important; | ||
background: var(--sv-base) !important; | background: var(--sv-base) !important; | ||
color: | color: var(--sv-ui-text1); | ||
} | } | ||
| Line 276: | Line 404: | ||
grid-auto-flow: row dense; | grid-auto-flow: row dense; | ||
gap: 0.55em; | gap: 0.55em; | ||
width: 100%; | width: 100%; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
background: var(--sv-base); | background: var(--sv-base); | ||
padding: 0.80em; | padding: 0.80em; | ||
| Line 286: | Line 416: | ||
display: flex; | display: flex; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
background: var(--sv-surface) !important; | background: var(--sv-surface) !important; | ||
color: | color: var(--sv-ui-text1) !important; | ||
border: 1px solid var(--sv-gridline); | border: 1px solid var(--sv-gridline); | ||
border-radius: | border-radius: var(--sv-ui-rad-md); | ||
} | } | ||
| Line 303: | Line 435: | ||
width: 100%; | width: 100%; | ||
height: 100%; | height: 100%; | ||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
justify-content: center; | justify-content: center; | ||
text-align: center; | text-align: center; | ||
padding: 0.85em; | padding: 0.85em; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
} | } | ||
/* Hero bar layout */ | |||
:is(table.spiritvale-skill-infobox, table.spiritvale-passive-infobox) .sv-herobar-1-wrap { | :is(table.spiritvale-skill-infobox, table.spiritvale-passive-infobox) .sv-herobar-1-wrap { | ||
display: flex; | display: flex; | ||
| Line 325: | Line 460: | ||
vertical-align: middle; | vertical-align: middle; | ||
} | } | ||
/* Tooltip scopes + triggers (legacy infobox only) */ | /* Tooltip scopes + triggers (legacy infobox only) */ | ||
:is(table.spiritvale-skill-infobox, table.spiritvale-passive-infobox) .sv-tip-content { display: none; } | :is(table.spiritvale-skill-infobox, table.spiritvale-passive-infobox) .sv-tip-content { | ||
display: none; | |||
} | |||
:is(table.spiritvale-skill-infobox, table.spiritvale-passive-infobox) .sv-tip-pop { | :is(table.spiritvale-skill-infobox, table.spiritvale-passive-infobox) .sv-tip-pop { | ||
position: fixed; | position: fixed; | ||
z-index: 99999; | z-index: 99999; | ||
max-width: min(380px, calc(100vw - 16px)); | max-width: min(380px, calc(100vw - 16px)); | ||
max-height: 60vh; | max-height: 60vh; | ||
overflow: auto; | overflow: auto; | ||
padding: 10px 12px; | padding: 10px 12px; | ||
border-radius: | |||
border: 1px solid | border-radius: var(--sv-ui-rad-md); | ||
background: | border: 1px solid var(--sv-ui-line2); | ||
color: | |||
box-shadow: 0 10px 30px rgba(0,0,0,.35); | background: var(--sv-ui-bg0); | ||
color: var(--sv-ui-text1); | |||
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); | |||
font-size: 13px; | font-size: 13px; | ||
line-height: 1.35; | line-height: 1.35; | ||
| Line 365: | Line 501: | ||
display: block; | display: block; | ||
margin-bottom: 2px; | margin-bottom: 2px; | ||
opacity: .95; | opacity: 0.95; | ||
} | } | ||
:is(table.spiritvale-skill-infobox, table.spiritvale-passive-infobox) .sv-tip-scope { position: relative; } | :is(table.spiritvale-skill-infobox, table.spiritvale-passive-infobox) .sv-tip-scope { | ||
position: relative; | |||
} | |||
:is(table.spiritvale-skill-infobox, table.spiritvale-passive-infobox) .sv-tip-btn { | :is(table.spiritvale-skill-infobox, table.spiritvale-passive-infobox) .sv-tip-btn { | ||
| Line 380: | Line 518: | ||
:is(table.spiritvale-skill-infobox, table.spiritvale-passive-infobox) .sv-tip-btn:focus-visible { | :is(table.spiritvale-skill-infobox, table.spiritvale-passive-infobox) .sv-tip-btn:focus-visible { | ||
outline: 2px solid rgba(255,255,255,.25); | outline: 2px solid rgba(255, 255, 255, 0.25); | ||
outline-offset: 2px; | outline-offset: 2px; | ||
} | } | ||
/* Module: icon + name layout */ | |||
:is(table.spiritvale-skill-infobox, table.spiritvale-passive-infobox) .module-icon-name .sv-herobar-1-wrap { | :is(table.spiritvale-skill-infobox, table.spiritvale-passive-infobox) .module-icon-name .sv-herobar-1-wrap { | ||
display: grid; | display: grid; | ||
| Line 399: | Line 538: | ||
width: 80px; | width: 80px; | ||
height: 80px; | height: 80px; | ||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
justify-content: center; | justify-content: center; | ||
line-height: 0; | line-height: 0; | ||
} | } | ||
| Line 416: | Line 557: | ||
grid-column: 2; | grid-column: 2; | ||
grid-row: 1; | grid-row: 1; | ||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
| Line 435: | Line 577: | ||
} | } | ||
/* Notes button: solid (no transparency) */ | |||
:is(table.spiritvale-skill-infobox, table.spiritvale-passive-infobox) .module-icon-name .sv-tip-btn--notes { | :is(table.spiritvale-skill-infobox, table.spiritvale-passive-infobox) .module-icon-name .sv-tip-btn--notes { | ||
display: inline-flex; | display: inline-flex; | ||
align-items: center; | align-items: center; | ||
justify-content: center; | justify-content: center; | ||
min-width: 30px; | min-width: 30px; | ||
height: 30px; | height: 30px; | ||
border-radius: | |||
border: 1px solid | border-radius: var(--sv-ui-rad-pill); | ||
background: | border: 1px solid var(--sv-ui-line2); | ||
background: var(--sv-ui-bg2); | |||
cursor: pointer; | cursor: pointer; | ||
} | } | ||
:is(table.spiritvale-skill-infobox, table.spiritvale-passive-infobox) .module-icon-name .sv-tip-btn--notes:hover { | :is(table.spiritvale-skill-infobox, table.spiritvale-passive-infobox) .module-icon-name .sv-tip-btn--notes:hover { | ||
background: | background: var(--sv-ui-bg3); | ||
} | } | ||
:is(table.spiritvale-skill-infobox, table.spiritvale-passive-infobox) .module-icon-name .sv-tip-btn--notes:focus-visible { | :is(table.spiritvale-skill-infobox, table.spiritvale-passive-infobox) .module-icon-name .sv-tip-btn--notes:focus-visible { | ||
outline: 2px solid rgba(255,255,255,.28); | outline: 2px solid rgba(255, 255, 255, 0.28); | ||
outline-offset: 2px; | outline-offset: 2px; | ||
} | } | ||
| Line 459: | Line 605: | ||
width: 22px; | width: 22px; | ||
height: 22px; | height: 22px; | ||
border-radius: | border-radius: var(--sv-ui-rad-pill); | ||
display: inline-flex; | display: inline-flex; | ||
align-items: center; | align-items: center; | ||
justify-content: center; | justify-content: center; | ||
font-weight: 900; | font-weight: 900; | ||
font-size: 15px; | font-size: 15px; | ||
line-height: 1; | line-height: 1; | ||
background: var(--sv- | |||
color: | background: var(--sv-ui-accent2); | ||
color: #081018; | |||
} | } | ||
| Line 500: | Line 649: | ||
} | } | ||
/* Shared pill look ( | /* Shared pill look (legacy infobox system only) */ | ||
:is(table.spiritvale-skill-infobox, table.spiritvale-passive-infobox) :where(.sv-type-label, .sv-source-pill, .sv-m4-label, .sv-sm-label, .sv-sm-flag, .sv-pill, .sv-pill--req) { | :is(table.spiritvale-skill-infobox, table.spiritvale-passive-infobox) | ||
:where(.sv-type-label, .sv-source-pill, .sv-m4-label, .sv-sm-label, .sv-sm-flag, .sv-pill, .sv-pill--req) { | |||
width: auto; | width: auto; | ||
display: inline-block; | display: inline-block; | ||
max-width: 100%; | max-width: 100%; | ||
white-space: nowrap; | white-space: nowrap; | ||
padding: 0.18em 0.35em; | padding: 0.18em 0.35em; | ||
border-radius: | border-radius: var(--sv-ui-rad-sm); | ||
font-weight: 800; | font-weight: 800; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
| Line 513: | Line 666: | ||
font-size: 0.72em; | font-size: 0.72em; | ||
line-height: 1.15; | line-height: 1.15; | ||
background: var(--sv-pill); | background: var(--sv-pill); | ||
border: 1px solid var(--sv-ui-line2); | |||
color: var(--sv-ui-text1); | |||
} | } | ||
| Line 529: | Line 685: | ||
} | } | ||
:is(table.spiritvale-skill-infobox, table.spiritvale-passive-infobox) .module-level-selector .sv-level-slider input[type="range"] { | :is(table.spiritvale-skill-infobox, table.spiritvale-passive-infobox) | ||
.module-level-selector .sv-level-slider input[type="range"] { | |||
width: 90%; | width: 90%; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
| Line 535: | Line 692: | ||
} | } | ||
:is(table.spiritvale-skill-infobox, table.spiritvale-passive-infobox) .module-level-selector .sv-level-ui-single .sv-level-slider-single { | :is(table.spiritvale-skill-infobox, table.spiritvale-passive-infobox) | ||
.module-level-selector .sv-level-ui-single .sv-level-slider-single { | |||
min-height: 0.45em; | min-height: 0.45em; | ||
} | } | ||
/* | /* Skill Type (Hero Bar Slot 2) */ | ||
table.spiritvale-skill-infobox .hero-bar-module-2 .hero-bar-module-body, | table.spiritvale-skill-infobox .hero-bar-module-2 .hero-bar-module-body, | ||
table.spiritvale-skill-infobox .hero-bar-module-2 .module-skill-type { | table.spiritvale-skill-infobox .hero-bar-module-2 .module-skill-type { | ||
| Line 552: | Line 707: | ||
margin: 0 !important; | margin: 0 !important; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
display: grid; | display: grid; | ||
grid-template-columns: repeat(3, minmax(0, 1fr)); | grid-template-columns: repeat(3, minmax(0, 1fr)); | ||
gap: 0.50em; | gap: 0.50em; | ||
padding: 0.40em; | padding: 0.40em; | ||
justify-items: center; | justify-items: center; | ||
align-items: center; | align-items: center; | ||
| Line 565: | Line 722: | ||
align-items: center; | align-items: center; | ||
justify-content: center; | justify-content: center; | ||
text-align: center; | text-align: center; | ||
padding: 0.20em 0.35em; | padding: 0.20em 0.35em; | ||
gap: 0.50em; | gap: 0.50em; | ||
min-width: 0; | min-width: 0; | ||
| Line 575: | Line 734: | ||
font-size: 1.02em; | font-size: 1.02em; | ||
line-height: 1.25; | line-height: 1.25; | ||
white-space: normal; | white-space: normal; | ||
overflow-wrap: anywhere; | overflow-wrap: anywhere; | ||
| Line 583: | Line 743: | ||
table.spiritvale-skill-infobox .module-skill-type .sv-type-damage { order: 1; } | table.spiritvale-skill-infobox .module-skill-type .sv-type-damage { order: 1; } | ||
table.spiritvale-skill-infobox .module-skill-type .sv-type-element { order: 2; } | table.spiritvale-skill-infobox .module-skill-type .sv-type-element { order: 2; } | ||
table.spiritvale-skill-infobox .module-skill-type .sv-type-hits { order: 3; } | table.spiritvale-skill-infobox .module-skill-type .sv-type-hits { order: 3; } | ||
table.spiritvale-skill-infobox .module-skill-type .sv-type-target { order: 4; } | table.spiritvale-skill-infobox .module-skill-type .sv-type-target { order: 4; } | ||
table.spiritvale-skill-infobox .module-skill-type .sv-type-cast { order: 5; } | table.spiritvale-skill-infobox .module-skill-type .sv-type-cast { order: 5; } | ||
table.spiritvale-skill-infobox .module-skill-type .sv-type-combo { order: 6; } | table.spiritvale-skill-infobox .module-skill-type .sv-type-combo { order: 6; } | ||
/* Special Mechanics (Flags + Mechanics) */ | |||
table.spiritvale-skill-infobox .sv-slot.module-special-mechanics .sv-slot__body { | table.spiritvale-skill-infobox .sv-slot.module-special-mechanics .sv-slot__body { | ||
width: 100%; | width: 100%; | ||
| Line 628: | Line 785: | ||
width: 100%; | width: 100%; | ||
min-width: 0; | min-width: 0; | ||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
align-items: center; | align-items: center; | ||
justify-content: flex-start; | justify-content: flex-start; | ||
text-align: center; | text-align: center; | ||
gap: 0.40em; | gap: 0.40em; | ||
} | } | ||
| Line 639: | Line 799: | ||
width: 100%; | width: 100%; | ||
min-width: 0; | min-width: 0; | ||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
align-items: center; | align-items: center; | ||
justify-content: flex-start; | justify-content: flex-start; | ||
text-align: center; | text-align: center; | ||
gap: 0.50em; | gap: 0.50em; | ||
} | } | ||
| Line 650: | Line 813: | ||
width: 100%; | width: 100%; | ||
text-align: center; | text-align: center; | ||
font-weight: 500; | font-weight: 500; | ||
font-size: 0.98em; | font-size: 0.98em; | ||
line-height: 1.2; | line-height: 1.2; | ||
opacity: 0.98; | opacity: 0.98; | ||
white-space: normal; | white-space: normal; | ||
overflow-wrap: anywhere; | overflow-wrap: anywhere; | ||
| Line 678: | Line 843: | ||
width: 100%; | width: 100%; | ||
} | } | ||
} | } | ||