-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
115 lines (109 loc) · 2.04 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;600&display=swap');
:root{
/* primary colors */
--red: hsl(0, 78%, 62%);
--cyan: hsl(180, 62%, 55%);
--orange: hsl(34, 97%, 64%);
--blue: hsl(212, 86%, 64%);
/* Neutral colors */
--veryDarkBlue: hsl(234, 12%, 34%);
--grayishBlue: hsl(229, 6%, 66%);
--veryLightGray: hsl(0, 0%, 98%);
}
*{
box-sizing: border-box;
padding: 0;
margin:0;
}
body{
background-color: var(--veryLightGray);
font-family: "Poppins", sans-serif;
font-size: 15px;
line-height: 1.7;
}
.container{
padding: 20px;
}
.flex{
display: flex;
align-items: center;
flex-direction: column;
}
.headings{
text-align: center;
margin-bottom: 3em;
}
.heading-textGray{
color: var(--grayishBlue);
font-weight: 200;
}
.heading-textBlack{
color: var(--veryDarkBlue);
font-weight: 600;
}
.heading-paragraphGray{
color: var(--grayishBlue);
font-weight: 400;
font-size: 10px;
}
/* cards */
.card{
background-color: var(--white);
box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
border-radius: 5px;
padding: 10px;
width: 300px;
height: 200px;
}
.card1{
border-top: 3px solid var(--cyan);
margin-right: 30px;
}
.card2{
border-top: 3px solid var(--red);
margin-bottom: 20px;
}
.card3{
border-top: 3px solid var(--orange);
}
.card4{
border-top: 3px solid var(--blue);
margin-left: 30px;
}
.card1-heading{
font-weight: 600;
color: var(--veryDarkBlue);
font-size: 2rem;
}
.card1-paragraph{
color: var(--grayishBlue);
font-weight: 400;
font-size: 12px;
padding-bottom: 10px;
}
svg{
float: right;
margin:10px
}
.cards{
display: flex;
align-items: center;
justify-content: space-around;
}
@media only screen and (max-width:500px) {
.cards{
display: block;
}
.card1{
margin-bottom: 30px;
}
.card2{
margin-bottom: 30px;
}
.card3{
margin-bottom: 30px;
}
.card4{
margin-left: 0;
}
}