diff options
author | Michal Wolny <michal.wolny@versum.pl> | 2021-01-13 19:18:33 +0100 |
---|---|---|
committer | Michal Wolny <michal.wolny@versum.pl> | 2021-01-13 19:18:33 +0100 |
commit | 4a46e87fe3759e02c9772e969646c49f8fbaf264 (patch) | |
tree | faac8dec1fb5c21374ad83a370c1da9ab2b17e2c /iconfont/tabler-icons.css | |
parent | [dev-iconfont-generation] descent font a little (diff) | |
download | tabler-icons-4a46e87fe3759e02c9772e969646c49f8fbaf264.tar.xz |
[dev-iconfont-generation] add svg font generation, adjust ascent to work for mac os notepad
Diffstat (limited to 'iconfont/tabler-icons.css')
-rw-r--r-- | iconfont/tabler-icons.css | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/iconfont/tabler-icons.css b/iconfont/tabler-icons.css index a18ed65e..7ebe8dae 100644 --- a/iconfont/tabler-icons.css +++ b/iconfont/tabler-icons.css @@ -7,8 +7,15 @@ font-family: "tabler-icons"; font-style: normal; font-weight: 400; - src: url("./fonts/tabler-icons.eot"); - src: url("./fonts/tabler-icons.eot?#iefix") format("embedded-opentype"), url("./fonts/tabler-icons.woff2") format("woff2"), url("./fonts/tabler-icons.woff") format("woff"), url("./fonts/tabler-icons.ttf") format("truetype"); + src: url("fonts/tabler-icons.eot"); + src: url("fonts/tabler-icons.eot?#iefix") format("embedded-opentype"), url("fonts/tabler-icons.woff2") format("woff2"), url("fonts/tabler-icons.woff") format("woff"), url("fonts/tabler-icons.ttf") format("truetype"), url("fonts/tabler-icons.svg#tabler-icons") format("svg"); +} + +@media screen and (-webkit-min-device-pixel-ratio: 0) { + @font-face { + font-family: "tabler-icons"; + src: url("fonts/tabler-icons.svg#tabler-icons") format("svg"); + } } .ti { |