Font stacks as used in shared.css
Serif: Georgia, 'Times New Roman', serif for body text (this course uses it)
Sans: -apple-system, Helvetica, Arial, sans-serif for headings and UI
Mono: ui-monospace, SFMono-Regular, Menlo, monospace for code
body { font-family: Georgia, 'Times New Roman', serif; }
h1,h2,h3 { font-family: -apple-system, Helvetica, Arial, sans-serif; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
Why stacks: Not every OS has the same fonts. Browser tries first, falls back to next. serif/sans-serif/monospace are guaranteed generics.
Web fonts: @font-face and Google Fonts
This is Inter from Google Fonts, loaded via <link>.
IBM Plex Serif is another Google Font, a serif.
<!-- in <head> -->
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap" rel="stylesheet">
<style>
body { font-family: 'Inter', sans-serif; }
</style>
Performance: Each font weight is a download. Don't load 6 weights if you use 2. Add &display=swap so text shows immediately with fallback while font loads.