jay, novice human (
10billionghosts) wrote2024-02-26 11:27 pm
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Entry tags:
code: DECKED! (reshuffled) - 3 trading card codes, reworked
Legendary Creature — Warrior Princess
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Morbi pretium ligula ut turpis hendrerit vulputate. In vel dictum ligula, quis ullamcorper magna. In augue libero, porta in elit at, laoreet semper tellus.
Morbi pretium ligula ut turpis hendrerit vulputate. In vel dictum ligula, quis ullamcorper magna. In augue libero, porta in elit at, laoreet semper tellus.
Whoops, got hyperfixated on updating an old code. DECKED! (reshuffled) is a complete rework of three trading card codes I made back in June 2020 (original post hidden). For the update, the codes have been cleaned up and commented out for ease of use, and the designs, themselves, have been slightly refined.
The cards come in three flavors:
OUTER WRAPPER CODE (get this first):
CODE FOR CCG CARD:
CODE FOR IDOL CARD:
CODE FOR MVP CARD:
HOW TO USE:
❣️ Mind those lj-raw tags!!
❣️ This code is mobile compatible! It is most likely also compatible with InsaneJournal!
❣️ You must use the outer wrapper code for the cards to work correctly. So, grab that first, then post cards into the wrapper where indicated.
❣️ Cards will stack up to three across on the widest mobile displays, they'll shuffle down to one per line on mobile displays.
❣️ All three codes will play nice together out of the box, so if you want to use different kinds at the same time, you can!
❣️ I am being so for real right now, you do NOT have a lot of space for text on any of these cards. Double check that the text you want to use will fit by previewing the code before posting. Brevity is the heart of the ocean or whatever.
❣️ The CCG's info box will auto generate a thin scroll bar if you go over, though.
❣️ The placeholder text PORTRAIT_URL is used on all three cards to denote a space for a featured image.
❣️ Otherwise, you'll find the placeholder text IMG_URL used extensively in all three codes. IMG_URL spaces are generally best suited to low contrast images, patterns, and textures. For example, I used photos of polished gold and green leather on the example IDOL card, and the example CCG card uses a couple of repeating patterns for its two IMG_URL spaces.
❣️ IDOL and CCG come with links built in. Update the placeholder text #URL_HERE to update the link on a card, or remove href="#URL_HERE" entirely to eliminate the linking functionality.
❣️ Because these cards are mainly designed to use images for backgrounds and not flat colors, there's not a LOT of built-in color customization. You can just mess with hex codes if you do want to use colors.
❣️ This code contains a credit link. I'd appreciate if you'd left it in!
❣️ 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!
The cards come in three flavors:
- CCG: a 'collectable card game' card inspired by M:tG.
- IDOL: a card that emphasizes a large main portrait, mimicking the sorts of cards that used to come with movie releases in the 90s.
- MVP: a card inspired by baseball/basketball trading cards.
CODE FOR CCG CARD:
CODE FOR IDOL CARD:
CODE FOR MVP CARD:
HOW TO USE:
❣️ Mind those lj-raw tags!!
❣️ This code is mobile compatible! It is most likely also compatible with InsaneJournal!
❣️ You must use the outer wrapper code for the cards to work correctly. So, grab that first, then post cards into the wrapper where indicated.
❣️ Cards will stack up to three across on the widest mobile displays, they'll shuffle down to one per line on mobile displays.
❣️ All three codes will play nice together out of the box, so if you want to use different kinds at the same time, you can!
❣️ I am being so for real right now, you do NOT have a lot of space for text on any of these cards. Double check that the text you want to use will fit by previewing the code before posting. Brevity is the heart of the ocean or whatever.
❣️ The CCG's info box will auto generate a thin scroll bar if you go over, though.
❣️ The placeholder text PORTRAIT_URL is used on all three cards to denote a space for a featured image.
❣️ Otherwise, you'll find the placeholder text IMG_URL used extensively in all three codes. IMG_URL spaces are generally best suited to low contrast images, patterns, and textures. For example, I used photos of polished gold and green leather on the example IDOL card, and the example CCG card uses a couple of repeating patterns for its two IMG_URL spaces.
❣️ IDOL and CCG come with links built in. Update the placeholder text #URL_HERE to update the link on a card, or remove href="#URL_HERE" entirely to eliminate the linking functionality.
❣️ Because these cards are mainly designed to use images for backgrounds and not flat colors, there's not a LOT of built-in color customization. You can just mess with hex codes if you do want to use colors.
- Remember,
color:
will change a font color,background:
will change the background color of a space, andborder: #px solid #hexcode
will change the properties of a border.
- hex code #df3733 is alternately used as a background or a font color.
- hex code #e5e0c0 is a light cream color, used for the border around the portrait, font color, and some backgrounds.
❣️ This code contains a credit link. I'd appreciate if you'd left it in!
❣️ 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!