fonts: add Carme (#35658)
This commit is contained in:
parent
f3791643f1
commit
8e17256830
7
README
7
README
|
@ -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.
|
@ -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);
|
|
@ -1,3 +1,4 @@
|
|||
@import '../includes/font-carme';
|
||||
@import '../includes/font-lato';
|
||||
|
||||
$primary-color: #EA5B0C;
|
||||
|
|
|
@ -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 }}
|
||||
|
|
Loading…
Reference in New Issue