-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
102 lines (101 loc) · 2.14 KB
/
index.html
File metadata and controls
102 lines (101 loc) · 2.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>main profile card:a submission for Frontend-mentor</title>
<link rel="shortcut icon" href="favicon-32x32.png">
<style type="text/css" media="all">
@font-face{
font-family:'Inter-Bold';
src:url('Inter-Bold.ttf')
}
@font-face{
font-family:'Inter-SemiBold';
src:url('Inter-SemiBold.ttf');
}
@font-face{
font-family:'Inter-Regular';
src:url('Inter-Regular.ttf');
}
body{
display:flex;
justify-content:center;
align-items:center;
margin: 0;
padding:0;
background:#000000;
}
.container{
display:flex;
justify-content:center;
align-items:center;
height:100vh;
}
.card{
background:#1f1f1f;
display:grid;
place-items: center;
padding:10px;
margin:10px;
text-align:center;
border-radius:5px;
}
h2{
color:white;
font-family:"Inter-SemiBold";
margin-bottom:5px;
}
.location{
color:#b1cf54;
font-family:"Inter-Bold";
margin-top:0;
}
p{
color:#fff;
font-family:"Inter-Regular";
}
img{
border-radius:50%;
height:100px;
width:100px;
}
.links a{
display: block;
padding:10px 100px;
color:white;
background:#333333;
text-decoration:none;
border-radius:10px;
margin:10px;
font-family:"Inter-SemiBold";
transition:0.3s;
}
.links a:hover{
background:#C4F82A;
color:black;
}
</style>
</head>
<body>
<div class="container">
<div class="card">
<div>
<img src="avatar-jessica.jpeg" alt="avatar-jessica.jpeg">
</div>
<div>
<h2>Jessica Randall</h2>
<p class="location">London,United Kingdom</p>
<p>"Front-end developer and avid reader."</p>
</div>
<div class="links">
<a href="#">GitHub</a>
<a href="#">Frontend Mentor</a>
<a href="#">Linkedin</a>
<a href="#">Twitter</a>
<a href="#">Instagram</a>
</div>
</div>
</div>
</body>
</html>