-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
72 lines (60 loc) · 1.42 KB
/
main.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
72
body {
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
margin: 0;
background-color: hsl(212, 45%, 89%);
text-align: center;
font-size: 15px;
font-family: 'Outfit', sans-serif;
}
#card {
--card-margin: 2rem;
--card-width: calc(375px - (2 * var(--card-margin)));
width: var(--card-width);
margin: var(--card-margin);
box-shadow: 0px 15px 20px 2px rgba(184, 195, 209, 0.2);
background-color: hsl(0, 0%, 100%);
border-radius: 1rem;
padding: 1.25rem;
}
#qr-code {
max-width: 100%;
max-height: 100%;
margin-bottom: 0.5rem;
border-radius: 0.5rem;
}
#text-block {
--text-margin: 1rem;
padding: 0.5rem 0.5rem;
}
#title {
--title-color: hsl(218, 44%, 22%);
--title-size: 1.5em;
--title-weight: 700;
margin-bottom: var(--text-margin);
color: var(--title-color);
font-size: var(--title-size);
font-weight: var(--title-weight);
}
#subtitle {
--subtitle-color: hsl(220, 15%, 55%);
--subtitle-size: 1em;
--subtitle-weight: 400;
margin-bottom: var(--text-margin);
color: var(--subtitle-color);
font-size: var(--subtitle-size);
font-weight: var(--subtitle-weight);
}
@media (min-width: 1440px) {
#text-block {
padding: 0.5rem 1rem;
}
#title {
font-size: var(--title-size);
}
#subtitle {
font-size: calc(var(--subtitle-size) + .25em);
}
}