blob: d174a9ca7ac5ba5db7b4bef6aa4cd9c1dee94d64 (
plain) (
blame)
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
|
---
import UserProfileImage from '../assets/user-profile-image.png'
---
<header class="profile">
<div class="profile-picture-content">
<figure class="profile-picture">
<img src={UserProfileImage.src} alt="This is me!">
</figure>
</div>
<div class="profile-data">
<h1 class="profile-name">Kelly Bowlin</h1>
<p class="profile-profession">Web Designer</p>
</div>
</header>
<style>
.profile {
margin-top: 6rem;
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
}
.profile-picture-content {
padding: 0.5rem;
border-radius: 100%;
border: 1px solid var(--zinc-800);
}
.profile-picture {
width: 6rem;
height: 6rem;
border-radius: 100%;
border: 1px solid var(--zinc-800);
overflow: hidden;
}
.profile-picture img {
width: 100%;
object-fit: cover;
object-position: center;
}
.profile-data {
margin-top: 1.125rem;
text-align: center;
}
.profile-name {
font-size: 1.125rem;
font-weight: normal;
}
.profile-profession {
font-size: 0.875rem;
color: var(--zinc-400);
}
</style>
|