Skip to content

Commit

Permalink
Added 2 new fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
Code-JL committed Nov 28, 2024
1 parent 4e922f1 commit d1059fd
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 2 deletions.
27 changes: 25 additions & 2 deletions assets/styles.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,23 @@
/* Fonts */

@font-face {
font-family: 'dakota-motors';
src: url('../fonts/dakota-motors.woff2') format('woff2'),
url('../fonts/dakota-motors.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'roboto';
src: url('../fonts/roboto.woff2') format('woff2'),
url('../fonts/roboto.woff') format('woff');
font-weight: normal;
font-style: normal;
}

/* General Styling */
body {
font-family: 'Arial', sans-serif;
font-family: 'roboto', sans-serif;
margin: 0;
padding: 0;
line-height: 1.6;
Expand Down Expand Up @@ -38,9 +55,10 @@ nav ul li {
}

nav ul li a {
font-family: 'dakota-motors', sans-serif;
font-weight: bold;
color: #a9d3f5; /* Lighter blue */
text-decoration: none;
font-weight: bold;
padding: 5px 10px;
border-radius: 5px;
transition: background 0.3s ease, transform 0.2s ease;
Expand All @@ -63,7 +81,12 @@ section {
color: #eef6fc; /* Text in sections stays light blue */
}

title {
font-family: 'dakota-motors', sans-serif;
}

h1, h2 {
font-family: 'dakota-motors', sans-serif;
color: #eef6fc;
text-align: center;
}
Expand Down
Binary file added fonts/dakota-motors.woff
Binary file not shown.
Binary file added fonts/dakota-motors.woff2
Binary file not shown.
Binary file added fonts/roboto.woff
Binary file not shown.
Binary file added fonts/roboto.woff2
Binary file not shown.

0 comments on commit d1059fd

Please sign in to comment.