summaryrefslogtreecommitdiffstats
path: root/build/font/css.hbs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-07-22 19:27:36 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-07-23 08:52:25 +0000
commit78edec0e2d8a3e1216d99234554276cb05505ac4 (patch)
tree6f1a3cfda8731ef3a19f5ae57c928054a0c5624f /build/font/css.hbs
parentInitial commit. (diff)
downloadbootstrap-icons-78edec0e2d8a3e1216d99234554276cb05505ac4.tar.xz
bootstrap-icons-78edec0e2d8a3e1216d99234554276cb05505ac4.zip
Adding upstream version 1.9.1+dfsg.upstream/1.9.1+dfsg
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'build/font/css.hbs')
-rw-r--r--build/font/css.hbs24
1 files changed, 24 insertions, 0 deletions
diff --git a/build/font/css.hbs b/build/font/css.hbs
new file mode 100644
index 0000000..f651092
--- /dev/null
+++ b/build/font/css.hbs
@@ -0,0 +1,24 @@
+@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 }}