MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 705: | Line 705: | ||
.wiz-grid { | .wiz-grid { | ||
grid-template-columns: repeat(2, minmax(0, 1fr)) !important; | grid-template-columns: repeat(2, minmax(0, 1fr)) !important; | ||
} | |||
} | |||
/* CLASS OVERVIEW PAGE */ | |||
/* ------------------- */ | |||
.wizlords-classes-page { | |||
max-width: 100%; | |||
} | |||
.wizlords-class-category-table { | |||
width: min(760px, 100%); | |||
margin: 18px auto 24px; | |||
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d) !important; | |||
background: #171717; | |||
color: var(--wiz-text, #d2d2d2); | |||
} | |||
.wizlords-class-category-table th, | |||
.wizlords-class-category-table td { | |||
width: 33.333%; | |||
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d) !important; | |||
background: #1f1e1e; | |||
vertical-align: top; | |||
} | |||
.wizlords-class-category-table th { | |||
color: var(--wiz-heading, #e7e1d4); | |||
text-align: center; | |||
} | |||
.wizlords-class-category-table ul { | |||
margin: 6px 0; | |||
padding-left: 28px; | |||
list-style: disc outside; | |||
} | |||
.wizlords-class-category-table li { | |||
display: list-item; | |||
margin: 0 0 3px; | |||
} | |||
.wizlords-class-category-table a, | |||
.wizlords-class-card a { | |||
color: var(--wiz-link, #ff942d); | |||
text-decoration: none; | |||
} | |||
.wizlords-class-card-grid { | |||
display: grid; | |||
grid-template-columns: repeat(3, minmax(0, 1fr)); | |||
gap: 14px; | |||
margin: 16px 0 24px; | |||
} | |||
.wizlords-class-card { | |||
border: 1px solid var(--wiz-race-table-border-colour, #4d4d4d); | |||
background: #171717; | |||
} | |||
.wizlords-class-card-title { | |||
padding: 10px 12px; | |||
border-bottom: 1px solid var(--wiz-race-table-border-colour, #4d4d4d); | |||
color: var(--wiz-link, #ff942d); | |||
font-weight: bold; | |||
text-align: center; | |||
} | |||
.wizlords-class-card-body { | |||
padding: 12px; | |||
background: #1f1e1e; | |||
line-height: 1.5; | |||
} | |||
@media (max-width: 900px) { | |||
.wizlords-class-card-grid { | |||
grid-template-columns: repeat(2, minmax(0, 1fr)); | |||
} | |||
} | |||
@media (max-width: 620px) { | |||
.wizlords-class-card-grid { | |||
grid-template-columns: 1fr; | |||
} | } | ||
} | } | ||