-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
83 lines (73 loc) · 1.39 KB
/
style.css
File metadata and controls
83 lines (73 loc) · 1.39 KB
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
/* Base settings */
:root {
--green: hsl(75, 94%, 57%);
--white: hsl(0, 0%, 100%);
--grey-700: hsl(0, 0%, 20%);
--grey-800: hsl(0, 0%, 12%);
--grey-900: hsl(0, 0%, 8%);
--font-family: 'Inter', sans-serif;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: var(--grey-900);
color: var(--white);
font-family: var(--font-family);
font-size: 14px;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.card {
background-color: var(--grey-800);
padding: 2rem;
border-radius: 1rem;
text-align: center;
width: 100%;
max-width: 375px;
}
.avatar {
width: 88px;
height: 88px;
border-radius: 50%;
margin-bottom: 1rem;
}
h1 {
font-size: 1.5rem;
font-weight: 700;
}
.location {
color: var(--green);
font-weight: 600;
margin: 0.25rem 0 1.25rem;
}
.quote {
font-weight: 400;
margin-bottom: 1.5rem;
color: #ccc;
}
.links {
list-style: none;
display: flex;
flex-direction: column;
gap: 1rem;
}
.links a {
display: block;
background-color: var(--grey-700);
color: var(--white);
text-decoration: none;
padding: 0.75rem;
border-radius: 0.5rem;
font-weight: 600;
transition: background-color 0.3s ease;
}
.links a:hover,
.links a:focus {
background-color: var(--green);
color: var(--grey-900);
}