mirror of
https://github.com/zen-browser/www
synced 2026-04-25 17:14:56 +02:00
Feat: update Title component to use Junicode font and add font-face declaration
This commit is contained in:
BIN
public/fonts/JunicodeVF-Italic.woff2
Normal file
BIN
public/fonts/JunicodeVF-Italic.woff2
Normal file
Binary file not shown.
BIN
public/fonts/JunicodeVF-Roman.woff2
Normal file
BIN
public/fonts/JunicodeVF-Roman.woff2
Normal file
Binary file not shown.
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user