fonts: add Catamaran (#35660)

This commit is contained in:
Frédéric Péters 2019-08-29 13:31:09 +02:00
parent 17aac4f6cd
commit 8dd4d1033c
22 changed files with 28 additions and 2 deletions

7
README
View File

@ -218,6 +218,13 @@ copyright notices:
#
# https://www.fontsquirrel.com/license/pt-sans
* Catamaran
# Copyright 2014 Pria Ravichandran (pria.ravichandran@gmail.com)
#
# This Font Software is licensed under the SIL Open Font License, Version 1.1.
#
# https://www.fontsquirrel.com/license/catamaran
~~~~
Some theme variant files have their own specific licenses; refer to

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,5 +1,3 @@
@import url(https://fonts.googleapis.com/css?family=Catamaran:300,400,500,600,700&subset=latin-ext);
a:hover {
color: #A3BF26;
}

View File

@ -1,3 +1,5 @@
@import '../includes/font-catamaran';
$primary-color: #268682;
$width: 1160px;
$font-color: #666;

View File

@ -0,0 +1,19 @@
@mixin catamaran-font($type, $weight) {
@font-face {
font-family: 'Catamaran';
src: url('/static/fonts/Catamaran/catamaran-#{$type}-webfont.woff2') format('woff2'),
url('/static/fonts/Catamaran/catamaran-#{$type}-webfont.woff') format('woff');
font-weight: $weight;
font-style: normal;
}
}
@include catamaran-font('thin', 100);
@include catamaran-font('extralight', 200);
@include catamaran-font('light', 300);
@include catamaran-font('regular', 400);
@include catamaran-font('medium', 500);
@include catamaran-font('semibold', 600);
@include catamaran-font('bold', 700);
@include catamaran-font('extrabold', 800);
@include catamaran-font('black', 900);