From 01454544896827113e49db0d2848b5aab6ce14ae Mon Sep 17 00:00:00 2001 From: Jonas Kohl Date: Wed, 18 Sep 2024 23:05:35 +0200 Subject: Many changes --- src/ui/fonts/mybb-icons/style.css | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 src/ui/fonts/mybb-icons/style.css (limited to 'src/ui/fonts/mybb-icons/style.css') 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"; +} -- cgit v1.2.3