-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
84 lines (70 loc) · 1.64 KB
/
style.css
File metadata and controls
84 lines (70 loc) · 1.64 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
/* -------------------------------------------------------------------------------- */
/* ! Some CSS Reset */
/* -------------------------------------------------------------------------------- */
/* Reset box-sizing */
*, *::before, *::after {
box-sizing: border-box;
}
/* Remove default margin */
body, h2, p {
margin: 0;
}
/* Make images easier to work with */
img {
max-width: 100%;
display: block;
}
a {
text-decoration: none;
color: hsl(228, 45%, 44%);
}
/* -------------------------------------------------------------------------------- */
/* ! Challenge Styling */
/* -------------------------------------------------------------------------------- */
:root {
--white: hsl(0, 0%, 100%);
--light-gray: hsl(212, 45%, 89%);
--grayish-blue: hsl(220, 15%, 55%);
--dark-blue: hsl(218, 44%, 22%);
}
body {
font-family: "Outfit", sans-serif;
font-size: 1rem;
font-weight: 400;
background: var(--light-gray);
color: var(--grayish-blue);
/* Center challenge content on the screen */
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.qr-code {
display: flex;
flex-direction: column;
width: 23.4375em;
background: var(--white);
padding: 1.3em;
border-radius: 20px;
margin-bottom: 3rem;
}
.qr-code__img {
border-radius: 10px;
margin-bottom: 1.4rem;
}
h2, p {
width: 85%;
margin: 0 auto;
text-align: center;
line-height: 1.3;
}
h2 {
font-size: 1.5rem;
font-weight: 700;
color: var(--dark-blue);
margin-bottom: 1.1rem;
}
p {
margin-bottom: 1.7rem;
}