-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
71 lines (63 loc) · 1.11 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
/* Reset */
*,
*::before,
*::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Variables */
:root {
--clr-primary-01: hsl(220, 15%, 55%);
--clr-primary-02: hsl(218, 44%, 22%);
--clr-neutral-01: hsl(0, 0%, 100%);
--clr-neutral-02: hsl(212, 45%, 89%);
}
/* General Styles */
body {
font-size: 0.9em;
font-family: 'Outfit', sans-serif;
font-weight: 400;
text-align: center;
background-color: var(--clr-neutral-02);
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 0 0.5rem;
}
img {
display: block;
max-width: 100%;
object-fit: contain;
border-radius: 10px;
margin-bottom: 1.5rem;
}
main {
max-width: 20em;
border-radius: 20px;
background-color: var(--clr-neutral-01);
padding: 1rem 1rem 2.5rem;
}
/* Typography */
h1 {
color: var(--clr-primary-02);
font-size: 1.375em;
font-weight: 700;
margin-bottom: 1rem;
}
p {
color: var(--clr-primary-01);
}
/* Footer */
footer {
margin-top: 0.5rem;
}
.attribution {
font-size: 11px;
text-align: center;
}
.attribution a {
color: hsl(228, 45%, 44%);
}