Template:Navbox worlds/styles.css: Difference between revisions
Template page
More actions
Put PvP Isles and Worlds side by side in their own row, under Continents |
m Rename Worlds group to Other Worlds, and keep PvP Isles' title in mixed case instead of the shared all-caps transform |
||
| (One intermediate revision by the same user not shown) | |||
| Line 2: | Line 2: | ||
a normal third loka-navbox-group -- overrides the shared Navbox | a normal third loka-navbox-group -- overrides the shared Navbox | ||
stylesheet's vertical group-to-group margin (see Template:Navbox/ | stylesheet's vertical group-to-group margin (see Template:Navbox/ | ||
styles.css) for just the pair, and supplies its own margin-top | styles.css) for just the pair, and supplies its own margin-top | ||
row as | (slightly more than the shared .4em -- confirmed too tight against | ||
the Continents links right above it) so the row still reads as | |||
clearly separate from Continents. */ | |||
.loka-navbox-worlds-row { | .loka-navbox-worlds-row { | ||
display: flex; | display: flex; | ||
| Line 9: | Line 11: | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
gap: .3em 1.6em; | gap: .3em 1.6em; | ||
margin-top: . | margin-top: .6em; | ||
} | } | ||
.loka-navbox-worlds-row .loka-navbox-group + .loka-navbox-group { | .loka-navbox-worlds-row .loka-navbox-group + .loka-navbox-group { | ||
margin-top: 0; | margin-top: 0; | ||
} | |||
/* "PvP" typed already in its real case, not run through the shared | |||
.loka-navbox-title uppercase transform like every other navbox title | |||
on the wiki -- see the comment on pvp_isles_group in | |||
_gen_navbox_worlds.py for why. */ | |||
.loka-navbox-title--mixed-case { | |||
text-transform: none; | |||
} | } | ||
Latest revision as of 12:55, 23 August 2026
/* PvP Isles and Worlds sit side by side here rather than stacking like
a normal third loka-navbox-group -- overrides the shared Navbox
stylesheet's vertical group-to-group margin (see Template:Navbox/
styles.css) for just the pair, and supplies its own margin-top
(slightly more than the shared .4em -- confirmed too tight against
the Continents links right above it) so the row still reads as
clearly separate from Continents. */
.loka-navbox-worlds-row {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: .3em 1.6em;
margin-top: .6em;
}
.loka-navbox-worlds-row .loka-navbox-group + .loka-navbox-group {
margin-top: 0;
}
/* "PvP" typed already in its real case, not run through the shared
.loka-navbox-title uppercase transform like every other navbox title
on the wiki -- see the comment on pvp_isles_group in
_gen_navbox_worlds.py for why. */
.loka-navbox-title--mixed-case {
text-transform: none;
}