font: add archivo black font (#71577)

This commit is contained in:
Corentin Sechet 2022-11-21 22:00:41 +01:00 committed by Gitea
parent 9bd3e3a016
commit 598eb48b9f
4 changed files with 19 additions and 0 deletions

8
README
View File

@ -147,6 +147,14 @@ copyright notices:
#
# https://www.fontsquirrel.com/license/khand
* Archivo Black
# Copyright (c) 2012-2015, Omnibus-Type (www.omnibus-type.com|omnibus.type@gmail.com)
# with Reserved Font Name "Archivo Black";
#
# This Font Software is licensed under the SIL Open Font License, Version 1.1.
#
# https://www.fontsquirrel.com/license/archivo-black
* Archivo Narrow
# Copyright (c) 2012, Omnibus-Type (omnibus.type@gmail.com),
# with Reserved Font Name "Archivo";

View File

@ -0,0 +1,11 @@
@mixin archivoblack-font($style) {
@font-face {
font-family: 'Archivo Black';
src: url('/static/fonts/ArchivoBlack/archivoblack-#{$style}-webfont.woff2') format('woff2');
font-weight: 400;
font-style: $style;
}
}
@include archivoblack-font(normal);
@include archivoblack-font(italic);