Template:Spell/styles.css: Difference between revisions
Template page
More actions
Create generated spells table |
Render spell costs through Lua module |
||
| Line 11: | Line 11: | ||
.spell-list__description { | .spell-list__description { | ||
max-width: 34em; | max-width: 34em; | ||
} | |||
.spell-list__cost { | |||
align-items: center; | |||
display: inline-flex; | |||
gap: 2px; | |||
margin-right: 0.35em; | |||
white-space: nowrap; | |||
} | |||
.spell-list__cost img { | |||
vertical-align: -0.2em; | |||
} | } | ||
Latest revision as of 21:42, 15 May 2026
.spell-list {
width: 100%;
font-size: 0.95em;
}
.spell-list th,
.spell-list td {
vertical-align: top;
}
.spell-list__description {
max-width: 34em;
}
.spell-list__cost {
align-items: center;
display: inline-flex;
gap: 2px;
margin-right: 0.35em;
white-space: nowrap;
}
.spell-list__cost img {
vertical-align: -0.2em;
}
.spell-list-filter {
align-items: end;
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
margin: 1rem 0;
}
.spell-list-filter label {
display: grid;
gap: 0.25rem;
}
.spell-list-filter select,
.spell-list-filter button {
min-height: 2rem;
}
.spell-list-filter__count {
margin-left: auto;
}
.spell-list__path {
align-items: center;
display: inline-flex;
gap: 2px;
margin-right: 0.35em;
white-space: nowrap;
}
.spell-list__path img {
vertical-align: -0.2em;
}