forked from chasesinghofen/chasesinghofen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
card-gallery.css
57 lines (45 loc) · 1.07 KB
/
card-gallery.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
.gallery-block{
padding-bottom: 60px;
padding-top: 60px;
}
.gallery-block .heading{
margin-bottom: 50px;
text-align: center;
}
.gallery-block .heading h2{
font-weight: bold;
font-size: 1.4rem;
text-transform: uppercase;
}
.gallery-block.cards-gallery h6 {
font-size: 17px;
font-weight: bold;
}
.gallery-block.cards-gallery .card{
transition: 0.4s ease;
}
.gallery-block.cards-gallery .card img {
box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.15);
}
.gallery-block.cards-gallery .card-body {
text-align: center;
}
.gallery-block.cards-gallery .card-body p {
font-size: 15px;
}
.gallery-block.cards-gallery a {
color: #212529;
}
.gallery-block.cards-gallery a:hover {
text-decoration: none;
}
.gallery-block.cards-gallery .card {
margin-bottom: 30px;
box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.15);
}
@media (min-width: 576px) {
.gallery-block .transform-on-hover:hover {
transform: translateY(-10px) scale(1.02);
box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.15) !important;
}
}