diff options
author | Jonas Kohl <git@jonaskohl.de> | 2024-09-11 13:26:37 +0200 |
---|---|---|
committer | Jonas Kohl <git@jonaskohl.de> | 2024-09-11 13:26:37 +0200 |
commit | 77b3c54ddc4a5f6887fd4218e19a3b5a86b1c16f (patch) | |
tree | 313351bcc7e6679e0cf9fa501d6ce548d10f3155 /mobile/font.css | |
parent | 2c10ed169fd8f1fe719259d8193923fb1e45adaa (diff) |
Mobile theme improvements
Diffstat (limited to 'mobile/font.css')
-rw-r--r-- | mobile/font.css | 30 |
1 files changed, 30 insertions, 0 deletions
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"; +} |