MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 399: | Line 399: | ||
justify-content: center; /* horizontal center */ | justify-content: center; /* horizontal center */ | ||
} | } | ||
/* ------------------------------------------------------------ | /* ------------------------------------------------------------ | ||
SKILLS: Module 2 – Skill Type ( | SKILLS: Module 2 – Skill Type (2x2 grid) | ||
- | - Values: not bold, slightly larger | ||
- Everything centered | |||
- More breathing room between label + value | |||
--------------------------------------------------------- */ | --------------------------------------------------------- */ | ||
/* Center the entire module contents within the tile */ | |||
table.spiritvale-skill-infobox .hero-module.module-skill-type .hero-module-body { | |||
height: 100%; | |||
display: flex; | |||
align-items: center; /* vertical center */ | |||
justify-content: center; /* horizontal center */ | |||
} | |||
/* Keep the grid nicely centered and not “stuck” to edges */ | |||
table.spiritvale-skill-infobox .module-skill-type .sv-type-grid { | table.spiritvale-skill-infobox .module-skill-type .sv-type-grid { | ||
width: 100%; | width: 100%; | ||
| Line 416: | Line 427: | ||
} | } | ||
/* Each chunk stays centered */ | |||
table.spiritvale-skill-infobox .module-skill-type .sv-type-chunk { | table.spiritvale-skill-infobox .module-skill-type .sv-type-chunk { | ||
display: flex; | display: flex; | ||
| Line 455: | Line 467: | ||
} | } | ||
/* Values: slightly bigger, NOT bold, with more spacing from the label */ | |||
table.spiritvale-skill-infobox .module-skill-type .sv-type-value { | table.spiritvale-skill-infobox .module-skill-type .sv-type-value { | ||
margin-top: 0. | margin-top: 0.35em; /* more space between title + value */ | ||
font-weight: | font-weight: 400; /* remove bold */ | ||
font-size: 0.92em; /* slightly bigger than before */ | |||
line-height: 1.25; | line-height: 1.25; | ||