Add exo2 font

This commit is contained in:
Brooke 2024-05-29 13:28:27 -07:00
parent 0ced77898f
commit f8f57d0d40
No known key found for this signature in database
GPG key ID: 56C4CCAEB8BD5307
11 changed files with 33 additions and 4 deletions

27
sass/font-exo2.scss Normal file
View file

@ -0,0 +1,27 @@
@font-face {
font-family: 'Exo2';
src: url('fonts/Exo2-Regular.woff2?sha=123456789') format('woff2'), url('fonts/Exo2-Regular.woff?sha=123456789') format('woff');
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'Exo2';
src: url('fonts/Exo2-Bold.woff2?sha=123456789') format('woff2'), url('fonts/Exo2-Bold.woff?sha=123456789') format('woff');
font-weight: 700;
font-style: normal;
}
@font-face {
font-family: 'Exo2';
src: url('fonts/Exo2-Italic.woff2?sha=123456789') format('woff2'), url('fonts/Exo2-Italic.woff?sha=123456789') format('woff');
font-weight: 400;
font-style: italic;
}
@font-face {
font-family: 'Exo2';
src: url('fonts/Exo2-BoldItalic.woff2?sha=123456789') format('woff2'), url('fonts/Exo2-BoldItalic.woff?sha=123456789') format('woff');
font-weight: 700;
font-style: italic;
}

View file

@ -13,7 +13,7 @@ html {
body {
margin: 0;
padding: 0;
font-family: Hack, DejaVu Sans Mono, Monaco, Consolas, Ubuntu Mono, monospace;
font-family: Exo2, Hack, DejaVu Sans Mono, Monaco, Consolas, Ubuntu Mono, monospace;
font-size: 1rem;
line-height: 1.54;
background-color: var(--background);
@ -118,7 +118,7 @@ figure {
}
code {
font-family: Hack, DejaVu Sans Mono, Monaco, Consolas, Ubuntu Mono, monospace;
font-family: Exo2, Hack, DejaVu Sans Mono, Monaco, Consolas, Ubuntu Mono, monospace;
font-feature-settings: normal;
background: var(--accent-alpha-20);
padding: 1px 6px;
@ -127,7 +127,7 @@ code {
}
pre {
font-family: Hack, DejaVu Sans Mono, Monaco, Consolas, Ubuntu Mono, monospace;
font-family: Exo2, Hack, DejaVu Sans Mono, Monaco, Consolas, Ubuntu Mono, monospace;
padding: 20px;
font-size: .95rem;
overflow: auto;