static: provide Raleway font (#24486)
This commit is contained in:
parent
1661d3c6c5
commit
5f4d02425f
10
README
10
README
|
@ -61,6 +61,16 @@ copyright notices:
|
|||
# Licensed under the SIL Open Font License v1.10
|
||||
# https://www.fontsquirrel.com/fonts/asap
|
||||
|
||||
* Raleway font
|
||||
# Copyright (c) 2010, Matt McInerney (matt@pixelspread.com),
|
||||
# Copyright (c) 2011, Pablo Impallari (www.impallari.com|impallari@gmail.com),
|
||||
# Copyright (c) 2011, Rodrigo Fuenzalida (www.rfuenzalida.com|hello@rfuenzalida.com),
|
||||
# with Reserved Font Name Raleway
|
||||
#
|
||||
# This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
#
|
||||
# https://www.fontsquirrel.com/license/raleway
|
||||
|
||||
~~~~
|
||||
|
||||
Some theme variant files have their own specific licenses; refer to
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
@import url(https://fonts.googleapis.com/css?family=Raleway:400,700);
|
||||
@import '../includes/font-raleway';
|
||||
|
||||
body {
|
||||
background: transparent url(bg-header.jpeg) no-repeat scroll center top;
|
||||
|
@ -89,7 +89,7 @@ div.footer-content div {
|
|||
color: white;
|
||||
|
||||
h2 {
|
||||
font-family: raleway;
|
||||
font-family: Raleway;
|
||||
font-weight: bold;
|
||||
font-size: 1em;
|
||||
line-height: 120%;
|
||||
|
|
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.
|
@ -0,0 +1,16 @@
|
|||
$raleway-font-path: '../fonts/Raleway' !default;
|
||||
|
||||
@mixin raleway-font($type, $weight) {
|
||||
@font-face {
|
||||
font-family: 'Raleway';
|
||||
src: url('#{$raleway-font-path}/raleway-#{$type}-webfont.woff2') format('woff2'),
|
||||
url('#{$raleway-font-path}/raleway-#{$type}-webfont.woff') format('woff');
|
||||
font-weight: $weight;
|
||||
font-style: normal;
|
||||
}
|
||||
}
|
||||
|
||||
@include raleway-font('regular', 400);
|
||||
@include raleway-font('medium', 500);
|
||||
@include raleway-font('semibold', 600);
|
||||
@include raleway-font('bold', 700);
|
Loading…
Reference in New Issue