-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
54 lines (53 loc) · 952 Bytes
/
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
body {
margin: 0;
padding: 0;
background: #E1E2E6;
}
span {
font-family: 'Lato', sans-serif;
color: #2D3E52;
font-size: 1.9em;
}
#cards {
margin-top: 10%;
}
.bluecard {
-webkit-box-shadow: 0px 4px 22px 2px rgba(0,0,0,0.4);
-webkit-transition: all .3s ease-in-out;
cursor: pointer;
text-align: center;
display: inline-block;
position: relative;
background: #5684D2;
width: 250px;
height: 300px;
margin-top: 15px;
margin-left: 7%;
border-radius: 5px;
margin-right: 7%;
background: linear-gradient(to bottom, #5684D2 80%, #EF0D33 50%);
background-size: 100% 200%;
background-position:top;
vertical-align: top;
}
.bluecard:hover {
-webkit-transform:scale(.95);
background-position: bottom;
}
.bluecard p {
color: white;
font-family: 'Raleway', sans-serif;
font-size: 1.7em;
}
.bluecard img {
width: 150px;
height: 150px;
margin-top: 20px;
}
/*#bsec {
margin-left: 40%;
margin-right: 5%;
}
#bthir{
margin-left: 75%;
}*/