-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
91 lines (84 loc) · 1.47 KB
/
styles.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
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");
:root {
/* Primary */
--Green: hsl(75, 94%, 57%);
/* Neutral */
--White: hsl(0, 0%, 100%);
--Grey: hsl(0, 0%, 20%);
--Dark_Grey: hsl(0, 0%, 12%);
--Off_Black: hsl(0, 0%, 8%);
}
html,
body {
margin: 0;
padding: 0;
background: var(--Off_Black);
font-family: "Inter";
}
body {
font-size: 15px;
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.container {
background: var(--Off_Black);
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
overflow: auto;
}
.card {
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
background: var(--Dark_Grey);
width: 327px;
border-radius: 5px;
padding: 15px;
margin: 5px;
}
.card img {
margin-top: 15px;
width: 100px;
height: 100px;
border-radius: 50px;
}
p {
text-align: center;
}
#name {
font-size: 25px;
font-weight: 600;
margin: 40px 0 0 0;
color: var(--White);
}
#location {
color: var(--Green);
font-weight: 400;
}
#description {
margin: 0 0 25px 0;
color: var(--White);
font-weight: 400;
}
button {
width: 90%;
padding: 10px;
border-radius: 5px;
border: none;
margin-bottom: 10px;
background: var(--Grey);
cursor: pointer;
color: var(--White);
font-weight: 600;
display: block;
}
button:hover {
background: var(--Green);
color: var(--Dark_Grey);
}