-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
67 lines (57 loc) · 1.17 KB
/
style.css
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
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "Roboto", sans-serif;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
background-image: url(background.jpg);
background-size: cover;
}
.avatar {
width: 100px;
height: 100px;
border-radius: 50%;
object-fit: cover;
margin-bottom: 16px;
}
.name {
font-size: 18px;
margin-bottom: 6px;
}
.bio {
color: rgba(0, 0, 0, 0.6);
}
.item-list {
display: flex;
flex-direction: column;
align-items: center;
width: 450px;
margin-top: 20px;
gap: 14px;
}
.item {
text-decoration: none;
background-color: #fff;
padding: 16px;
color: black;
width: 100%;
text-align: center;
border-radius: 12px;
transition: all 0.3s ease-in-out;
}
.item:hover {
transform: scale(1.05);
background-color: #FFDB00;
}
@media only screen and (max-width: 768px) {
.item-list {
width: 90%;
}
}