-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
103 lines (86 loc) · 1.66 KB
/
style.css
File metadata and controls
103 lines (86 loc) · 1.66 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
button {
appearance: none;
-webkit-appearance: none;
-moz-appearance: none;
}
:root {
--green-color: hsl(75,94%, 57%);
--white-colour: hsl(0, 0%, 100%);
--grey-700: hsl(0, 0%, 20%);
--grey-800: hsl(0, 0%, 12%);
--grey-900: hsl(0, 0%, 8%);
--fs-small: 0.875rem;
--fs-medium: 0.9rem;
--fs-large: 1.6rem;
--fw-light: 400;
--fw-medium: 600;
--fw-bold: 700;
}
body {
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background-color: var(--grey-900);
font-family: inter;
}
h1, p, button {
color: var(--white-colour);
}
.socialLinkCard {
display: flex;
flex-direction: column;
align-items: center;
gap: 20px;
border-radius: 10px;
padding: 30px 50px;
background-color: var(--grey-800);
}
img {
border-radius: 50%;
}
.titles {
display: flex;
flex-direction: column;
align-items: center;
gap: 7px;
}
.locationText {
color: var(--green-color);
font-weight: var(--fw-medium);
}
.socialLinks {
display: flex;
flex-direction: column;
gap: 15px;
width: 100%;
}
button {
padding: 15px 10px;
background-color: var(--grey-700);
border: none;
border-radius: 10px;
font-weight: var(--fw-bold);
font-size: var(--fs-small);
}
h1 {
font-size: var(--fs-large);
font-weight: var(--fw-medium);
}
p {
font-size: var(--fs-small);
}
button:hover {
background-color: var(--green-color);
cursor: pointer;
color: var(--grey-900);
}
button:focus {
background-color: var(--green-color);
color: var(--grey-900);
}