Skip to content

Commit

Permalink
Use Atkinson font
Browse files Browse the repository at this point in the history
  • Loading branch information
Kayce Basques committed Jul 12, 2024
1 parent 0e5f65e commit 44b52ee
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 0 deletions.
1 change: 1 addition & 0 deletions eleventy.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ module.exports = config => {
config.addPassthroughCopy('src/**/*.css');
config.addPassthroughCopy('src/**/*.jpg');
config.addPassthroughCopy('src/**/*.pdf');
config.addPassthroughCopy('src/**/*.woff2');
return {
dir: {
input: 'src',
Expand Down
28 changes: 28 additions & 0 deletions src/css/main.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,31 @@
@font-face {
font-family: "Atkinson";
src: url(/fonts/atkinson/regular.woff2);
}

@font-face {
font-family: "Atkinson";
src: url(/fonts/atkinson/bold.woff2);
font-weight: bold;
}

@font-face {
font-family: "Atkinson";
src: url(/fonts/atkinson/bolditalic.woff2);
font-weight: bold;
font-style: italic;
}

@font-face {
font-family: "Atkinson";
src: url(/fonts/atkinson/italic.woff2);
font-style: italic;
}

* {
font-family: "Atkinson", serif;
}

body {
margin-bottom: 0;
margin-left: auto;
Expand Down
Binary file added src/fonts/atkinson/bold.woff2
Binary file not shown.
Binary file added src/fonts/atkinson/bolditalic.woff2
Binary file not shown.
Binary file added src/fonts/atkinson/italic.woff2
Binary file not shown.
Binary file added src/fonts/atkinson/regular.woff2
Binary file not shown.

0 comments on commit 44b52ee

Please sign in to comment.