Jump to content

Derani: Difference between revisions

79 bytes added ,  01:06, 11 January 2023
Clarify in CSS that the base weight is bold
(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-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;
  --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>