10billionghosts: (viktor)
jay, novice human ([personal profile] 10billionghosts) wrote2022-12-18 12:31 am

code: STRIPE - a simple mood board with hidden nav




Merry Draftsmas! Code number nine of the Draftsmas block is this weird little thing called STRIPE. STRIPE is a simple mood board with a hidden navigation menu -- click the circle in the center.

When I started working on this mood board, I was like, oh, this is going to be great. And then I finished the mood board portion and I was like, oh, this is actually just kind of whatever? Like, it's not that exciting. And it sat, and sat, and sat as a result. For ages. A few weeks ago, I decided to just slap a hidden nav menu on it to give it a lil more spice. And so, here you have it! A mood board with a hidden nav menu.

CODE HERE:


HOW TO USE:

❣️ Mind those lj-raw tags!!

❣️ This code is mobile compatible and insanejournal friendly!

❣️ To appearify the link list, simply click the center circle (or really anywhere around the middle of the mood board.

❣️ To have the mood board show links by default, add the word open IMMEDIATELY AFTER the word details in the details tag in the code. So it'll be like 'details open style="...'

❣️ There are four instances of IMG_URL: the three background stripe images and the central circle. Be sure to update these with proper image URLS.

❣️ The top and bottom images on the background mood board kinda look neat if you use the same image twice, imo? But you should do whatever you think looks best!

❣️ Links will show 3 across. You can add or delete as many as you want, within reason. If you add 15 or more links, you'll probably get some weird results.

❣️ rgba(125, 176, 163,.7) (hex code #7db0a3 but written in rgb format) is the default color for the link button background. To change this color, you'll want to change those first three numbers to the rgb values of the color you want to use (Google's color picker provides rgb values for colors).

  • By default, the opacity is set to 70% (that's the fourth digit, .7). To make your buttons fully opaque, change .7 to 1. To make it more translucent, set it to a number like .5 or .25.
❣️ The only other relevant color is #fff, which is white, and it is used as the text color for links and for the background color on the borders of the image board.

❣️ Any other colors are shadow values. I've set them to a very Anything-friendly color by default, so you shouldn't need to mess with them.

❣️ This code comes with a credit by default. Appreciate it if you leave it in, but you can delete if you want! :)

❣️ I love peeking at what people do with my codes, so feel free to comment if you use! If you're feeling generous, you can also donate to one of the charities listed on the main draftmas hub post.


ofdeliciousness: (Default)

[personal profile] ofdeliciousness 2023-10-31 07:45 pm (UTC)(link)
This code is so awesome!!! Where did you find the images used in the top example?
clutterbitch: (Default)

[personal profile] clutterbitch 2023-10-31 08:08 pm (UTC)(link)
Thank you! I am almost positive they all came from Pinterest! I think I searched like, "ocean aesthetic" "mermaid aesthetic" etc.
ofdeliciousness: (Default)

[personal profile] ofdeliciousness 2023-10-31 08:10 pm (UTC)(link)
Thanks!
matermali: (040)

[personal profile] matermali 2024-02-26 09:31 pm (UTC)(link)
I love this nav so much! Thank you for sharing. Tried it out for another blorbo.