-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
105 lines (89 loc) · 1.87 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
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
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: hsl(0, 0%, 8%);
font-family: 'Inter', sans-serif;
color: hsl(0, 0%, 100%);
font-size: 14px;
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.user-profile {
background-color: hsl(0, 0%, 12%);
border-radius: 12px;
max-width: 384px;
width: 90%;
padding: 32px;
}
.user-profile__figure {
margin-bottom: 12px;
}
.user-profile__image {
display: block;
max-width: 88px;
margin: 0 auto;
border-radius: 50%;
}
.user-profile__name {
font-size: 24px;
font-weight: 600;
text-align: center;
padding: 12px;
}
.user-profile__location {
font-size: 14px;
font-weight: 700;
text-align: center;
color: hsl(75, 94%, 57%);
margin-bottom: 24px;
}
.user-profile__bio {
font-size: 14px;
font-weight: 400;
text-align: center;
margin-bottom: 24px;
}
.user-profile__links {
display: grid;
gap: 16px;
color: hsl(0, 0%, 100%);
font-size: 14px;
font-weight: 700;
}
.user-profile__link {
text-decoration: none;
background-color: hsl(0, 0%, 20%);
border-radius: 8px;
padding: 12px;
text-align: center;
transition: all ease-in-out 0.3s;
}
.user-profile__link:is(:link, :visited, :focus) {
color: hsl(0, 0%, 100%);
}
.user-profile__link:active {
background-color: hsl(75, 94%, 57%);
color: hsl(0, 0%, 12%);
}
.attribution {
margin-top: 24px;
font-size: 11px;
text-align: center;
}
.attribution a {
color: hsl(228, 45%, 44%);
}
@media (any-hover: hover) {
.user-profile__link:hover {
cursor: pointer;
background-color: hsl(75, 94%, 57%);
color: hsl(0, 0%, 12%);
}
}