raincoded ([personal profile] raincoded) wrote2025-02-09 05:11 pm

[03] expanding navigation

WHAT: A navigation code that, with the right stylesheet additions, will expand when hovered. Defaults to having room for 6 links, but you can change the max-height to add room for more. Stacks on mobile views. Transparent textures from transparent textures dot com.


LIVE PREVIEW
buffy summers
female • she/her
human-ish


USAGE:
🌈 Copy-paste the "MAIN" code into a new journal entry.
🌈 Replace YOUR_BACKGROUND_TEXTURE_HERE with links to your desired background textures.
🌈 Replace YOUR_ICON_HERE with links to your desired icons and YOUR_BACKGROUND_IMAGE_HERE with a link to your desired "main" image for the largest pane.
🌈 Replace YOUR_NAV_LINK_HERE with links to whichever posts you want to feature on your navigation. You can have more than six, but you'll want to increase --height to a higher number.
🌈 Fill out the content area. I've provided some dummy content, using divs instead of p for paragraphs, but you can put anything you want in here.


SINGLE-PAGE NAV:
🌈 Copy-paste the "STYLESHEET" code into your custom CSS section for animations.
🌈 COMING SOON: A guide to setting this up so that you still have prev/next/manage entries links.


COLORS (for replacing):
🌈 Background color: #ffffff
🌈 Hue: 250, 50%, 50% — to change this, you'll want to update the values of --colorH and --colorS. The other properties can also be updated manually, if you'd rather, but they will default to absorbing your hue and saturation if you do it this way, creating a harmonious monochromatic look. Convert HEX colors to HSL using any free generator online; there are lots!

CODE (main)


CODE (stylesheet, for animation)
setsuntamew: (Maki → I'll show you magic)

[personal profile] setsuntamew 2025-02-10 03:59 am (UTC)(link)
Oh man, this is super nifty!! I'm saving this to my memories so I can hold onto it when I need it- thanks for sharing :D