Add Intel One Mono font

This commit is contained in:
Helen Chong 2024-07-29 22:18:26 +08:00
parent 54f2cffa1c
commit 7d1beef35b
5 changed files with 30 additions and 2 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,3 +1,31 @@
@font-face {
font-display: swap;
font-family: 'Intel One Mono';
font-style: normal;
font-weight: 400;
src: url('./../../fonts/IntelOneMono-Regular.woff2') format('woff2');
}
@font-face {
font-display: swap;
font-family: 'Intel One Mono';
font-style: italic;
font-weight: 400;
src: url('./../../fonts/IntelOneMono-Italic.woff2') format('woff2');
}
@font-face {
font-display: swap;
font-family: 'Intel One Mono';
font-style: normal;
font-weight: 700;
src: url('./../../fonts/IntelOneMono-Bold.woff2') format('woff2');
}
@font-face {
font-display: swap;
font-family: 'Intel One Mono';
font-style: italic;
font-weight: 700;
src: url('./../../fonts/IntelOneMono-BoldItalic.woff2') format('woff2');
}
html { html {
font-size: 16px; font-size: 16px;
} }
@ -117,7 +145,7 @@ aside em {
font-style: normal; font-style: normal;
} }
pre { pre {
font-family: "Cousine webfont", monospace; font-family: "Intel One Mono", ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono', monospace;
font-size: 0.85em; font-size: 0.85em;
background-color: #383839; background-color: #383839;
margin: 1rem 0rem; margin: 1rem 0rem;
@ -125,7 +153,7 @@ pre {
white-space: pre; white-space: pre;
} }
code { code {
font-family: "Cousine webfont", monospace; font-family: "Intel One Mono", ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono', monospace;
font-size: 0.85em; font-size: 0.85em;
background-color: #383839; background-color: #383839;
padding: 0.125em 0.25em 0em 0.25em; padding: 0.125em 0.25em 0em 0.25em;