-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
126 lines (108 loc) · 1.83 KB
/
style.css
File metadata and controls
126 lines (108 loc) · 1.83 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
: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-size-p: 14px;
--Weights-400: 400;
--Weights-600: 600;
--Weights-700: 700;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: var(--Grey-900);
height: 100vh;
font-family: "Inter", sans-serif;
color: var(--White);
font-size: var(--Font-size-p);
display: flex;
}
main {
width: 20%;
background-color: var(--Grey-800);
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
margin: auto;
border-radius: 0.5rem;
padding: 2.5rem 0;
gap: 1.5rem;
}
img {
width: 6rem;
height: 6rem;
border-radius: 100%;
}
h1 {
font-weight: var(--Weights-600);
margin-bottom: 0.5rem;
}
.address {
color: var(--Green);
font-weight: var(--Weights-600);
}
p {
font-weight: var(--Weights-400);
}
section {
display: flex;
flex-direction: column;
gap: 1rem;
width: 100%;
align-items: center;
}
a {
text-decoration: none;
color: var(--White);
width: 80%;
background-color: var(--Grey-700);
padding: 0.625rem 0;
border-radius: 0.5rem;
font-weight: var(--Weights-700);
}
a:hover {
background-color: var(--Green);
color: var(--Grey-800);
}
@media (max-width: 1350px) {
main {
width: 25%;
}
}
@media (max-width: 1050px) {
main {
width: 30%;
}
}
@media (max-width: 875px) {
main {
width: 40%;
}
}
@media (max-width: 675px) {
main {
width: 50%;
}
}
@media (max-width: 550px) {
main {
width: 60%;
}
}
@media (max-width: 450px) {
main {
width: 70%;
}
}
@media (max-width: 380px) {
main {
width: 80%;
}
}