Feat: update Title component to use Junicode font and add font-face declaration

This commit is contained in:
mr. M
2024-11-24 22:36:25 +01:00
parent 04d6de58f8
commit c059b99ea7
3 changed files with 6 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -6,11 +6,16 @@ const { class: className } = Astro.props;
<slot />
</h1>
<style>
@font-face {
font-family: 'Junicode';
src: url('/fonts/JunicodeVF-Roman.woff2') format('woff2');
}
h1 {
font-size: 2.8rem;
line-height: 1.2;
margin-bottom: .4rem;
font-family: "Instrument Serif", serif;
font-family: "Junicode", serif;
font-weight: 400;
font-variation-settings: unset;
font-style: normal;