0002-static-provide-Raleway-font-24486.patch
README | ||
---|---|---|
61 | 61 |
# Licensed under the SIL Open Font License v1.10 |
62 | 62 |
# https://www.fontsquirrel.com/fonts/asap |
63 | 63 | |
64 |
* Raleway font |
|
65 |
# Copyright (c) 2010, Matt McInerney (matt@pixelspread.com), |
|
66 |
# Copyright (c) 2011, Pablo Impallari (www.impallari.com|impallari@gmail.com), |
|
67 |
# Copyright (c) 2011, Rodrigo Fuenzalida (www.rfuenzalida.com|hello@rfuenzalida.com), |
|
68 |
# with Reserved Font Name Raleway |
|
69 |
# |
|
70 |
# This Font Software is licensed under the SIL Open Font License, Version 1.1. |
|
71 |
# |
|
72 |
# https://www.fontsquirrel.com/license/raleway |
|
73 | ||
64 | 74 |
~~~~ |
65 | 75 | |
66 | 76 |
Some theme variant files have their own specific licenses; refer to |
static/fondettes/_custom.scss | ||
---|---|---|
1 |
@import url(https://fonts.googleapis.com/css?family=Raleway:400,700);
|
|
1 |
@import '../includes/font-raleway';
|
|
2 | 2 | |
3 | 3 |
body { |
4 | 4 |
background: transparent url(bg-header.jpeg) no-repeat scroll center top; |
... | ... | |
89 | 89 |
color: white; |
90 | 90 | |
91 | 91 |
h2 { |
92 |
font-family: raleway;
|
|
92 |
font-family: Raleway;
|
|
93 | 93 |
font-weight: bold; |
94 | 94 |
font-size: 1em; |
95 | 95 |
line-height: 120%; |
static/includes/_font-raleway.scss | ||
---|---|---|
1 |
$raleway-font-path: '../fonts/Raleway' !default; |
|
2 | ||
3 |
@mixin raleway-font($type, $weight) { |
|
4 |
@font-face { |
|
5 |
font-family: 'Raleway'; |
|
6 |
src: url('#{$raleway-font-path}/raleway-#{$type}-webfont.woff2') format('woff2'), |
|
7 |
url('#{$raleway-font-path}/raleway-#{$type}-webfont.woff') format('woff'); |
|
8 |
font-weight: $weight; |
|
9 |
font-style: normal; |
|
10 |
} |
|
11 |
} |
|
12 | ||
13 |
@include raleway-font('regular', 400); |
|
14 |
@include raleway-font('medium', 500); |
|
15 |
@include raleway-font('semibold', 600); |
|
16 |
@include raleway-font('bold', 700); |
|
0 |
- |