-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
97 lines (95 loc) · 1.59 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
@import url('https://fonts.googleapis.com/css2?family=Inter:[email protected]&display=swap');
:root {
font-size: 62.5%;
/* Colors */
--green: hsl(75, 94%, 57%);
--white: hsl(0, 0%, 100%);
--gray: hsl(0, 0%, 20%);
--dark-grey: hsl(0, 0%, 12%);
--off-black: hsl(0, 0%, 8%);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
-webkit-font-smoothing: antialised;
-moz-osx-font-smoothing: grayscale;
}
body {
font-size: 1.4rem;
font-family: 'Inter', sans-serif;
font-weight: 400;
color: var(--white);
background-color: var(--off-black);
text-align: center;
height: 100vh;
}
.container {
width: 100%;
height: 90vh;
display: flex;
align-items: center;
justify-content: center;
}
.card {
background-color: var(--dark-grey);
width: max-content;
height: max-content;
padding: 3rem 3rem;
text-align: center;
display: flex;
flex-direction: column;
gap: 2rem;
border-radius: 1rem;
margin: 0 auto;
}
h1 {
font-size: 2.5rem;
font-weight: 700;
}
p {
color: var(--green);
font-weight: 600;
margin: 0.2rem 0 2rem;
}
span {
font-weight: 300;
}
.avatar img {
width: 100px;
height: 100px;
border-radius: 50%;
}
ul {
list-style: none;
display: flex;
flex-direction: column;
gap: 1.5rem;
}
li {
display: flex;
align-items: center;
justify-content: center;
gap: 1rem;
background: var(--gray);
border: none;
padding: 1.5rem;
border-radius: 0.5rem;
transition: all 0.3s ease;
}
li:hover {
background: var(--green);
color: black;
}
a {
text-decoration: none;
font-weight: 600;
}
.attribution {
margin-top: 2rem;
color: #928f8f;
font-size: 1.2rem;
}
.attribution a {
color: var(--green);
}