Guest User

SillyTavern custom CSS

a guest
Sep 22nd, 2023
609
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.30 KB | None | 0 0
  1. :root {
  2.     --quote-color-primary: #EA8D8D;
  3.     --quote-color-secondary: #A890FE;
  4.     --glow-color: #A890FE;
  5.     --code-background: #222222;
  6.     --code-text: #f5d67b;
  7.     --code-glow: transparent;
  8.     --message-font: 'Merriweather';
  9.     --italic-weight: bold;
  10.     --italic-style: normal;
  11.     --main-text-style: normal;
  12. }
  13.  
  14. .mes_text p
  15. {
  16.     /* Change base message visuals here */
  17.     font-family: var(--message-font);
  18.     font-style: var(--main-text-style);
  19. }
  20. .mes_text p em
  21. {
  22.     /* Change italics settings (*text formatted like this*) here */
  23.     font-weight: var(--italic-weight);
  24.     font-style: var(--italic-style) !important;
  25.     text-shadow: 0px 0px 2px var(--glow-color), 0px 0px 5px var(--glow-color), 0px 0px 5px var(--glow-color) !important;
  26. }
  27. .mes_text p q
  28. {
  29.     /* Change quoted text settings ("text formatted like this") here */
  30.     font-style: normal;
  31.     background-image: linear-gradient(35deg, var(--quote-color-primary), var(--quote-color-secondary));
  32.     -webkit-background-clip: text;
  33.     -webkit-text-fill-color: transparent;
  34. }
  35.  
  36. .mes_text code
  37. {
  38.     /* Change code settings (`text formatted like this`) here */
  39.     background-color: var(--code-background);
  40.     color: var(--code-text);
  41.     text-shadow: 0px 0px 2px var(--code-glow), 0px 0px 5px var(--code-glow), 0px 0px 5px var(--code-glow) !important;
  42. }
  43.  
Advertisement
Add Comment
Please, Sign In to add comment