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

Delta Between Two Patch Sets: static/css/fonts.css

Issue 29693561: Noissue - Update font-family to Source Sans Pro on abp.org (Closed) Base URL: https://hg.adblockplus.org/web.adblockplus.org
Left Patch Set: Update licence file Created March 13, 2018, 1:48 p.m.
Right Patch Set: Rebase Created March 14, 2018, 6:12 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « includes/styles.tmpl ('k') | static/css/main.css » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 /****************************************************************************** 1 /******************************************************************************
2 * Fonts 2 * Fonts
3 *****************************************************************************/ 3 *****************************************************************************/
4 4
5 /* cyrillic-ext 5 /* cyrillic-ext
juliandoucette 2018/03/14 17:08:38 Can't we use a jinja template to place these style
saroyanm 2018/03/14 17:56:30 That's an interesting approach, but you can't dete
ire 2018/03/14 18:10:31 We don't need to. The fonts should only be loaded
juliandoucette 2018/03/14 18:18:00 Acknowledged.
juliandoucette 2018/03/14 18:18:01 Acknowledged.
6 ******************************************************************************/ 6 ******************************************************************************/
7 7
8 @font-face 8 @font-face
9 { 9 {
10 font-family: "Source Sans Pro"; 10 font-family: "Source Sans Pro";
11 font-style: normal; 11 font-style: normal;
12 font-weight: 300; 12 font-weight: 300;
13 src: local("Source Sans Pro Light"), 13 src: local("Source Sans Pro Light"),
14 local("SourceSansPro-Light") 14 local("SourceSansPro-Light"),
15 url("../fonts/Source-Sans-Pro/300/cyrillic-ext.woff2") format("woff2"); 15 url("../fonts/Source-Sans-Pro/300/cyrillic-ext.woff2") format("woff2");
16 unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+F E2E-FE2F; 16 unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+F E2E-FE2F;
17 } 17 }
18 18
19 @font-face 19 @font-face
20 { 20 {
21 font-family: "Source Sans Pro"; 21 font-family: "Source Sans Pro";
22 font-style: normal; 22 font-style: normal;
23 font-weight: 400; 23 font-weight: 400;
24 src: local("Source Sans Pro Regular"), 24 src: local("Source Sans Pro Regular"),
25 local("SourceSansPro-Regular") 25 local("SourceSansPro-Regular"),
26 url("../fonts/Source-Sans-Pro/400/cyrillic-ext.woff2") format("woff2"); 26 url("../fonts/Source-Sans-Pro/400/cyrillic-ext.woff2") format("woff2");
27 unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+F E2E-FE2F; 27 unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+F E2E-FE2F;
28 } 28 }
29 29
30 @font-face 30 @font-face
31 { 31 {
32 font-family: "Source Sans Pro"; 32 font-family: "Source Sans Pro";
33 font-style: normal; 33 font-style: normal;
34 font-weight: 700; 34 font-weight: 700;
35 src: local("Source Sans Pro Bold"), 35 src: local("Source Sans Pro Bold"),
36 local("SourceSansPro-Bold") 36 local("SourceSansPro-Bold"),
37 url("../fonts/Source-Sans-Pro/700/cyrillic-ext.woff2") format("woff2"); 37 url("../fonts/Source-Sans-Pro/700/cyrillic-ext.woff2") format("woff2");
38 unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+F E2E-FE2F; 38 unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+F E2E-FE2F;
39 } 39 }
40 40
41 /* cyrillic 41 /* cyrillic
42 ******************************************************************************/ 42 ******************************************************************************/
43 43
44 @font-face 44 @font-face
45 { 45 {
46 font-family: "Source Sans Pro"; 46 font-family: "Source Sans Pro";
47 font-style: normal; 47 font-style: normal;
48 font-weight: 300; 48 font-weight: 300;
49 src: local("Source Sans Pro Light"), 49 src: local("Source Sans Pro Light"),
50 local("SourceSansPro-Light") 50 local("SourceSansPro-Light"),
51 url("../fonts/Source-Sans-Pro/300/cyrillic.woff2") format("woff2"); 51 url("../fonts/Source-Sans-Pro/300/cyrillic.woff2") format("woff2");
52 unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; 52 unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
53 } 53 }
54 54
55 @font-face 55 @font-face
56 { 56 {
57 font-family: "Source Sans Pro"; 57 font-family: "Source Sans Pro";
58 font-style: normal; 58 font-style: normal;
59 font-weight: 400; 59 font-weight: 400;
60 src: local("Source Sans Pro Regular"), 60 src: local("Source Sans Pro Regular"),
61 local("SourceSansPro-Regular") 61 local("SourceSansPro-Regular"),
62 url("../fonts/Source-Sans-Pro/400/cyrillic.woff2") format("woff2"); 62 url("../fonts/Source-Sans-Pro/400/cyrillic.woff2") format("woff2");
63 unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; 63 unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
64 } 64 }
65 65
66 @font-face 66 @font-face
67 { 67 {
68 font-family: "Source Sans Pro"; 68 font-family: "Source Sans Pro";
69 font-style: normal; 69 font-style: normal;
70 font-weight: 700; 70 font-weight: 700;
71 src: local("Source Sans Pro Bold"), 71 src: local("Source Sans Pro Bold"),
72 local("SourceSansPro-Bold") 72 local("SourceSansPro-Bold"),
73 url("../fonts/Source-Sans-Pro/700/cyrillic.woff2") format("woff2"); 73 url("../fonts/Source-Sans-Pro/700/cyrillic.woff2") format("woff2");
74 unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; 74 unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
75 } 75 }
76 76
77 /* greek-ext 77 /* greek-ext
78 ******************************************************************************/ 78 ******************************************************************************/
79 79
80 @font-face 80 @font-face
81 { 81 {
82 font-family: "Source Sans Pro"; 82 font-family: "Source Sans Pro";
83 font-style: normal; 83 font-style: normal;
84 font-weight: 300; 84 font-weight: 300;
85 src: local("Source Sans Pro Light"), 85 src: local("Source Sans Pro Light"),
86 local("SourceSansPro-Light") 86 local("SourceSansPro-Light"),
87 url("../fonts/Source-Sans-Pro/300/greek-ext.woff2") format("woff2"); 87 url("../fonts/Source-Sans-Pro/300/greek-ext.woff2") format("woff2");
88 unicode-range: U+1F00-1FFF; 88 unicode-range: U+1F00-1FFF;
89 } 89 }
90 90
91 @font-face 91 @font-face
92 { 92 {
93 font-family: "Source Sans Pro"; 93 font-family: "Source Sans Pro";
94 font-style: normal; 94 font-style: normal;
95 font-weight: 400; 95 font-weight: 400;
96 src: local("Source Sans Pro Regular"), 96 src: local("Source Sans Pro Regular"),
97 local("SourceSansPro-Regular") 97 local("SourceSansPro-Regular"),
98 url("../fonts/Source-Sans-Pro/400/greek-ext.woff2") format("woff2"); 98 url("../fonts/Source-Sans-Pro/400/greek-ext.woff2") format("woff2");
99 unicode-range: U+1F00-1FFF; 99 unicode-range: U+1F00-1FFF;
100 } 100 }
101 101
102 @font-face 102 @font-face
103 { 103 {
104 font-family: "Source Sans Pro"; 104 font-family: "Source Sans Pro";
105 font-style: normal; 105 font-style: normal;
106 font-weight: 700; 106 font-weight: 700;
107 src: local("Source Sans Pro Bold"), 107 src: local("Source Sans Pro Bold"),
108 local("SourceSansPro-Bold") 108 local("SourceSansPro-Bold"),
109 url("../fonts/Source-Sans-Pro/700/greek-ext.woff2") format("woff2"); 109 url("../fonts/Source-Sans-Pro/700/greek-ext.woff2") format("woff2");
110 unicode-range: U+1F00-1FFF; 110 unicode-range: U+1F00-1FFF;
111 } 111 }
112 112
113 /* greek 113 /* greek
114 ******************************************************************************/ 114 ******************************************************************************/
115 115
116 @font-face 116 @font-face
117 { 117 {
118 font-family: "Source Sans Pro"; 118 font-family: "Source Sans Pro";
119 font-style: normal; 119 font-style: normal;
120 font-weight: 300; 120 font-weight: 300;
121 src: local("Source Sans Pro Light"), 121 src: local("Source Sans Pro Light"),
122 local("SourceSansPro-Light") 122 local("SourceSansPro-Light"),
123 url("../fonts/Source-Sans-Pro/300/greek.woff2") format("woff2"); 123 url("../fonts/Source-Sans-Pro/300/greek.woff2") format("woff2");
124 unicode-range: U+0370-03FF; 124 unicode-range: U+0370-03FF;
125 } 125 }
126 126
127 @font-face 127 @font-face
128 { 128 {
129 font-family: "Source Sans Pro"; 129 font-family: "Source Sans Pro";
130 font-style: normal; 130 font-style: normal;
131 font-weight: 400; 131 font-weight: 400;
132 src: local("Source Sans Pro Regular"), 132 src: local("Source Sans Pro Regular"),
133 local("SourceSansPro-Regular") 133 local("SourceSansPro-Regular"),
134 url("../fonts/Source-Sans-Pro/400/greek.woff2") format("woff2"); 134 url("../fonts/Source-Sans-Pro/400/greek.woff2") format("woff2");
135 unicode-range: U+0370-03FF; 135 unicode-range: U+0370-03FF;
136 } 136 }
137 137
138 @font-face 138 @font-face
139 { 139 {
140 font-family: "Source Sans Pro"; 140 font-family: "Source Sans Pro";
141 font-style: normal; 141 font-style: normal;
142 font-weight: 700; 142 font-weight: 700;
143 src: local("Source Sans Pro Bold"), 143 src: local("Source Sans Pro Bold"),
144 local("SourceSansPro-Bold") 144 local("SourceSansPro-Bold"),
145 url("../fonts/Source-Sans-Pro/700/greek.woff2") format("woff2"); 145 url("../fonts/Source-Sans-Pro/700/greek.woff2") format("woff2");
146 unicode-range: U+0370-03FF; 146 unicode-range: U+0370-03FF;
147 } 147 }
148 148
149 /* vietnamese 149 /* vietnamese
150 ******************************************************************************/ 150 ******************************************************************************/
151 151
152 @font-face 152 @font-face
153 { 153 {
154 font-family: "Source Sans Pro"; 154 font-family: "Source Sans Pro";
155 font-style: normal; 155 font-style: normal;
156 font-weight: 300; 156 font-weight: 300;
157 src: local("Source Sans Pro Light"), 157 src: local("Source Sans Pro Light"),
158 local("SourceSansPro-Light") 158 local("SourceSansPro-Light"),
159 url("../fonts/Source-Sans-Pro/300/vietnamese.woff2") format("woff2"); 159 url("../fonts/Source-Sans-Pro/300/vietnamese.woff2") format("woff2");
160 unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB; 160 unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB;
161 } 161 }
162 162
163 @font-face 163 @font-face
164 { 164 {
165 font-family: "Source Sans Pro"; 165 font-family: "Source Sans Pro";
166 font-style: normal; 166 font-style: normal;
167 font-weight: 400; 167 font-weight: 400;
168 src: local("Source Sans Pro Regular"), 168 src: local("Source Sans Pro Regular"),
169 local("SourceSansPro-Regular") 169 local("SourceSansPro-Regular"),
170 url("../fonts/Source-Sans-Pro/400/vietnamese.woff2") format("woff2"); 170 url("../fonts/Source-Sans-Pro/400/vietnamese.woff2") format("woff2");
171 unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB; 171 unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB;
172 } 172 }
173 173
174 @font-face 174 @font-face
175 { 175 {
176 font-family: "Source Sans Pro"; 176 font-family: "Source Sans Pro";
177 font-style: normal; 177 font-style: normal;
178 font-weight: 700; 178 font-weight: 700;
179 src: local("Source Sans Pro Bold"), 179 src: local("Source Sans Pro Bold"),
180 local("SourceSansPro-Bold") 180 local("SourceSansPro-Bold"),
181 url("../fonts/Source-Sans-Pro/700/vietnamese.woff2") format("woff2"); 181 url("../fonts/Source-Sans-Pro/700/vietnamese.woff2") format("woff2");
182 unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB; 182 unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB;
183 } 183 }
184 184
185 /* latin-ext 185 /* latin-ext
186 ******************************************************************************/ 186 ******************************************************************************/
187 187
188 @font-face 188 @font-face
189 { 189 {
190 font-family: "Source Sans Pro"; 190 font-family: "Source Sans Pro";
191 font-style: normal; 191 font-style: normal;
192 font-weight: 300; 192 font-weight: 300;
193 src: local("Source Sans Pro Light"), 193 src: local("Source Sans Pro Light"),
194 local("SourceSansPro-Light") 194 local("SourceSansPro-Light"),
195 url("../fonts/Source-Sans-Pro/300/latin-ext.woff2") format("woff2"); 195 url("../fonts/Source-Sans-Pro/300/latin-ext.woff2") format("woff2");
196 unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2 C60-2C7F, U+A720-A7FF; 196 unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2 C60-2C7F, U+A720-A7FF;
197 } 197 }
198 198
199 @font-face 199 @font-face
200 { 200 {
201 font-family: "Source Sans Pro"; 201 font-family: "Source Sans Pro";
202 font-style: normal; 202 font-style: normal;
203 font-weight: 400; 203 font-weight: 400;
204 src: local("Source Sans Pro Regular"), 204 src: local("Source Sans Pro Regular"),
205 local("SourceSansPro-Regular") 205 local("SourceSansPro-Regular"),
206 url("../fonts/Source-Sans-Pro/400/latin-ext.woff2") format("woff2"); 206 url("../fonts/Source-Sans-Pro/400/latin-ext.woff2") format("woff2");
207 unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2 C60-2C7F, U+A720-A7FF; 207 unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2 C60-2C7F, U+A720-A7FF;
208 } 208 }
209 209
210 @font-face 210 @font-face
211 { 211 {
212 font-family: "Source Sans Pro"; 212 font-family: "Source Sans Pro";
213 font-style: normal; 213 font-style: normal;
214 font-weight: 700; 214 font-weight: 700;
215 src: local("Source Sans Pro Bold"), 215 src: local("Source Sans Pro Bold"),
216 local("SourceSansPro-Bold") 216 local("SourceSansPro-Bold"),
217 url("../fonts/Source-Sans-Pro/700/latin-ext.woff2") format("woff2"); 217 url("../fonts/Source-Sans-Pro/700/latin-ext.woff2") format("woff2");
218 unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2 C60-2C7F, U+A720-A7FF; 218 unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2 C60-2C7F, U+A720-A7FF;
219 } 219 }
220 220
221 /* latin 221 /* latin
222 ******************************************************************************/ 222 ******************************************************************************/
223 223
224 @font-face 224 @font-face
225 { 225 {
226 font-family: "Source Sans Pro"; 226 font-family: "Source Sans Pro";
227 font-style: normal; 227 font-style: normal;
228 font-weight: 300; 228 font-weight: 300;
229 src: local("Source Sans Pro Light"), 229 src: local("Source Sans Pro Light"),
230 local("SourceSansPro-Light") 230 local("SourceSansPro-Light"),
231 url("../fonts/Source-Sans-Pro/300/latin.woff2") format("woff2"); 231 url("../fonts/Source-Sans-Pro/300/latin.woff2") format("woff2");
232 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; 232 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;
233 } 233 }
234 234
235 @font-face 235 @font-face
236 { 236 {
237 font-family: "Source Sans Pro"; 237 font-family: "Source Sans Pro";
238 font-style: normal; 238 font-style: normal;
239 font-weight: 400; 239 font-weight: 400;
240 src: local("Source Sans Pro Regular"), 240 src: local("Source Sans Pro Regular"),
241 local("SourceSansPro-Regular") 241 local("SourceSansPro-Regular"),
242 url("../fonts/Source-Sans-Pro/400/latin.woff2") format("woff2"); 242 url("../fonts/Source-Sans-Pro/400/latin.woff2") format("woff2");
243 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; 243 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;
244 } 244 }
245 245
246 @font-face 246 @font-face
247 { 247 {
248 font-family: "Source Sans Pro"; 248 font-family: "Source Sans Pro";
249 font-style: normal; 249 font-style: normal;
250 font-weight: 700; 250 font-weight: 700;
251 src: local("Source Sans Pro Bold"), 251 src: local("Source Sans Pro Bold"),
252 local("SourceSansPro-Bold") 252 local("SourceSansPro-Bold"),
253 url("../fonts/Source-Sans-Pro/700/latin.woff2") format("woff2"); 253 url("../fonts/Source-Sans-Pro/700/latin.woff2") format("woff2");
254 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; 254 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;
255 } 255 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld