use berkeley mono font

This commit is contained in:
John Bowdre 2024-04-20 16:30:54 -05:00
parent 096e899c70
commit 8b5e5146cf

View file

@ -1,6 +1,34 @@
/* color overrides */ /* color overrides */
:root { :root {
--code: var(--base06); --code: var(--base06);
--font-monospace: 'Berkeley Mono', 'monospace';
}
@font-face {
font-family: 'Berkeley Mono';
font-style: normal;
font-weight: 400;
src: local('Berkeley Mono'),
url('/fonts/BerkeleyMono-Regular.woff2') format('woff2'),
url('/fonts/BerkeleyMono-Regular.woff') format('woff')
}
@font-face {
font-family: 'Berkeley Mono';
font-style: italic;
font-weight: 400;
src: local('Berkeley Mono Italic'),
url('/fonts/BerkeleyMono-Italic.woff2') format('woff2'),
url('/fonts/BerkeleyMono-Italic.woff') format('woff')
}
@font-face {
font-family: 'Berkeley Mono';
font-style: normal;
font-weight: 600;
src: local('Berkeley Mono Bold'),
url('/fonts/BerkeleyMono-Bold.woff2') format('woff2'),
url('/fonts/BerkeleyMono-Bold.woff') format('woff')
} }
/* override page max-width */ /* override page max-width */