diff options
author | Jonas Kohl | 2024-09-18 23:05:35 +0200 |
---|---|---|
committer | Jonas Kohl | 2024-09-18 23:05:35 +0200 |
commit | 01454544896827113e49db0d2848b5aab6ce14ae (patch) | |
tree | 9487c3d45a04d350bca2ed8401a797ed69cd7e8a /src/ui/fonts/mybb-icons/style.css | |
parent | a65d424263adfbff9629c7d91a613e4504c84613 (diff) |
Many changes
Diffstat (limited to 'src/ui/fonts/mybb-icons/style.css')
-rw-r--r-- | src/ui/fonts/mybb-icons/style.css | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/ui/fonts/mybb-icons/style.css b/src/ui/fonts/mybb-icons/style.css new file mode 100644 index 0000000..d851826 --- /dev/null +++ b/src/ui/fonts/mybb-icons/style.css @@ -0,0 +1,30 @@ +@font-face { + font-family: 'mysticBB'; + src: url('/ui/fonts/mybb-icons/fonts/mysticBB.eot?f1x030'); + src: url('/ui/fonts/mybb-icons/fonts/mysticBB.eot?f1x030#iefix') format('embedded-opentype'), + url('/ui/fonts/mybb-icons/fonts/mysticBB.ttf?f1x030') format('truetype'), + url('/ui/fonts/mybb-icons/fonts/mysticBB.woff?f1x030') format('woff'), + url('/ui/fonts/mybb-icons/fonts/mysticBB.svg?f1x030#mysticBB') format('svg'); + font-weight: normal; + font-style: normal; + font-display: block; +} + +.myb-icon { + /* use !important to prevent issues with browser extensions that change fonts */ + font-family: 'mysticBB' !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; +} + +.mybblogo:before { + content: "\e900"; +} |