Skip to content

Commit

Permalink
correct font-weight and add alternative font family
Browse files Browse the repository at this point in the history
  • Loading branch information
lizbarkovska committed Oct 1, 2024
1 parent 0389ab8 commit 34d5e85
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/styles/blocks/page.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.page {
margin: 0;
font-family: Avenir, serif;
margin-top: 0;
font-family: Avenir, Arial, serif;
font-weight: 300;
}

Expand Down
8 changes: 4 additions & 4 deletions src/styles/blocks/search.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
box-sizing: border-box;
background-image: url('../../images/Search.svg');
background-repeat: no-repeat;
font-family: Avenir, serif;
font-weight: 300;
font-family: Avenir, Arial, sans-serif;
font-weight: 400;
box-shadow: 0 1px 8px #3d4e611a;
border-radius: 4px;
}
Expand All @@ -24,7 +24,7 @@
}

.search:focus {
font-weight: 400;
font-weight: 900;
background-color: #f6f6f7;
border-radius: 3px;
}
Expand All @@ -35,7 +35,7 @@

.search--small {
height: 42px;
background-position: 13 15;
background-position: 13px 15px;
background-size: 11px 11px;
padding: 12px 0 11px 33px;
font-size: 14px;
Expand Down
8 changes: 4 additions & 4 deletions src/styles/fonts.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
@font-face {
font-family: Avenir;
font-family: Avenir, Arial, sans-serif;
src: url('../fonts/Avenir-Book.ttf');
font-weight: 300;
font-weight: 400;
}

@font-face {
font-family: Avenir;
font-family: Avenir, Arial, sans-serif;
src: url('../fonts/Avenir-Heavy.ttf');
font-weight: 400;
font-weight: 900;
}

0 comments on commit 34d5e85

Please sign in to comment.