10billionghosts: (smooches hero)
jay, novice human ([personal profile] 10billionghosts) wrote2025-09-21 01:16 pm

code: HEADERS - 8 comment-compatible headers for tls & announcements




More RP notions! This is a pack of simple comment-compatible headers for use in announcements and top levels. Wanted some options that would be legible regardless of dark or light mode viewing. Many of these include a collapsing element built in so that you can easily hide lengthier or spoiler-y content.

All live previews and the codes themselves are available in the comment section at the bottom of this post!

HOW TO USE:

❣️ These codes are mobile and comment compatible!

❣️ Because these codes are comment-first, they do not use lj-raw tags. This means they'll probably look off if you attempt to use them in the body of a post, rather than in the comments. You can wrap any actual code in lj-raw and /lj-raw tags to fix that, if you want.

❣️ Feel free to customize colors on any of these! You don't need to retain the default colors. You'll want to look for and change hex codes found after tags like color:, background:, border:, and drop-shadow:.

❣️ Need multiple headers? Just copy-paste the code multiple times!

❣️ Because their code is a little more complex, headers 1 and 2 do not include collapsing elements.

❣️ All other headers include a collapsing details element and are set to open by default. In order to set them to hidden by default, delete the word "open" from the top of the code.

❣️ Styling on the actual body text for these codes is pretty minimal. That's to make them flexible for individual user readability settings like dark vs light mode or font size.

❣️ That said, three different block quote stylings are included: no border, dotted gray (#ccc) border, and dashed, color border. You can mix and match these however you like. Just copy paste the blockquote style="" info for the styling you like into the code you're using.

❣️ No credit line is included in any of these this time. Feel free to comment if you use! If you're feeling generous, you can also donate to my ko-fi -- it's always greatly appreciated!