Skip to content

Commit d83ed42

Browse files
authored
fix: don't replace all the fonts with Lota Grotesque SemiBold (#1038)
The fix from #1037 worked way too well. This PR only applies the font to the relevant `font-family`. ![obrazek](https://github.com/apify/apify-docs/assets/61918049/f3b08273-e096-4d29-aa89-9530b95f7aca) (I actually kinda like the look of it, but it all probably shouldn't be the same `font-weight`. I suppose the web team can deal with the design question later).
1 parent f051b2e commit d83ed42

File tree

1 file changed

+0
-77
lines changed

1 file changed

+0
-77
lines changed

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

Lines changed: 0 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -339,90 +339,13 @@ body {
339339
line-height: 24px;
340340
}
341341

342-
@font-face {
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-
412342
@font-face {
413343
font-family: 'Lota Grotesque';
414344
src: url('/font/lota.woff2') format('woff2'),
415345
url('/font/lota.woff') format('woff');
416346
font-weight: 600;
417347
}
418348

419-
@font-face {
420-
font-family: sans-serif;
421-
src: url('/font/lota.woff2') format('woff2'),
422-
url('/font/lota.woff') format('woff');
423-
font-weight: 600;
424-
}
425-
426349
.navbar__item {
427350
font-weight: 500;
428351
}

0 commit comments

Comments
 (0)