205
edits
(Work around a font shaping bug in Firefox with exactly 10 zero-width spaces (??)) |
(Clarify in CSS that the base weight is bold) |
||
Line 300: | Line 300: | ||
*'''(#3)''' Open Discord, then open the custom CSS dialog (in the case of Better Discord, go to ⚙ ⊳ Custom CSS), and there copy-paste the following: | *'''(#3)''' Open Discord, then open the custom CSS dialog (in the case of Better Discord, go to ⚙ ⊳ Custom CSS), and there copy-paste the following: | ||
<pre> | <pre> | ||
@font-face { | |||
font-family: 'Derani'; | |||
font-weight: 600; | |||
src: local('Derani'); | |||
} | |||
* { | * { | ||
--font-primary: "gg sans", "Noto Sans", "Helvetica Neue", Helvetica, Arial, sans-serif, 'Derani' !important; | |||
--font-display: "gg sans", "Noto Sans", "Helvetica Neue", Helvetica, Arial, sans-serif, 'Derani' !important; | |||
} | } | ||
[id^="message-content-"], [class^="username-"] { | [id^="message-content-"], [class^="username-"] { | ||
line-height: normal; | |||
} | } | ||
</pre> | </pre> |