-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
121 lines (107 loc) · 2.58 KB
/
index.html
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/png" sizes="32x32" href="./assets/images/favicon-32x32.png">
<title>Frontend Mentor | Social links profile</title>
<style>
@font-face {
font-family: 'Inter';
src: url('assets/fonts/Inter-VariableFont_slnt,wght.ttf') format('truetype');
}
.attribution {
margin-top: 70px;
font-size: 11px;
text-align: center;
}
.attribution a {
color: hsl(228, 45%, 44%);
text-decoration: none;
}
img {
border-radius: 150px;
width: 100px;
margin-bottom: 10px;
}
body {
background-color: hsl(0, 0%, 8%);
color: hsl(0, 0%, 100%);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-height: 100vh;
margin: 0;
font-family: 'Inter', sans-serif;
}
.app {
background-color: hsl(0, 0%, 12%);
text-align: center;
height: 500px;
width: 375px;
border-radius: 15px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}
@media (min-width: 1440px) {
.app {
width: 375px;
}
}
.name {
font-size: 30px;
font-weight: 700;
}
.place {
color: hsl(75, 94%, 57%);
margin-top: 5px;
margin-bottom: 20px;
font-weight: 600;
}
.position {
color: hsl(0, 9%, 74%);
font-weight: 400;
font-size: 14px;
}
.btns {
margin-top: 20px;
}
button {
display: block;
align-items: center;
text-align: center;
padding: 10px;
margin: 10px;
width: 90%;
border-radius: 10px;
color: hsl(0, 0%, 100%);
background-color: hsl(0, 0%, 20%);
border: none;
font-weight: 600;
}
button:hover {
background-color: hsl(75, 94%, 57%);
color: black;
}
</style>
</head>
<body>
<div class="app">
<img src="assets/images/avatar-jessica.jpeg" alt="Jessica Randall">
<div class="name">Jessica Randall</div>
<div class="place">London, United Kingdom</div>
<div class="position">"Front-end developer and avid reader."</div>
<div class="btns">
<button>GitHub</button>
<button>Frontend Mentor</button>
<button>LinkedIn</button>
<button>Twitter</button>
<button>Instagram</button>
</div>
</div>
<div class="attribution">
Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>.
Coded by <a href="#">Ahamed Najah</a>.
</div>
</body>
</html>