Skip to content

Commit

Permalink
feat: Update font
Browse files Browse the repository at this point in the history
  • Loading branch information
iknowhtml committed Sep 5, 2024
1 parent c800a63 commit b54ac79
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
Binary file added src/fonts/BB-CondBold.woff2
Binary file not shown.
Binary file added src/fonts/BB-Regular.woff2
Binary file not shown.
15 changes: 13 additions & 2 deletions src/style.postcss
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,21 @@
margin: 0;
}

@font-face {
font-family: 'BB';
src: url('./fonts/BB-Regular.woff2') format('woff2');
}
@font-face {
font-family: 'BB';
src: url('./fonts/BB-CondBold.woff2') format('woff2');
font-weight: bold;
font-style: normal;
}

html {
height: 100%;
box-sizing: border-box;
font-family: 'Raleway', sans-serif;
font-family: BB, sans-serif;

@media only screen and (max-width: 640px) {
font-size: 11px;
Expand Down Expand Up @@ -75,10 +86,10 @@ h2 {

h1 {
text-transform: uppercase;
font-weight: 500;
font-size: 1.75rem;
padding-top: 0.5rem;
padding-bottom: 0.25rem;
margin-bottom: 0.5rem;
}

h2 {
Expand Down

0 comments on commit b54ac79

Please sign in to comment.