Skip to content

Commit 811127d

Browse files
authored
fix: split the @font-face rule to make it valid (#1037)
1 parent 2a8f031 commit 811127d

File tree

1 file changed

+79
-4
lines changed

1 file changed

+79
-4
lines changed

apify-docs-theme/src/theme/custom.css

Lines changed: 79 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -340,11 +340,86 @@ body {
340340
}
341341

342342
@font-face {
343-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI',
344-
'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans',
345-
'Helvetica Neue', sans-serif;
343+
font-family: -apple-system;
344+
src: url('/font/lota.woff2') format('woff2'),
345+
url('/font/lota.woff') format('woff');
346+
font-weight: 600;
347+
}
348+
349+
@font-face {
350+
font-family: BlinkMacSystemFont;
351+
src: url('/font/lota.woff2') format('woff2'),
352+
url('/font/lota.woff') format('woff');
353+
font-weight: 600;
354+
}
355+
356+
@font-face {
357+
font-family: 'Segoe UI';
358+
src: url('/font/lota.woff2') format('woff2'),
359+
url('/font/lota.woff') format('woff');
360+
font-weight: 600;
361+
}
362+
363+
@font-face {
364+
font-family: 'Roboto';
365+
src: url('/font/lota.woff2') format('woff2'),
366+
url('/font/lota.woff') format('woff');
367+
font-weight: 600;
368+
}
369+
370+
@font-face {
371+
font-family: 'Oxygen';
372+
src: url('/font/lota.woff2') format('woff2'),
373+
url('/font/lota.woff') format('woff');
374+
font-weight: 600;
375+
}
376+
377+
@font-face {
378+
font-family: 'Ubuntu';
379+
src: url('/font/lota.woff2') format('woff2'),
380+
url('/font/lota.woff') format('woff');
381+
font-weight: 600;
382+
}
383+
384+
@font-face {
385+
font-family: 'Cantarell';
386+
src: url('/font/lota.woff2') format('woff2'),
387+
url('/font/lota.woff') format('woff');
388+
font-weight: 600;
389+
}
390+
391+
@font-face {
392+
font-family: 'Fira Sans';
393+
src: url('/font/lota.woff2') format('woff2'),
394+
url('/font/lota.woff') format('woff');
395+
font-weight: 600;
396+
}
397+
398+
@font-face {
399+
font-family: 'Droid Sans';
400+
src: url('/font/lota.woff2') format('woff2'),
401+
url('/font/lota.woff') format('woff');
402+
font-weight: 600;
403+
}
404+
405+
@font-face {
406+
font-family: 'Helvetica Neue';
407+
src: url('/font/lota.woff2') format('woff2'),
408+
url('/font/lota.woff') format('woff');
409+
font-weight: 600;
410+
}
411+
412+
@font-face {
413+
font-family: 'Lota Grotesque';
414+
src: url('/font/lota.woff2') format('woff2'),
415+
url('/font/lota.woff') format('woff');
416+
font-weight: 600;
417+
}
418+
419+
@font-face {
420+
font-family: sans-serif;
346421
src: url('/font/lota.woff2') format('woff2'),
347-
url('/font/lota.woff') format('woff');
422+
url('/font/lota.woff') format('woff');
348423
font-weight: 600;
349424
}
350425

0 commit comments

Comments
 (0)