10billionghosts: (liam)
jay, novice human ([personal profile] 10billionghosts) wrote2022-09-07 05:35 pm

code: chip - a detailed character roster code (UPDATED 9/7/2022)




LIAM
BLUMENTHAL
matt bennett
+ +
+
The Moon
squad xii, second
Hahaiah, Angel of Refuge
SAILOR
MOON
tsukino usagi
+ +
+
in the name of the moon
i'll punish you!
★★★
CHARACTER
NAME
pb name
+ +


UPDATE 9/7/2022: My sincere apologies! I didn't realize just how broken this code was, but I think I've taken care of it. Chip has been significantly rewritten to account for cross-browser issues! In the process, I've also done some general clean up. The code is now insanejournal compatible out of the box, (hopefully) no longer experiencing overflow issues, better commented, and aligning as intended.

If you were using this code prior to 9/7/2022, I strongly urge you to completely redo the entry you were using it for so that the code doesn't show as broken on some browsers. I apologize for the inconvenience.

original (9/19/2021) description follows...
This Pantone chip-inspired directory/character list code features a hidden menu (press the plus sign at the bottom) that you can add whatever you'd like to! It auto-scales, so you can add a fair bit of text. Good for things like stats, memes, brief blurbs, minimalist character relationship charts, playlists, the next great novel -- whatever you'd like.

Below the base code, I've included an alternate code that does not have an expanding menu (that's the card with the star at the bottom), adding a simpler option for game cast lists.

Here's the base code:



This code is an alternate card that does not feature a clickable details menu.



HOW TO USE
❣️ Mind the lj-raw tags!!

❣️ This code is mobile friendly and insanejournal friendly out of the box!

❣️ For best results, paste into a new blank post behind an lj-cut.

❣️ This code will max out at aligning 3 cards across. On mobile, it should show as one card per line. If you would like to fiddle with showing fewer than 3 cards across, adjust that very first "width" value at the top of the card -- make it smaller.

❣️ If you would like to mix both the hidden menu and the no menu options, make sure you are ONLY using one instance of the code's outer wrapper (that's the part that says "ALL CARDS BELOW / ABOVE THIS LINE") and post cards within that one wrapper.

❣️ Change IMG_URL to a picture of your choice to customize the portrait. It should auto-fit to the space.

❣️ hex code #000 was used for almost all fonts, so replace each #000 hex code with an appropriate new color hex code if you'd like to change the font color.

❣️ hex code #474747 is a dark gray used for the !!pb name!! field. Adjust this value to change the color of that text.

❣️ background:#ccc was used for the background color of the + sign links and bottom bar. Adjust every instance of #ccc to change those colors.

❣️ background:#eee is a very light gray and was used for the background of the hidden details menu. Adjust this value to change that background color.

❣️ Change #URL_HERE to an appropriate URL. Optionally look for title="link description" and change the link description to the name of the link.

❣️ This code contains a credit link. I'd appreciate if you'd left it in, but you can remove it if you'd like!

❣️ I love peeking at what people do with my codes, so feel free to comment if you use! If you'd like, you can also donate to my ko-fi!
ninjawon: yoon shi yoon being cute (8DD)

[personal profile] ninjawon 2022-01-14 02:14 am (UTC)(link)
this code is so cute... thanks for making it!! time to overhaul my muselist for the nth time
elaborately: ([kds] kiki - worry)

[personal profile] elaborately 2022-07-20 08:47 pm (UTC)(link)
Hey! I love this and I'm using it for my own muselist, but I thought you might wanna know, I think there's a bit of an error/typo in the code for the color of the character name? With the colons and the semi-colons.

This bit at the end:
margin-top:5px:color#000;
?
elaborately: (Default)

[personal profile] elaborately 2022-07-21 05:19 am (UTC)(link)
No problem! I think maybe also a colon is missing between color and # there?

Ahhh, you said you like seeing what ppl did with your codes so here is where I put it btw!
elaborately: ([kds] kiki - worry)

[personal profile] elaborately 2022-09-12 04:03 am (UTC)(link)
I had no idea it was having issues on other browsers considering I... Do all my coding on mobile (I know, I know, I'm a masochist). But I redid it from scratch with your new coding! Thanks!!
wizardly: (Default)

[personal profile] wizardly 2022-09-03 07:16 am (UTC)(link)
hi!! so, first off, i want to say that i adore this code, and i've been getting a really lovely muse page set up with it!

i've run into a small bug, tho: for some reason, i'm getting some overflow of the drop-down box, where it juts well past the edge of the main box area :0 have you seen that before, or maybe know what would cause something like that? my knowledge of code is super rudimentary still, so i may just be missing something that's making it act a bit funky. (i'd be happy to link my page for an example, if it's a new issue!)
wizardly: (Default)

[personal profile] wizardly 2022-09-04 12:00 am (UTC)(link)
ohhh, that makes sense! i hadn't even considered it might be a browser thing - i use firefox, if that helps out at all? :O

thank you so much, though!! i appreciate the help so much, and thank you again for all the really lovely code you provide! 💕
wizardly: (Default)

[personal profile] wizardly 2022-09-08 03:32 am (UTC)(link)
oh no omg! i'm sorry you had to go through so much, but the code looks great!! the little navigation labels on each section help a ton (esp with my dyslexia throwing hands with me while coding sklhdfls), and the box error's no longer coming up! :D

thank you so much again!! 💕
wizardly: (Default)

[personal profile] wizardly 2022-09-08 07:43 am (UTC)(link)
thank you omg!!! 💕 this code is honestly one of my favorite muse list codes i've run into on here, so i'm really glad i could help out in any way to make working on it easier!
inkcharm: (Default)

[personal profile] inkcharm 2022-12-02 09:21 am (UTC)(link)
This is such a lovely code. I'm using edited versions of it here and here, and I just love how easy it is to use and how gorgeous it looks. Thank you so much for sharing <3
Edited 2022-12-02 11:07 (UTC)
amber: (Default)

[personal profile] amber 2023-02-28 07:46 am (UTC)(link)
i'm using this here! i made a bunch of changes but i love it so so much, especially since i could never have coded the mobile wraparound on my own and i use my phone all the time. anyway thank you so so so so sooooo much for this inspiring and cool muselist!
batteryacid: (C)

[personal profile] batteryacid 2023-12-12 08:43 am (UTC)(link)
Not quite a muse list, but I used this code here for my character's in-game farm. I love the two options for 'cards' and how clean everything looks. :)