diff options
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"; +} |