diff --git a/README b/README index 1c2a0724..efb4779d 100644 --- a/README +++ b/README @@ -225,6 +225,15 @@ copyright notices: # # https://www.fontsquirrel.com/license/catamaran +* Quattrocento Sans + # Copyright (c) 2011, Pablo Impallari (www.impallari.com|impallari@gmail.com), + # Copyright (c) 2011, Igino Marini. (www.ikern.com|mail@iginomarini.com), + # with Reserved Font Name Quattrocento Sans. + # + # This Font Software is licensed under the SIL Open Font License, Version 1.1. + # + # https://www.fontsquirrel.com/license/quattrocento-sans + ~~~~ Some theme variant files have their own specific licenses; refer to diff --git a/static/fonts/QuattrocentoSans/quattrocentosans-bold-webfont.woff b/static/fonts/QuattrocentoSans/quattrocentosans-bold-webfont.woff new file mode 100644 index 00000000..1f196093 Binary files /dev/null and b/static/fonts/QuattrocentoSans/quattrocentosans-bold-webfont.woff differ diff --git a/static/fonts/QuattrocentoSans/quattrocentosans-bold-webfont.woff2 b/static/fonts/QuattrocentoSans/quattrocentosans-bold-webfont.woff2 new file mode 100644 index 00000000..7dc516b6 Binary files /dev/null and b/static/fonts/QuattrocentoSans/quattrocentosans-bold-webfont.woff2 differ diff --git a/static/fonts/QuattrocentoSans/quattrocentosans-bolditalic-webfont.woff b/static/fonts/QuattrocentoSans/quattrocentosans-bolditalic-webfont.woff new file mode 100644 index 00000000..617e1e55 Binary files /dev/null and b/static/fonts/QuattrocentoSans/quattrocentosans-bolditalic-webfont.woff differ diff --git a/static/fonts/QuattrocentoSans/quattrocentosans-bolditalic-webfont.woff2 b/static/fonts/QuattrocentoSans/quattrocentosans-bolditalic-webfont.woff2 new file mode 100644 index 00000000..2d44ae0d Binary files /dev/null and b/static/fonts/QuattrocentoSans/quattrocentosans-bolditalic-webfont.woff2 differ diff --git a/static/fonts/QuattrocentoSans/quattrocentosans-regular-webfont.woff b/static/fonts/QuattrocentoSans/quattrocentosans-regular-webfont.woff new file mode 100644 index 00000000..56879de8 Binary files /dev/null and b/static/fonts/QuattrocentoSans/quattrocentosans-regular-webfont.woff differ diff --git a/static/fonts/QuattrocentoSans/quattrocentosans-regular-webfont.woff2 b/static/fonts/QuattrocentoSans/quattrocentosans-regular-webfont.woff2 new file mode 100644 index 00000000..0ee39355 Binary files /dev/null and b/static/fonts/QuattrocentoSans/quattrocentosans-regular-webfont.woff2 differ diff --git a/static/fonts/QuattrocentoSans/quattrocentosans-regularitalic-webfont.woff b/static/fonts/QuattrocentoSans/quattrocentosans-regularitalic-webfont.woff new file mode 100644 index 00000000..9df998da Binary files /dev/null and b/static/fonts/QuattrocentoSans/quattrocentosans-regularitalic-webfont.woff differ diff --git a/static/fonts/QuattrocentoSans/quattrocentosans-regularitalic-webfont.woff2 b/static/fonts/QuattrocentoSans/quattrocentosans-regularitalic-webfont.woff2 new file mode 100644 index 00000000..b96cbabf Binary files /dev/null and b/static/fonts/QuattrocentoSans/quattrocentosans-regularitalic-webfont.woff2 differ diff --git a/static/includes/_font-quattrocentosans.scss b/static/includes/_font-quattrocentosans.scss new file mode 100644 index 00000000..8b6b38bb --- /dev/null +++ b/static/includes/_font-quattrocentosans.scss @@ -0,0 +1,17 @@ +@mixin quattrocentosans-font($type, $weight, $style) { + @font-face { + font-family: 'Quattrocento Sans'; + src: url('/static/fonts/QuattrocentoSans/quattrocentosans-#{$type}-webfont.woff2') format('woff2'), + url('/static/fonts/QuattrocentoSans/quattrocentosans-#{$type}-webfont.woff') format('woff'); + font-weight: $weight; + font-style: $style; + } +} + +@mixin quattrocentosans-font-pair($type, $weight) { + @include quattrocentosans-font($type, $weight, normal); + @include quattrocentosans-font('#{$type}italic', $weight, italic); +} + +@include quattrocentosans-font-pair('regular', 400); +@include quattrocentosans-font-pair('bold', 700); diff --git a/static/saint-vallier-de-thiey/_custom.scss b/static/saint-vallier-de-thiey/_custom.scss index 1f36c0e9..1ddbd09b 100644 --- a/static/saint-vallier-de-thiey/_custom.scss +++ b/static/saint-vallier-de-thiey/_custom.scss @@ -1,4 +1,4 @@ -@import url(https://fonts.googleapis.com/css?family=Quattrocento:400,700); +@import '../includes/font-quattrocentosans'; body { background: #F8F8F8; @@ -43,7 +43,7 @@ div#header h1 { line-height: 100px; height: 100px; font-weight: normal; - font-family: Quattrocento; + font-family: "Quattrocento Sans"; white-space: nowrap; text-overflow: ellipsis; font-size: 30px;