yanyan: (Default)
yana! ([personal profile] yanyan) wrote in [community profile] cawaii2023-05-05 09:23 pm
Entry tags:

[code] kinklist #1

Long time no see! It's 2023, so here's a web-responsive/mobile-friendly code for all your kinklist needs. Credit for the original idea goes to [community profile] bannertech's kinklist code.

YES
  •   Insert kink here.
  •   Custom bullets.
  •   text
MAYBE
IC LIMITS
OOC LIMITS

code by cawaii

CODE
Copy and paste the code below into the post you want to place it in.

WEB-RESPONSIVE?
This means this code is functioning and readable on all devices. Try resizing your browser window or viewing this on mobile/desktop to see what I mean!

BULLETS
You can change the bullets of each list by changing the highlighted part here: list-style: '★'; to anything here that applies to unordered lists. You can even use an image by replacing the highlighted text with url('INSERT YOUR LINK HERE'). You can also change individual bullets to indicate anything you need, like your favorite kinks or the legend provided by [community profile] bannertech's code.

COLORS
You can change these colors to customize your code.

#44AF69
#FCAB10
#2B9EB3
#F8333C

TOOLTIPS/DESCRIPTIONS
Since tooltips don't work on mobile, I tried replicating the same function by using comments. Try clicking the link under the Yes column! It jumps to a comment on the page where you can further explain the item (e.g. "I only want to do XYZ if ABC" or "").

To do this, replace the highlighted text here: <a [...] href="#cmt0000"> with the last part of the URL of the comment you want to link to. This lets the reader jump to the comment without reloading the page every time.

If you use this code or have any questions, let me know in the comments! I like getting comments.


Post a comment in response:

If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting