Skip to content

Overframe Inter 4.0 Font by Today20092

Details

AuthorToday20092

LicenseNo License

Categoryoverframe.gg

Created

Updated

Size876 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Overframe Inter 4.0 Font

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           Overframe Inter 4.0 Font
@namespace      github.com/openstyles/stylus
@version        1.0.0
@description    A new userstyle
@author         Me
==/UserStyle== */
@-moz-document domain("overframe.gg") {
	@import url('https://rsms.me/inter/inter.css');

	/* Set base font for the entire document */
	:root {
		font-family: 'Inter', sans-serif;
		font-feature-settings: 'liga' 1, 'calt' 1;
		/* fix for Chrome */
	}

	/* Use InterVariable if supported */
	@supports (font-variation-settings: normal) {
		:root {
			font-family: 'InterVariable', sans-serif;
		}
	}

	/* Apply the font to all elements except icons */
	*:not(.fa):not(.fas):not(.far):not(.fal):not(.fad):not(.fab):not([class*="icon"]):not(i) {
		font-family: inherit !important;
	}

	/* Keep monospace font for code elements */
	code,
	pre {
		font-family: monospace !important;
	}
}

Reviews

No reviews yet.