Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: static/scss/_fonts.scss

Issue 29733614: Issue 6483 - Add Source Sans Pro as default font to website-defaults (Closed) Base URL: https://hg.adblockplus.org/website-defaults
Patch Set: Created March 26, 2018, 10:42 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « static/fonts/Source-Sans-Pro/LICENSE.txt ('k') | static/scss/_variables.scss » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // This file is part of website-defaults
2 // Copyright (C) 2016-present eyeo GmbH
3 //
4 // website-defaults is free software: you can redistribute it and/or
5 // modify it under the terms of the GNU General Public License as published by
6 // the Free Software Foundation, either version 3 of the License, or
7 // (at your option) any later version.
8 //
9 // website-defaults is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details.
13 //
14 // You should have received a copy of the GNU General Public License
15 // along with website-defaults. If not, see <http://www.gnu.org/licenses/>.
16
17 /******************************************************************************
18 * Fonts
19 *****************************************************************************/
20
21 /* cyrillic-ext
22 ******************************************************************************/
23
24 @font-face
25 {
26 font-family: "Source Sans Pro";
27 font-style: normal;
28 font-weight: 300;
29 src: local("Source Sans Pro Light"),
30 local("SourceSansPro-Light"),
31 url($path-to-font-files + "/Source-Sans-Pro/300/cyrillic-ext.woff2") forma t("woff2");
32 unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+F E2E-FE2F;
33 }
34
35 @font-face
36 {
37 font-family: "Source Sans Pro";
38 font-style: normal;
39 font-weight: 400;
40 src: local("Source Sans Pro Regular"),
41 local("SourceSansPro-Regular"),
42 url($path-to-font-files + "/Source-Sans-Pro/400/cyrillic-ext.woff2") forma t("woff2");
43 unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+F E2E-FE2F;
44 }
45
46 @font-face
47 {
48 font-family: "Source Sans Pro";
49 font-style: normal;
50 font-weight: 700;
51 src: local("Source Sans Pro Bold"),
52 local("SourceSansPro-Bold"),
53 url($path-to-font-files + "/Source-Sans-Pro/700/cyrillic-ext.woff2") forma t("woff2");
54 unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+F E2E-FE2F;
55 }
56
57 /* cyrillic
58 ******************************************************************************/
59
60 @font-face
61 {
62 font-family: "Source Sans Pro";
63 font-style: normal;
64 font-weight: 300;
65 src: local("Source Sans Pro Light"),
66 local("SourceSansPro-Light"),
67 url($path-to-font-files + "/Source-Sans-Pro/300/cyrillic.woff2") format("w off2");
68 unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
69 }
70
71 @font-face
72 {
73 font-family: "Source Sans Pro";
74 font-style: normal;
75 font-weight: 400;
76 src: local("Source Sans Pro Regular"),
77 local("SourceSansPro-Regular"),
78 url($path-to-font-files + "/Source-Sans-Pro/400/cyrillic.woff2") format("w off2");
79 unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
80 }
81
82 @font-face
83 {
84 font-family: "Source Sans Pro";
85 font-style: normal;
86 font-weight: 700;
87 src: local("Source Sans Pro Bold"),
88 local("SourceSansPro-Bold"),
89 url($path-to-font-files + "/Source-Sans-Pro/700/cyrillic.woff2") format("w off2");
90 unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
91 }
92
93 /* greek-ext
94 ******************************************************************************/
95
96 @font-face
97 {
98 font-family: "Source Sans Pro";
99 font-style: normal;
100 font-weight: 300;
101 src: local("Source Sans Pro Light"),
102 local("SourceSansPro-Light"),
103 url($path-to-font-files + "/Source-Sans-Pro/300/greek-ext.woff2") format(" woff2");
104 unicode-range: U+1F00-1FFF;
105 }
106
107 @font-face
108 {
109 font-family: "Source Sans Pro";
110 font-style: normal;
111 font-weight: 400;
112 src: local("Source Sans Pro Regular"),
113 local("SourceSansPro-Regular"),
114 url($path-to-font-files + "/Source-Sans-Pro/400/greek-ext.woff2") format(" woff2");
115 unicode-range: U+1F00-1FFF;
116 }
117
118 @font-face
119 {
120 font-family: "Source Sans Pro";
121 font-style: normal;
122 font-weight: 700;
123 src: local("Source Sans Pro Bold"),
124 local("SourceSansPro-Bold"),
125 url($path-to-font-files + "/Source-Sans-Pro/700/greek-ext.woff2") format(" woff2");
126 unicode-range: U+1F00-1FFF;
127 }
128
129 /* greek
130 ******************************************************************************/
131
132 @font-face
133 {
134 font-family: "Source Sans Pro";
135 font-style: normal;
136 font-weight: 300;
137 src: local("Source Sans Pro Light"),
138 local("SourceSansPro-Light"),
139 url($path-to-font-files + "/Source-Sans-Pro/300/greek.woff2") format("woff 2");
140 unicode-range: U+0370-03FF;
141 }
142
143 @font-face
144 {
145 font-family: "Source Sans Pro";
146 font-style: normal;
147 font-weight: 400;
148 src: local("Source Sans Pro Regular"),
149 local("SourceSansPro-Regular"),
150 url($path-to-font-files + "/Source-Sans-Pro/400/greek.woff2") format("woff 2");
151 unicode-range: U+0370-03FF;
152 }
153
154 @font-face
155 {
156 font-family: "Source Sans Pro";
157 font-style: normal;
158 font-weight: 700;
159 src: local("Source Sans Pro Bold"),
160 local("SourceSansPro-Bold"),
161 url($path-to-font-files + "/Source-Sans-Pro/700/greek.woff2") format("woff 2");
162 unicode-range: U+0370-03FF;
163 }
164
165 /* vietnamese
166 ******************************************************************************/
167
168 @font-face
169 {
170 font-family: "Source Sans Pro";
171 font-style: normal;
172 font-weight: 300;
173 src: local("Source Sans Pro Light"),
174 local("SourceSansPro-Light"),
175 url($path-to-font-files + "/Source-Sans-Pro/300/vietnamese.woff2") format( "woff2");
176 unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB;
177 }
178
179 @font-face
180 {
181 font-family: "Source Sans Pro";
182 font-style: normal;
183 font-weight: 400;
184 src: local("Source Sans Pro Regular"),
185 local("SourceSansPro-Regular"),
186 url($path-to-font-files + "/Source-Sans-Pro/400/vietnamese.woff2") format( "woff2");
187 unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB;
188 }
189
190 @font-face
191 {
192 font-family: "Source Sans Pro";
193 font-style: normal;
194 font-weight: 700;
195 src: local("Source Sans Pro Bold"),
196 local("SourceSansPro-Bold"),
197 url($path-to-font-files + "/Source-Sans-Pro/700/vietnamese.woff2") format( "woff2");
198 unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB;
199 }
200
201 /* latin-ext
202 ******************************************************************************/
203
204 @font-face
205 {
206 font-family: "Source Sans Pro";
207 font-style: normal;
208 font-weight: 300;
209 src: local("Source Sans Pro Light"),
210 local("SourceSansPro-Light"),
211 url($path-to-font-files + "/Source-Sans-Pro/300/latin-ext.woff2") format(" woff2");
212 unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2 C60-2C7F, U+A720-A7FF;
213 }
214
215 @font-face
216 {
217 font-family: "Source Sans Pro";
218 font-style: normal;
219 font-weight: 400;
220 src: local("Source Sans Pro Regular"),
221 local("SourceSansPro-Regular"),
222 url($path-to-font-files + "/Source-Sans-Pro/400/latin-ext.woff2") format(" woff2");
223 unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2 C60-2C7F, U+A720-A7FF;
224 }
225
226 @font-face
227 {
228 font-family: "Source Sans Pro";
229 font-style: normal;
230 font-weight: 700;
231 src: local("Source Sans Pro Bold"),
232 local("SourceSansPro-Bold"),
233 url($path-to-font-files + "/Source-Sans-Pro/700/latin-ext.woff2") format(" woff2");
234 unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2 C60-2C7F, U+A720-A7FF;
235 }
236
237 /* latin
238 ******************************************************************************/
239
240 @font-face
241 {
242 font-family: "Source Sans Pro";
243 font-style: normal;
244 font-weight: 300;
245 src: local("Source Sans Pro Light"),
246 local("SourceSansPro-Light"),
247 url($path-to-font-files + "/Source-Sans-Pro/300/latin.woff2") format("woff 2");
248 unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2212, U+2215;
249 }
250
251 @font-face
252 {
253 font-family: "Source Sans Pro";
254 font-style: normal;
255 font-weight: 400;
256 src: local("Source Sans Pro Regular"),
257 local("SourceSansPro-Regular"),
258 url($path-to-font-files + "/Source-Sans-Pro/400/latin.woff2") format("woff 2");
259 unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2212, U+2215;
260 }
261
262 @font-face
263 {
264 font-family: "Source Sans Pro";
265 font-style: normal;
266 font-weight: 700;
267 src: local("Source Sans Pro Bold"),
268 local("SourceSansPro-Bold"),
269 url($path-to-font-files + "/Source-Sans-Pro/700/latin.woff2") format("woff 2");
270 unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2212, U+2215;
271 }
272
OLDNEW
« no previous file with comments | « static/fonts/Source-Sans-Pro/LICENSE.txt ('k') | static/scss/_variables.scss » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld