Last active
September 26, 2022 21:49
-
-
Save triphora/c635298b2251381cb1075b30e169ba71 to your computer and use it in GitHub Desktop.
Alternative font style for Modrinth. Must have Atkinson Hyperlegible and Fira Sans installed on your system.
This file contains 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
// ==UserScript== | |
// @name Alternative font style for Modrinth | |
// @namespace https://modrinth.com/user/emmaffle | |
// @include https://modrinth.com/* | |
// @include https://*.modrinth.com/* | |
// @include https://knossos-*-modrinth.vercel.app/* | |
// @grant GM_addStyle | |
// @version 1.0.0 | |
// @author Emmaffle | |
// ==/UserScript== | |
const css = ` | |
body { | |
font-family: 'Atkinson Hyperlegible'; | |
} | |
h1, h2, h3, h4, h5, h6 { | |
font-family: 'Fira Sans'; | |
} | |
` | |
GM_addStyle(css) |
Author
triphora
commented
Sep 26, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment