fonts: add Carme (#35658)

This commit is contained in:
Frédéric Péters 2019-08-29 12:46:46 +02:00
parent f3791643f1
commit 8e17256830
6 changed files with 21 additions and 1 deletions

7
README
View File

@ -203,6 +203,13 @@ copyright notices:
#
# http://www.apache.org/licenses/LICENSE-2.0
* Carme
# Copyright (c) 2010-2011, Rubén Prol (ipanemagrafica@gmail.com|www.ipanemagrafica.com), with Reserved Font Name Carme.
#
# This Font Software is licensed under the SIL Open Font License, Version 1.1.
#
# This license is available with a FAQ at: http://scripts.sil.org/OFL
~~~~
Some theme variant files have their own specific licenses; refer to

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,13 @@
$carme-font-path: '/static/fonts/Carme' !default;
@mixin carme-font($type, $weight) {
@font-face {
font-family: 'Carme';
src: url('#{$carme-font-path}/carme-#{$type}-webfont.woff2') format('woff2'),
url('#{$carme-font-path}/carme-#{$type}-webfont.woff') format('woff');
font-weight: $weight;
font-style: normal;
}
}
@include carme-font('regular', 400);

View File

@ -1,3 +1,4 @@
@import '../includes/font-carme';
@import '../includes/font-lato';
$primary-color: #EA5B0C;

View File

@ -23,7 +23,6 @@
{% endif %}
{% block extra_css %}
{% endblock %}
<link href='https://fonts.googleapis.com/css?family=Carme' rel='stylesheet' type='text/css'>
{% block extra_scripts %}
{% endblock %}
{{ PIWIK_JS|safe }}