1
0
Fork 0
bootstrap-icons/build/font/css.hbs
Daniel Baumann dafef1aa3b
Adding upstream version 1.9.1+dfsg.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-17 07:10:40 +01:00

24 lines
581 B
Handlebars

@font-face {
font-display: block;
font-family: "{{ name }}";
src: {{{ fontSrc }}};
}
.{{prefix}}::before,
[class^="{{prefix}}-"]::before,
[class*=" {{prefix}}-"]::before {
display: inline-block;
font-family: {{ name }} !important;
font-style: normal;
font-weight: normal !important;
font-variant: normal;
text-transform: none;
line-height: 1;
vertical-align: -.125em;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
{{# each codepoints }}
.{{ ../prefix }}-{{ @key }}::before { content: "\\{{ codepoint this }}"; }
{{/ each }}