Last active
July 26, 2023 15:06
-
-
Save Joshix-1/105be8e51e7bc6eb573e46e28289d538 to your computer and use it in GitHub Desktop.
BetterDiscord Comic Sans Theme
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @name Comic Sans | |
* @version 1.1 | |
* @description A theme which switches to the one and only font. | |
* @source https://gist.github.com/Joshix-1/105be8e51e7bc6eb573e46e28289d538/raw/ | |
* @website https://gist.githubusercontent.com/Joshix-1/105be8e51e7bc6eb573e46e28289d538 | |
* @authorId 564843886434975745 | |
* @author Joshix | |
**/ | |
@import url(https://allfont.de/allfont.css?fonts=comic-sans-ms); | |
@import url(https://cdn.jsdelivr.net/npm/[email protected]/index.css); | |
:root { | |
--Font-Used: "Comic Sans MS"; | |
--Font-Size: 15px ; | |
/* medium|xx-small|x-small|small|large|x-large|xx-large|smaller|larger|length|initial|inherit; */ | |
--Font-Variant: normal ; | |
/* normal|small-caps|initial|inherit */ | |
} | |
*:not([class*="hljs"]):not(code) { | |
font-family: var(--Font-Used)!important; | |
font-variant: var(--Font-Variant)!important; | |
} | |
.markup:not(code) { | |
font-size: var(--Font-Size)!important; | |
} | |
:root { | |
--Code-Font-Used: "Comic Mono"; | |
--Code-Font-Size: 15px ; | |
/* medium|xx-small|x-small|small|large|x-large|xx-large|smaller|larger|length|initial|inherit; */ | |
--Code-Font-Variant: normal ; | |
/* normal|small-caps|initial|inherit */ | |
} | |
code { | |
font-family: var(--Code-Font-Used)!important; | |
font-size: var(--Code-Font-Size)!important; | |
font-variant: var(--Code-Font-Variant)!important; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment