-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.css
128 lines (112 loc) · 2.61 KB
/
home.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
116
117
118
119
120
121
122
123
124
125
126
127
128
/* Home Page */
body{
width: 350px;
font-family: 'Poppins', sans-serif;
min-height: 300px;
/*background-color: #006d77;*/
background: rgb(131,197,190);
background: linear-gradient(180deg, rgba(131,197,190,1) 0%, rgba(0,109,119,1) 30%);
background-position: center; /* Center the image */
background-size: cover; /* Resize the background image to cover the entire container */
margin: 10px 0 0 0;
padding: 0;
}
.container{
display: flex;
align-items: center;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
background-color: white;
height: 400px;
top: 20px;
border-top-left-radius: 30px;
border-top-right-radius: 30px;
/*border: 2px solid black;*/
}
a{
text-decoration: none;
padding: 0;
}
.header{
display: flex;
flex-direction: row;
width: 100%;
align-items: center;
justify-content: center;
/*background-image: linear-gradient(to top, #fad0c4 0%, #ffd1ff 100%);*/
}
.header .image{
width: 40%;
}
.header .image img{
width: 100%;
}
.header .header-content{
width: 55%;
display: flex;
flex-direction: column;
}
.header .header-content .title{
font-size: 30px;
font-weight: bold;
color: white;
}
.header .header-content .description{
font-size: 15px;
font-weight: bold;
color: #edf6f9;
}
.card{
display: flex;
width: 100px;
flex-direction: column;
justify-content: space-between;
/*align-items: center;*/
margin: 10px;
padding: 10px;
border-radius: 10px;
-webkit-box-shadow: 6px 0px 39px 1px rgba(0,0,0,0.16);
-moz-box-shadow: 6px 0px 39px 1px rgba(0,0,0,0.16);
box-shadow: 6px 0px 39px 1px rgba(0,0,0,0.16);
/*background-image: linear-gradient( 135deg, #FFD3A5 10%, #FD6585 100%);*/
/*background-image: linear-gradient(to top, #fad0c4 0%, #ffd1ff 100%);*/
/*background-image: linear-gradient( 135deg, #C2FFD8 10%, #465EFB 100%);*/
background-color: white;
color: black;
/*border: 1px solid #83c5be;*/
}
.card:hover{
background-color: #ffddd2;
}
.icon{
display: flex;
flex-direction: column;
width: 90%;
/*background-color: #83c5be;*/
padding: 2px;
border-radius: 5px;
}
.icon img{
height: 100px;
border-radius: 2px;
object-fit: cover;
object-position: top;
}
.card-content{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.card-content-heading{
display: flex;
font-size: 15px;
font-weight: bold;
padding: 5px;
}
.card-content-description{
display: flex;
font-size: 15px;
text-align: right;
}