MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 372: | Line 372: | ||
.module-icon-name .sv-herobar-icon { | table.spiritvale-skill-infobox .module-icon-name .sv-herobar-1-wrap { | ||
display: grid; | |||
grid-template-columns: auto auto; | |||
grid-template-rows: auto auto; | |||
column-gap: 0.65em; | |||
row-gap: 0.35em; | |||
align-items: center; | |||
justify-content: center; | |||
} | |||
table.spiritvale-skill-infobox .module-icon-name .sv-herobar-icon { | |||
grid-column: 1; | |||
grid-row: 1; | |||
width: 80px; | width: 80px; | ||
height: 80px; | height: 80px; | ||
| Line 381: | Line 392: | ||
line-height: 0; | line-height: 0; | ||
} | } | ||
.module-icon-name .sv-herobar-icon img { | table.spiritvale-skill-infobox .module-icon-name .sv-herobar-icon img { | ||
max-width: 80px; | max-width: 80px; | ||
max-height: 80px; | max-height: 80px; | ||
| Line 388: | Line 399: | ||
object-fit: contain; | object-fit: contain; | ||
} | } | ||
.module-icon-name .sv- | |||
table.spiritvale-skill-infobox .module-icon-name .sv-herobar-text { | |||
grid-column: 2; | |||
grid-row: 1; | |||
display: flex; | |||
flex-direction: column; | |||
align-items: center; | |||
} | |||
table.spiritvale-skill-infobox .module-icon-name .sv-herobar-title-row { | |||
display: inline-flex; | |||
align-items: center; | |||
justify-content: center; | |||
gap: 0.45em; | |||
} | |||
table.spiritvale-skill-infobox .module-icon-name .sv-pill-row--req { | |||
grid-column: 1 / -1; | |||
grid-row: 2; | |||
justify-self: center; | |||
margin-top: 2px; | |||
} | |||
table.spiritvale-skill-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; | ||
width: | min-width: 30px; | ||
height: | height: 30px; | ||
border-radius: 999px; | border-radius: 999px; | ||
border: 1px solid rgba(255,255,255,.18); | |||
background: rgba(255,255,255,.10); | |||
cursor: pointer; | |||
} | } | ||
.module-icon-name .sv- | table.spiritvale-skill-infobox .module-icon-name .sv-tip-btn--notes:hover { | ||
background: rgba(255,255,255,.14); | |||
} | } | ||
.module-icon-name .sv-ico--info { | table.spiritvale-skill-infobox .module-icon-name .sv-tip-btn--notes:focus-visible { | ||
width: | outline: 2px solid rgba(255,255,255,.28); | ||
height: | outline-offset: 2px; | ||
} | |||
table.spiritvale-skill-infobox .module-icon-name .sv-ico--info { | |||
width: 22px; | |||
height: 22px; | |||
border-radius: 999px; | border-radius: 999px; | ||
display: inline-flex; | display: inline-flex; | ||
align-items: center; | align-items: center; | ||
justify-content: center; | justify-content: center; | ||
font-weight: 900; | |||
font-size: 15px; | |||
line-height: 1; | line-height: 1; | ||
background: var(--sv-ico-bg, #6aa6ff); | background: var(--sv-ico-bg, #6aa6ff); | ||
color: var(--sv-ico-fg, #081018); | color: var(--sv-ico-fg, #081018); | ||
} | } | ||
.module-icon-name .sv-pill--req { | .module-icon-name .sv-pill--req { | ||
display: inline-flex; | display: inline-flex; | ||