-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
71 lines (58 loc) · 1.16 KB
/
style.css
File metadata and controls
71 lines (58 loc) · 1.16 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
@import url("https://fonts.googleapis.com/css?family=Outfit:regular,700");
*,
*::before,
*::after {
padding: 0;
margin: 0;
box-sizing: border-box;
}
/* CSS VARIABLES */
:root {
--clr-white: 0 0% 100%;
--clr-gray: 212 45% 89%;
--clr-light-blue: 220 15% 55%;
--clr-dark-blue: 218 44% 22%;
--fs-400: 15px;
--ff-serif: Outfit, serif;
--breakpoint-mobile: 375px;
--breakpoint-desktop: 1440px;
}
/* PAGE */
body {
display: grid;
place-content: center;
height: 100vh;
font-size: var(--fs-400);
font-family: var(--ff-serif);
background-color: hsl(var(--clr-gray));
}
::selection {
background-color: hsl(var(--clr-dark-blue) / 0.2);
}
.card {
border-radius: 1rem;
max-width: 300px;
overflow: hidden;
background-color: hsl(var(--clr-white));
text-align: center;
}
.card_icon {
aspect-ratio: 1;
border-radius: 0.8rem;
display: block;
width: 250px;
margin: 1.5rem auto;
user-select: none;
background-color: hsl(var(--clr-white));
}
.card_title {
margin: 1.2rem;
margin-bottom: 1rem;
font-size: 1.25rem;
font-weight: 700;
}
.card_text {
margin: 2rem 1.6rem;
margin-top: 0;
color: hsl(var(--clr-light-blue));
}