Derani: Difference between revisions

122 bytes added ,  17:46, 1 January 2023
Make CSS work with non-English language settings
(Make the line height of usernames adaptive, too)
(Make CSS work with non-English language settings)
Line 297: Line 297:
*'''(#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>
:root {
* {
  --font-primary: "gg sans", "Noto Sans", "Helvetica Neue", Helvetica, Arial, Derani, sans-serif;
    --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;
    line-height: normal;
}
}
</pre>
</pre>