optimise fonts

fonts are now loaded in a hierarchy:
- title: smallest, loads first, "riki's fluffy little house" characters only
- crit: loads next, contains ASCII + some other stuff, in weights 400-900 (for body text and headings)
- full: loads last, contains everything (italics & monospace too)
This commit is contained in:
りき萌 2025-10-06 20:08:30 +02:00
parent 6b707587ef
commit 2de872e664
15 changed files with 122 additions and 21 deletions

View file

@ -5,7 +5,16 @@
<head>
{{> components/_head.hbs }}
<link rel="stylesheet" href="{{ asset 'css/doc.css' }}">
<style>{{{ include_static 'css/doc.css' }}}</style>
</head>
<body>
{{> components/_sidebar.hbs }}
{{~> components/_doc.hbs }}
{{~> components/_pink_space.hbs }}
<th-overlays></th-overlays>
<th-command-line></th-command-line>
{{#each page.styles}}
<link rel="stylesheet" href="{{ asset (cat 'css/' this) }}">
@ -17,15 +26,6 @@
import "{{ this }}";
{{/each}}
</script>
</head>
<body>
{{> components/_sidebar.hbs }}
{{~> components/_doc.hbs }}
{{~> components/_pink_space.hbs }}
<th-overlays></th-overlays>
<th-command-line></th-command-line>
</body>
</html>