-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
78 lines (66 loc) · 1.36 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
72
73
74
75
76
77
78
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;700&family=Overpass:wght@700&display=swap');
:root {
--white: hsl(0, 0%, 100%);
--lt-gray: hsl(212, 45%, 89%);
--gray-blue: hsl(220, 15%, 55%);
--dk-blue: hsl(218, 44%, 22%);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Outfit', sans-serif;
}
body {
background-color: var(--lt-gray);
height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.card {
background-color: var(--white);
width: 90%;
height: 525px;
border-radius: 20px;
margin: 0 auto;
text-align: center;
padding-top: 20px;
-webkit-box-shadow: 11px 8px 21px -5px rgba(0,0,0,0.6);
box-shadow: 11px 8px 21px -5px rgba(0,0,0,0.6);
}
.qr-code {
height: 300px;
width: 300px;
border-radius: 20px;
}
h1, .text {
width: 80%;
margin: 0 auto;
color: var(--dk-blue);
}
h1 {
font-size: 22px;
padding: 20px 0;
font-weight: 700;
}
.text {
font-weight: 400;
padding-bottom: 20px;
}
.attribution {
font-size: 11px;
text-align: center;
vertical-align: text-bottom;
position:absolute;
bottom:10px;
}
.attribution a {
color: hsl(228, 45%, 44%);
}
@media (min-width: 500px) {
.card {
width: 340px;
}
}