-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
73 lines (72 loc) · 1.48 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
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;700&display=swap');
/*
font-family: 'Outfit', sans-serif;
400, 700
Font size (paragraph): 15px
*/
:root {
--white: hsl(0, 0%, 100%);
--Light-gray: hsl(212, 45%, 89%);
--Grayish-blue: hsl(220, 15%, 55%);
--Dark-blue: hsl(218, 44%, 22%);
--blue: hsl(211, 100%, 50%);
}
* {
margin: 0;
padding: 0;
}
body {
background-color: var(--Light-gray);
margin-top: 2rem;
font-size: 15px;
/*Center placing code*/
display: grid;
place-content: center;
}
/*Card*/
.card {
max-width: 375px;
background-color: var(--white);
border-radius: 25px;
transition: .5s;
}
.card:hover {
box-shadow: 7px 7px #05002004;
}
.img {
height: 300px;
margin: 20px;
border-radius: 10px;
}
.content{
text-align: center;
}
.heading {
font-size: 1.4rem;
font-family: 'Outfit', sans-serif;
font-weight: 700;
color: var(--Dark-blue);
transition: .2s;
}
.heading:hover {
cursor: initial;
color: var(--blue);
}
.subHeading {
margin-top: 1rem;
margin-bottom: 2.5rem;
font-family: 'Outfit', sans-serif;
font-weight: 400;
color: var(--Grayish-blue);
}
/*Footer*/
.footer{
margin-top: 1rem;
margin-bottom: 1rem;
text-decoration: none;
font-family: 'Outfit', sans-serif;
font-weight: 400;
font-size: 11px;
text-align: center;
color: hsl(228, 45%, 44%);
}