marwood: (Default)
my thumbs've gone weird! ([personal profile] marwood) wrote in [community profile] withnails2019-07-04 05:50 pm
Entry tags:

CR CHART: IT'S COMPLICATED.

CR CHART
FAMILIARITY
LIKE
DISLIKE
AFFECTION
ATTRACTION
NAME HERE
Bacon ipsum dolor amet sausage biltong boudin pig cow. Boudin hamburger turkey, tri-tip tongue jowl jerky capicola corned beef. Sausage ribeye ground round, pork belly jerky tri-tip bacon buffalo cow tail beef ribs.
NAME HERE
Bacon ipsum dolor amet sausage biltong boudin pig cow. Boudin hamburger turkey, tri-tip tongue jowl jerky capicola corned beef. Jerky tri-tip bacon buffalo.
NAME HERE
Bacon ipsum dolor amet sausage biltong boudin pig cow. Boudin hamburger turkey, tri-tip tongue jowl jerky capicola corned beef. Pork belly jerky tri-tip bacon buffalo cow tail beef ribs.
NAME HERE
Bacon ipsum dolor amet. Boudin hamburger turkey, tri-tip tongue jowl jerky capicola corned beef. Sausage ribeye ground round, pork belly jerky tri-tip bacon buffalo cow tail beef ribs.
NAME HERE
Bacon ipsum dolor amet sausage biltong boudin pig cow. Boudin hamburger turkey, tri-tip tongue jowl jerky capicola corned beef.
NAME HERE
Bacon ipsum dolor amet sausage biltong boudin pig cow. Boudin hamburger turkey, tri-tip tongue jowl jerky capicola corned beef. Sausage ribeye ground round, pork belly jerky tri-tip bacon buffalo cow tail beef ribs. Bacon ipsum dolor amet sausage biltong boudin pig cow. Boudin hamburger turkey, tri-tip tongue jowl jerky capicola corned beef. Sausage ribeye ground round, pork belly jerky tri-tip bacon buffalo cow tail beef ribs. Bacon ipsum dolor amet sausage biltong boudin pig cow. Boudin hamburger turkey, tri-tip tongue jowl jerky capicola corned beef. Sausage ribeye ground round, pork belly jerky tri-tip bacon buffalo cow tail beef ribs.
code by marwood
okay so! this is a super customisable code and it's much less complicated than it seems, but if you run into any problems please let me know!

important customisation info:
  • to add boxes, simply paste in the code from the second box below wherever you want the box to appear and the code will do the rest! no need to rearrange everything else or change margins/padding to make everything fit and align properly!

  • the idea with the like/dislike section is that you can leave it green if the CR is positive, or replace it with the red colour if the CR is negative. i thought this was a much neater way of establishing dislike, since it allows you to specify a difference between a character that your character only vaguely likes and a character that your character really hates.

  • i separated the relevant part of code that you need to change the percentages of each individual bar so they're really easy to find in the code. basically, find the relevant section and then "width: 50%" and you can change it to whatever percentage you want!

  • if you want to max out the bar at 100%, you'll need to find "border-radius: 10px 0px 0px 10px;" in the code immediately below the percentage value that you've edited, and change it to "border-radius: 10px 10px 10px 10px;"! this is just so it has the same rounding at the edges and doesn't look like a straight line.

  • by default, the blurb below the bars will become a scrolling box if you have more than 4 lines (as demonstrated in the last box of the live preview. if you don't want the boxes to scroll, find all instances of "max-height: 55px; overflow-y: scroll;" and delete. if you do want them to scroll, but you want more lines before they start scrolling, make the boxes taller by changing "max-height: 55px;" to a larger number!


colour/font customisation:
  • to replace these, paste the code into something like notepad, then run a find and replace!
  • fonts: GEORGIA and helvetica.
  • colours: #58b4ba, #78c76d, #b53737, #aa5e85, #e96a9d


credits:
  • i was hugely inspired by this code by whambam, which i used to use a lot, but there only being a single bar made it difficult for me to get across what i wanted to, hence why this exists!
  • i used this post by tessisamess as the basis for the "display: flex" coding, which is instrumental in making sure that all you have to do is paste in a new box wherever you want and the code will do the rest.
  • everything else is by me!


code:

full code (6 characters):
add another character:



again, please let me know if you run into any issues or want to fudge something around and need a hand, i'd be happy to help! and of course please don't delete the credit!

updated in may 2021 to fix spacing issues caused by a DW code push from last year.

Post a comment in response:

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