-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.scss
71 lines (50 loc) · 1.21 KB
/
index.scss
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
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;700&display=swap');
/*variables from style guide*/
$mobile-width : 375px;
$desktop-width : 1440px;
$clr-white : hsl(0, 0%, 100%);
$clr-light-gray : hsl(212, 45%, 89%);
$clr-gray-blue : hsl(220, 15%, 55%);
$clr-dark-blue : hsl(218, 44%, 22%);
$font-family : 'Outfit', sans-serif;
$font-light : 400;
$font-heavy : 700;
$font-size : 15px;
/*SASS*/
body {
background-color: $clr-light-gray;
font-family: $font-family;
font-size: $font-size;
}
.card {
width: 320px;
height: 500px;
position: fixed;
top: 50%;
left: 50%;
margin-top: -250px; /*half the images height*/
margin-left: -160px; /*half the images width*/
background-color: $clr-white;
border-radius: 10px;
.image {
width: 288px;
margin: 16px;
border-radius: 4%;
}
}
.text {
padding: 0 34px 0 34px;
text-align: center;
h3 {
margin: 10px 0 0 0;
font-weight: $font-heavy;
font-size: 22px;
color: $clr-dark-blue;
}
p {
font-weight: $font-light;
color: $clr-gray-blue;
margin: 20px 0 0 0;
}
/*17.55px and 22.5px*/
}