File tree 2 files changed +23
-1
lines changed
2 files changed +23
-1
lines changed Original file line number Diff line number Diff line change 4
4
< div class ="col-md-4 mb-5 ">
5
5
< div class ="card h-100 ">
6
6
< div class ="relative-container ">
7
- < a href ="{{ include.map.url | relative_url }} "> < img class ="card-img-top " src ="{{ gpffd_png_file.name }} " style ="width:100%;height:400px;object-fit: contain; " class ="w3-hover-opacity "> </ a >
7
+ < a href ="{{ include.map.url | relative_url }} "> < img class ="card-img-top map-card-image-board " src ="{{ gpffd_png_file.name }} "> </ a >
8
+ < img class ="card-img-top map-card-image-background " src ="backgrounds/{{ include.map.background }}.webp ">
8
9
< div class ="top-right-absolute ">
9
10
{% if include.map.changeLog -%}
10
11
{%- assign firstChange = include.map.changeLog | first -%}
Original file line number Diff line number Diff line change 19
19
position : absolute;
20
20
bottom : 8px ;
21
21
left : 16px ;
22
+ z-index : 3 ;
22
23
}
23
24
.top-left-absolute {
24
25
position : absolute;
25
26
top : 8px ;
26
27
left : 16px ;
28
+ z-index : 3 ;
27
29
}
28
30
.top-right-absolute {
29
31
position : absolute;
30
32
top : 8px ;
31
33
right : 16px ;
34
+ z-index : 3 ;
32
35
}
33
36
.bottom-right-absolute {
34
37
position : absolute;
35
38
bottom : 8px ;
36
39
right : 16px ;
40
+ z-index : 3 ;
37
41
}
38
42
.centered-absolute {
39
43
position : absolute;
40
44
top : 50% ;
41
45
left : 50% ;
42
46
transform : translate (-50% , -50% );
47
+ z-index : 3 ;
48
+ }
49
+ .map-card-image-board {
50
+ width : 100% ;
51
+ height : 400px ;
52
+ object-fit : contain;
53
+ position : absolute;
54
+ filter : drop-shadow (0 0 6px # 000b );
55
+ z-index : 2 ;
56
+ }
57
+ .map-card-image-background {
58
+ width : 100% ;
59
+ height : 400px ;
60
+ object-fit : cover;
61
+ position : relative;
62
+ filter : blur (1px ) grayscale (50% ) contrast (50% ) opacity (50% );
63
+ z-index : 1 ;
43
64
}
44
65
</ style >
45
66
</ head >
You can’t perform that action at this time.
0 commit comments