Skip to content

Commit

Permalink
update fonts (#470)
Browse files Browse the repository at this point in the history
  • Loading branch information
rossgalloway authored Sep 26, 2024
1 parent 80f7f9d commit 4613fe6
Show file tree
Hide file tree
Showing 24 changed files with 15,872 additions and 4 deletions.
8 changes: 7 additions & 1 deletion src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
* work well for content-centric websites.
*/
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100;200;300;400;500;600;700;800;900&display=swap');
/* You can override the default Infima variables here. */
@import url('/static/fonts/fonts.css');

/* You can override the default Infima variables here. */
:root {
--ifm-color-primary: #007bff;
--ifm-color-primary-dark: rgb(0, 106, 227);
Expand All @@ -19,13 +20,18 @@
--ifm-toc-border-color: transparent;
--ifm-menu-color-background-active: transparent;
--ifm-navbar-height: 5rem;
--ifm-font-family-base: 'Aeonik', 'Roboto', serif;
}

html[data-theme='dark'] {
--ifm-toc-border-color: transparent;
/* background-color: #18191a; */
}

.body {
font-family: 'Aeonik', 'Roboto', serif;
overflow: scroll;
}
.body class data-rh {
overflow: scroll;
}
Expand Down
6 changes: 3 additions & 3 deletions src/pages/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

.card {
--title-bottom: 50px;
font-family: 'Roboto Slab', 'Roboto', serif;
font-family: 'Aeonik', 'Roboto Slab', 'Roboto', serif;
display: flex;
min-width: 300px;
min-height: 210px;
Expand All @@ -39,7 +39,7 @@
position: relative;
}
.card h2 {
font-family: 'Roboto Slab', 'Roboto', serif;
font-family: 'Aeonik', 'Roboto Slab', 'Roboto', serif;
font-weight: 400;
font-size: 2rem;
color: white;
Expand Down Expand Up @@ -101,7 +101,7 @@ html[data-theme='dark'] .card:before {
}

.title {
font-family: 'Roboto Slab', 'Roboto', serif;
font-family: 'Aeonik', 'Roboto Slab', 'Roboto', serif;
font-weight: 900;
position: relative;
text-align: left;
Expand Down
Binary file added static/fonts/Aeonik-Black.ttf
Binary file not shown.
Binary file added static/fonts/Aeonik-Bold.eot
Binary file not shown.
6,500 changes: 6,500 additions & 0 deletions static/fonts/Aeonik-Bold.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/fonts/Aeonik-Bold.ttf
Binary file not shown.
Binary file added static/fonts/Aeonik-Bold.woff
Binary file not shown.
Binary file added static/fonts/Aeonik-Bold.woff2
Binary file not shown.
Binary file added static/fonts/Aeonik-Regular.eot
Binary file not shown.
6,407 changes: 6,407 additions & 0 deletions static/fonts/Aeonik-Regular.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/fonts/Aeonik-Regular.ttf
Binary file not shown.
Binary file added static/fonts/Aeonik-Regular.woff
Binary file not shown.
Binary file added static/fonts/Aeonik-Regular.woff2
Binary file not shown.
Binary file added static/fonts/AeonikMono-Bold.eot
Binary file not shown.
1,440 changes: 1,440 additions & 0 deletions static/fonts/AeonikMono-Bold.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/fonts/AeonikMono-Bold.ttf
Binary file not shown.
Binary file added static/fonts/AeonikMono-Bold.woff
Binary file not shown.
Binary file added static/fonts/AeonikMono-Bold.woff2
Binary file not shown.
Binary file added static/fonts/AeonikMono-Regular.eot
Binary file not shown.
1,466 changes: 1,466 additions & 0 deletions static/fonts/AeonikMono-Regular.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/fonts/AeonikMono-Regular.ttf
Binary file not shown.
Binary file added static/fonts/AeonikMono-Regular.woff
Binary file not shown.
Binary file added static/fonts/AeonikMono-Regular.woff2
Binary file not shown.
49 changes: 49 additions & 0 deletions static/fonts/fonts.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
@font-face {
font-family: 'Aeonik Mono';
src: url('AeonikMono-Regular.eot');
src: local('Aeonik Mono Regular'), local('AeonikMono-Regular'),
url('AeonikMono-Regular.eot?#iefix') format('embedded-opentype'),
url('AeonikMono-Regular.woff2') format('woff2'),
url('AeonikMono-Regular.woff') format('woff'),
url('AeonikMono-Regular.ttf') format('truetype'),
url('AeonikMono-Regular.svg#AeonikMono-Regular') format('svg');
font-weight: normal;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Aeonik Mono';
src: url('AeonikMono-Bold.eot');
src: local('Aeonik Mono Bold'), local('AeonikMono-Bold'),
url('AeonikMono-Bold.eot?#iefix') format('embedded-opentype'),
url('AeonikMono-Bold.woff2') format('woff2'),
url('AeonikMono-Bold.woff') format('woff'),
url('AeonikMono-Bold.ttf') format('truetype'),
url('AeonikMono-Bold.svg#AeonikMono-Bold') format('svg');
font-weight: bold;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Aeonik';
src: url('Aeonik-Regular.woff2') format('woff2'),
url('Aeonik-Regular.woff') format('woff'),
url('Aeonik-Regular.ttf') format('truetype'),
url('Aeonik-Regular.eot') format('embedded-opentype'),
url('Aeonik-Regular.svg') format('svg');
font-weight: normal;
font-style: normal;
}

@font-face {
font-family: 'Aeonik';
src: url('Aeonik-Bold.woff2') format('woff2'),
url('Aeonik-Bold.woff') format('woff'),
url('Aeonik-Bold.ttf') format('truetype'),
url('Aeonik-Bold.eot') format('embedded-opentype'),
url('Aeonik-Bold.svg') format('svg');
font-weight: bold;
font-style: normal;
}

0 comments on commit 4613fe6

Please sign in to comment.