-
Notifications
You must be signed in to change notification settings - Fork 0
/
card.css
78 lines (73 loc) · 1.47 KB
/
card.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
@import url('https://fonts.googleapis.com/css?family=Nunito+Sans');
body {
margin: 0;
padding: 0;
}
.row {
margin: 0 0 !important;
}
.course_card {
margin: 25px 10px;
position: relative;
display: flex;
flex-direction: column;
min-width: 0;
word-wrap: break-word;
background-color: #fff;
background-clip: border-box;
transition: 0.25s ease-in-out;
box-shadow: 0 0 1rem rgb(71, 186, 231,0.25);
}
.course_card_img {
max-height: 100%;
max-width: 100%;
}
.course_card_img img {
height: 250px;
width: 100%;
transition: 0.25s all;
}
.course_card_img img:hover {
transform: translateY(-3%);
}
.course_card_content {
padding: 16px;
}
.course_card_content h3 {
font-family: nunito sans;
font-family: 18px;
}
.course_card_content p {
font-family: nunito sans;
text-align: justify;
}
.course_card_footer {
padding: 10px 0px;
margin: 16px;
}
.course_card_footer a {
text-decoration: none;
font-family: nunito sans;
margin: 0 10px 0 0;
text-transform: uppercase;
color: #47bae7;
padding: 10px;
font-size: 14px;
}
.course_card:hover {
transform: scale(1.025);
border-radius: 0.375rem;
box-shadow: 0 0 2rem rgba(0, 0, 0, .25);
transition: 0.5s ease-in-out;
}
.course_card:hover .course_card_img img {
border-top-left-radius: 0.375rem;
border-top-right-radius: 0.375rem;
}
.course_card_footer > .nav-item:hover
{
background-color: #47bae7;
color: white;
font-weight: 800;
transition: all 0.3s ease-in-out;
}