Skip to content

Commit 1faf21d

Browse files
committed
Add font with fontface
1 parent 6065d8c commit 1faf21d

4 files changed

+24
-11
lines changed
Binary file not shown.
Binary file not shown.

index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<body>
1010
<div class="logo-container">
1111
<img src="img/odin-lined.png" alt="Logo" class="logo-image">
12-
<h1>FURKAN</h1>
12+
<h1 class="logo-header">FURKAN</h1>
1313
</div>
1414
<div class="form-container">
1515
<p>

style.css

+23-10
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,32 @@
1+
* {
2+
margin: 0;
3+
padding: 0;
4+
}
5+
16
body {
2-
display: flex;
3-
flex-direction: row;
7+
display: flex;
8+
flex-direction: row;
9+
font-family: playwrite_gbs, sans-serif, Impact;
410
}
511

612
.logo-container {
7-
display: flex;
8-
justify-content: center;
9-
height: 6rem;
10-
flex-basis: 35%;
11-
background-color: gray;
13+
display: flex;
14+
justify-content: center;
15+
align-self: center;
16+
height: 6rem;
17+
flex-basis: 35%;
18+
background-color: gray;
1219
}
1320

1421
.form-container {
15-
flex-basis: 65%;
16-
background-color: aquamarine;
22+
flex-basis: 65%;
23+
background-color: aquamarine;
1724
}
1825

19-
26+
@font-face {
27+
font-family: "playwrite_gbs";
28+
src: url("fonts/playwritegbs-variablefont_wght-webfont.woff2") format("woff2"),
29+
url("fonts/playwritegbs-variablefont_wght-webfont.woff") format("woff");
30+
font-weight: normal;
31+
font-style: normal;
32+
}

0 commit comments

Comments
 (0)