MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 103: | Line 103: | ||
*/ | */ | ||
/* | /* Top "hero" row: icon+name on left, description on right */ | ||
table.spiritvale-skill-infobox > tbody > tr | table.spiritvale-skill-infobox > tbody > tr.spiritvale-infobox-main > th, | ||
table.spiritvale-passive-infobox > tbody > tr | table.spiritvale-skill-infobox > tbody > tr.spiritvale-infobox-main > td, | ||
table.spiritvale-passive-infobox > tbody > tr.spiritvale-infobox-main > th, | |||
table.spiritvale-passive-infobox > tbody > tr.spiritvale-infobox-main > td { | |||
background: linear-gradient(135deg, #7a6fb0, #372b54); | background: linear-gradient(135deg, #7a6fb0, #372b54); | ||
color: #fff; | color: #fff; | ||
padding: 0. | padding: 0.9em 1.1em; | ||
text-align: center; | |||
vertical-align: middle; | |||
} | } | ||
| Line 166: | Line 167: | ||
text-transform: uppercase; | text-transform: uppercase; | ||
letter-spacing: 0.05em; | letter-spacing: 0.05em; | ||
} | |||
/* Left side: icon + name */ | |||
.spiritvale-infobox-main-left-inner { | |||
display: flex; | |||
flex-direction: column; | |||
align-items: center; | |||
justify-content: center; | |||
gap: 0.35em; | |||
} | |||
.spiritvale-infobox-title { | |||
font-size: 1.25em; | |||
font-weight: 600; | |||
} | |||
/* Right side: big italic description */ | |||
.spiritvale-infobox-main-right-inner { | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
} | |||
.spiritvale-infobox-description { | |||
font-size: 1.05em; | |||
font-style: italic; | |||
text-align: center; | |||
max-width: 32em; | |||
margin: 0 auto; | |||
} | } | ||