MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 235: | Line 235: | ||
border: var(--wiz-race-table-border-width) solid var(--wiz-race-table-divider-colour) !important; | border: var(--wiz-race-table-border-width) solid var(--wiz-race-table-divider-colour) !important; | ||
background: var(--wiz-race-table-divider-colour); | background: var(--wiz-race-table-divider-colour); | ||
} | |||
/* RACES LANDING PAGE */ | |||
/* ------------------ */ | |||
.wizlords-races-landing { | |||
max-width: 100%; | |||
} | |||
.wizlords-races-landing .race-note { | |||
margin: 14px 0 18px; | |||
font-style: italic; | |||
} | |||
.wizlords-races-grid { | |||
display: flex; | |||
flex-wrap: wrap; | |||
justify-content: center; | |||
gap: 28px 44px; | |||
margin: 26px auto 24px; | |||
max-width: 860px; | |||
} | |||
.wizlords-race-link { | |||
display: block; | |||
width: 120px; | |||
text-align: center; | |||
text-decoration: none; | |||
} | |||
.wizlords-race-link img { | |||
display: block; | |||
width: 100px; | |||
height: 100px; | |||
margin: 0 auto 8px; | |||
object-fit: contain; | |||
border: 0; | |||
background: transparent; | |||
transition: transform 120ms ease, filter 120ms ease; | |||
} | |||
.wizlords-race-label, | |||
.wizlords-race-label a { | |||
display: block; | |||
color: var(--wiz-link, #ff942d); | |||
font-weight: bold; | |||
line-height: 1.3; | |||
text-decoration: none; | |||
} | |||
.wizlords-race-link:hover img { | |||
filter: brightness(1.15); | |||
transform: translateY(-2px); | |||
} | |||
.wizlords-race-link:hover .wizlords-race-label, | |||
.wizlords-race-link:hover .wizlords-race-label a { | |||
color: #ffd37a; | |||
text-decoration: none; | |||
} | } | ||