_link_block.scss
1.13 KB
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
.block-link{
text-decoration: none;
.link-block{
color: #000;
height:350px;
position: relative;
background-size: cover;
background-position:center;
box-shadow: 0px 3px 6px #00000029;
padding:40px 32px 0px 32px;
transition: 0.5s;
.link{
padding-top: 18px;
text-transform: uppercase;
color: #fff;
font-size: 16px;
line-height: 20px;
position: absolute;
bottom: 0px;
left: 0px;
width: 100%;
height: 50px;
text-align: center;
background-size: cover;
background-position: top right;
background-image: url("../images/bottom-md-border.png");
}
}
}
.block-link:hover{
.link-block{
color: #000;
background-size: 105%;
background-position:center;
}
}
.link-block.image-text{
overflow: hidden;
padding:0px;
height:auto;
.text{
padding:25px 47px 60px 47px;
}
.img{
background-size: cover;
background-position:center;
}
.link{
padding-top: 17px;
height: 50px;
background-size: cover;
background-position:center;
background-image: url("../images/bottom-lg-border.png");
}
}