From 77b3c54ddc4a5f6887fd4218e19a3b5a86b1c16f Mon Sep 17 00:00:00 2001 From: Jonas Kohl Date: Wed, 11 Sep 2024 13:26:37 +0200 Subject: Mobile theme improvements --- mobile/font.css | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 mobile/font.css (limited to 'mobile/font.css') diff --git a/mobile/font.css b/mobile/font.css new file mode 100644 index 0000000..e0a50ca --- /dev/null +++ b/mobile/font.css @@ -0,0 +1,30 @@ +@font-face { + font-family: 'mystic-icons'; + src: url('fonts/mystic-icons.eot?7jj38m'); + src: url('fonts/mystic-icons.eot?7jj38m#iefix') format('embedded-opentype'), + url('fonts/mystic-icons.ttf?7jj38m') format('truetype'), + url('fonts/mystic-icons.woff?7jj38m') format('woff'), + url('fonts/mystic-icons.svg?7jj38m#mystic-icons') format('svg'); + font-weight: normal; + font-style: normal; + font-display: block; +} + +.mh-icon { + /* use !important to prevent issues with browser extensions that change fonts */ + font-family: 'mystic-icons' !important; + speak: never; + font-style: normal; + font-weight: normal; + font-variant: normal; + text-transform: none; + line-height: 1; + + /* Better Font Rendering =========== */ + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.mh-icon-logo:before { + content: "\e900"; +} -- cgit v1.2.3