1
0
Fork 0
bootstrap-icons/build/font/css.hbs
Daniel Baumann 4763291fe6
Merging upstream version 1.10.4+dfsg.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-17 07:14:45 +01:00

30 lines
769 B
Handlebars

/*!
* Bootstrap Icons (https://icons.getbootstrap.com/)
* Copyright 2019-2023 The Bootstrap Authors
* Licensed under MIT (https://github.com/twbs/icons/blob/main/LICENSE.md)
*/
@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 }}