like italics but don't want to mess with *asterisks*?

  • makes everything italics
  • real italics are now bracketed and a slightly different color
  • bold is left as-is
1
2
3
4
5
6
.mes_text p { font-style: italic; color: var(--SmartThemeEmColor); }
.mes_text em { color: color-mix(in srgb, var(--SmartThemeQuoteColor), var(--SmartThemeEmColor) 50%); }
.mes_text em:before { content: '\《'; }
.mes_text em:after { content: '\》'; }
.mes_text strong em, .mes_text strong, .mes_text h2, .mes_text h1 { color: var(--SmartThemeBodyColor); }
.mes_text q { font-style: normal; }


TEXT NOT BIG ENOUGH? ARE YOU BLIND?

  • replace 24px with whatever (this overrides the Font Scale slider which only goes up to 18px)
  • doesn't change the interface size or codeblocks
.mes_text { font-size: 24px; line-height: calc(24px + .5rem); }
.mes_text pre code { font-size: var(--mainFontSize); }


background too bright?

  • darker without having to modify the image
  • centered when it's the wrong aspect ratio (like dalle gens)
#bg1, #bg_custom { background-position: center; }
#bg1, #bg_custom { filter: brightness(50%); }

Edit
Pub: 08 Dec 2023 13:34 UTC
Edit: 13 Dec 2023 08:08 UTC
Views: 1294