-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
92 lines (79 loc) · 1.51 KB
/
index.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
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
:root{
/* Colors */
/* Primary */
--green: hsl(75, 94%, 57%);
/* Neutral */
--white: hsl(0, 0%, 100%);
--grey: hsl(0, 0%, 20%);
--darkGrey: hsl(0, 0%, 12%);
--offBlack: hsl(0, 0%, 8%);
}
*{
box-sizing: border-box;
margin: 0;
padding: 0;
}
body{
background: var(--offBlack);
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
font-family: 'Inter', sans-serif;
color: var(--white);
font-size: 14px;
}
main{
min-width: 18rem;
padding: 1.5rem;
border-radius: 0.5rem;
background-color: var(--darkGrey);
}
.user-info, .social-media-links{
display: flex;
flex-direction: column;
align-items: center;
}
.avatar{
border-radius: 10rem;
width: 4rem;
height: auto;
margin-bottom: 1.5rem;
transition: width 0.3s ease-in;
}
.avatar:hover{
width: 4rem;
height: auto;
}
.avatar-username{
font-weight: 600;
font-size: large;
margin-bottom: 0.6rem;
}
.avatar-location{
color: var(--green);
margin-bottom: 1rem;
}
.social-media-links{
padding-top: 1rem;
display: flex;
flex-direction: column;
gap: 0.6rem;
}
a{
font-size: small;
font-weight: 600;
color: var(--white);
text-decoration: none;
width: 100%;
height: 2rem;
background-color: var(--grey);
border-radius: 0.5rem;
display: inline-flex;
justify-content: center;
align-items: center;
}
a:hover{
background-color: var(--green);
color: var(--offBlack);
}