-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
89 lines (76 loc) · 2.2 KB
/
Copy pathstyles.css
File metadata and controls
89 lines (76 loc) · 2.2 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
/* --------------------------------------------- */
/* VARIABLES */
/* --------------------------------------------- */
:root {
--color-white: hsl(0, 0%, 100%);
--color-light-gray: hsl(212, 45%, 89%);
--color-blue: hsl(220, 15%, 55%);
--color-dark-blue: hsl(218, 44%, 22%);
}
/* --------------------------------------------- */
/* FONTS */
/* --------------------------------------------- */
@font-face {
font-family: Outfit;
font-style: normal;
font-weight: 400;
font-display: swap;
src: url(./fonts/outfit-regular.woff2) format("woff2");
}
@font-face {
font-family: Outfit;
font-style: normal;
font-weight: 700;
font-display: swap;
src: url(./fonts/outfit-bold.woff2) format("woff2");
}
/* --------------------------------------------- */
/* BASE STYLES */
/* --------------------------------------------- */
*,
*::before,
*::after {
box-sizing: border-box;
}
body {
margin: unset;
-webkit-text-size-adjust: none;
text-size-adjust: none;
min-height: 100vh;
background-color: var(--color-light-gray);
font-family: Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans",
"Helvetica Neue", sans-serif;
font-size: 15px;
display: grid;
place-items: center;
}
img {
max-width: 100%;
height: auto;
}
/* --------------------------------------------- */
/* QR CARD */
/* --------------------------------------------- */
main {
background-color: var(--color-white);
max-width: 320px;
padding: 1.075em;
border-radius: 1.35em;
box-shadow: 0 1.6em 1.6em hsla(0, 0%, 0%, 0.05);
text-align: center;
margin: 1.075em;
}
img {
border-radius: 0.675em;
}
h1 {
font-size: 1.375rem;
line-height: 1.275;
margin-top: 1.1em;
color: var(--color-dark-blue);
}
p {
line-height: 1.3;
color: var(--color-blue);
margin: 1.075em;
}