bread: vuvuzela (Default)
Newt ([personal profile] bread) wrote in [community profile] vuvuzela2026-04-15 07:31 pm

code





Credit: HSR Wikia



Wrapper code
You NEED this code to make the layout work.
Place elements between "start" and "end"


Credit code
Wherever it says <!— credit code -->, you can replace that with the following to provide sources to fanart or otherwise.


Additional editing information

Widen/Narrow overall design. In the wrapper code, change max-width:800px to whatever value you like.
Spacing between images. All instances of gap:10px; need to be changed
the height of your elements. By default, each segemented is coded at height:200px;
Change the width of columns (or interior rows). Change flex-grow:1; to a different number. Bigger number means it takes up more space. In "staggered images," it is also listed as flex-grow:2;
Elements can be moved & repeated.

Check comments for premade layouts


Single Column Banner
Multi Column Banner
(works for 2+ items / more than 4 might struggle on mobile)
Left Large, Multiple Right (2 or more)
Multiple Left (2 or more), Right Large
Large Left, Multiple Right + Split segment
Multiple Left + Split Segment, Large Right
Staggered Columns
Icon Banner - Fix Spacing
Icon Banner - Stretched Spacing