-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
103 lines (94 loc) · 2.46 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Social Links Profile</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap"
rel="stylesheet"
/>
<style>
body {
background-color: hsl(0, 0%, 8%);
color: white;
font-family: "Inter", sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
.container {
background-color: hsl(0, 0%, 12%);
padding: 20px;
border-radius: 12px;
text-align: center;
width: 300px;
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}
.profile-img {
width: 80px;
height: 80px;
border-radius: 50%;
object-fit: cover;
margin-bottom: 10px;
}
.name {
font-size: 1.2em;
font-weight: bold;
}
.location {
color: hsl(75, 94%, 57%);
font-size: 0.9em;
margin-bottom: 10px;
}
.description {
font-size: 0.9em;
margin-bottom: 15px;
color: hsl(0, 0%, 80%);
}
.buttons {
display: flex;
flex-direction: column;
gap: 10px;
}
.buttons button {
background-color: hsl(0, 0%, 20%);
color: white;
border: none;
padding: 10px;
border-radius: 8px;
font-size: 1em;
font-weight: bold;
cursor: pointer;
transition: background-color 0.3s ease;
}
.buttons button:hover {
background-color: hsl(75, 94%, 57%);
color: black;
}
</style>
</head>
<body>
<div class="container">
<img
src="./assets/images/avatar-jessica.jpeg"
alt="Jessica Randall"
class="profile-img"
/>
<h1 class="name">Jessica Randall</h1>
<h2 class="location">London, United Kingdom</h2>
<p class="description">"Front-end developer and avid reader."</p>
<div class="buttons">
<button>GitHub</button>
<button>Frontend Mentor</button>
<button>LinkedIn</button>
<button>Twitter</button>
<button>Instagram</button>
</div>
</div>
</body>
</html>