Skip to content

Commit

Permalink
switch to SN Pro font
Browse files Browse the repository at this point in the history
  • Loading branch information
Westley-Winks committed May 29, 2024
1 parent d5c9c0c commit 560ca88
Show file tree
Hide file tree
Showing 10 changed files with 40 additions and 2 deletions.
2 changes: 0 additions & 2 deletions layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
<link rel="shortcut icon" type="image/png" href="{{ "assets/favicon.png" | relURL }}"/>
<link rel="me" href="https://social.lol/@ww">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@exampledev/new.css@1/new.min.css">
<link rel="stylesheet" href="https://fonts.xz.style/serve/inter.css">

<link rel="stylesheet" href="https://unpkg.com/littlefoot/dist/littlefoot.css"/>

<link rel="stylesheet" href="/css/custom.css">
40 changes: 40 additions & 0 deletions static/css/custom.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,43 @@
@font-face {
font-family: 'SN Pro';
src: url('fonts/sn-pro/SNPro-BoldItalic.woff2') format('woff2'),
url('fonts/sn-pro/SNPro-BoldItalic.woff') format('woff');
font-weight: bold;
font-style: italic;
font-display: swap;
}

@font-face {
font-family: 'SN Pro';
src: url('fonts/sn-pro/SNPro-Bold.woff2') format('woff2'),
url('fonts/sn-pro/SNPro-Bold.woff') format('woff');
font-weight: bold;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'SN Pro';
src: url('fonts/sn-pro/SNPro-RegularItalic.woff2') format('woff2'),
url('fonts/sn-pro/SNPro-RegularItalic.woff') format('woff');
font-weight: normal;
font-style: italic;
font-display: swap;
}

@font-face {
font-family: 'SN Pro';
src: url('fonts/sn-pro/SNPro-Regular.woff2') format('woff2'),
url('fonts/sn-pro/SNPro-Regular.woff') format('woff');
font-weight: normal;
font-style: normal;
font-display: swap;
}

:root {
--nc-font-sans: 'SN Pro', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

footer {
margin-top: 2.5rem;
}
Expand Down
Binary file added static/css/fonts/sn-pro/SNPro-Bold.woff
Binary file not shown.
Binary file added static/css/fonts/sn-pro/SNPro-Bold.woff2
Binary file not shown.
Binary file added static/css/fonts/sn-pro/SNPro-BoldItalic.woff
Binary file not shown.
Binary file added static/css/fonts/sn-pro/SNPro-BoldItalic.woff2
Binary file not shown.
Binary file added static/css/fonts/sn-pro/SNPro-Regular.woff
Binary file not shown.
Binary file added static/css/fonts/sn-pro/SNPro-Regular.woff2
Binary file not shown.
Binary file added static/css/fonts/sn-pro/SNPro-RegularItalic.woff
Binary file not shown.
Binary file added static/css/fonts/sn-pro/SNPro-RegularItalic.woff2
Binary file not shown.

0 comments on commit 560ca88

Please sign in to comment.