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 Put PvP Isles and Worlds side by side in their own row, under Continents |
||
| 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; | ||
} | } | ||
Revision as of 10:25, 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;
}