Skip to content

Commit c16d71c

Browse files
committed
1 parent fdfd205 commit c16d71c

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

style.css

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2948,6 +2948,25 @@ iframe {
29482948
.project .image-tile {
29492949
margin: 0;
29502950
}
2951+
.project:not( .masonry-item ) .image-tile {
2952+
background-position: center;
2953+
background-repeat: no-repeat;
2954+
background-size: cover;
2955+
height: 100%;
2956+
width: 100%;
2957+
position: absolute;
2958+
top: 0;
2959+
left: 0;
2960+
}
2961+
.project:not( .masonry-item ) .image-tile a {
2962+
display: block;
2963+
width: 100%;
2964+
height: 100%;
2965+
}
2966+
.project:not( .masonry-item ) {
2967+
padding-bottom: 25%;
2968+
position: relative;
2969+
}
29512970

29522971
/*!---------- 21. FOOTER ----------*/
29532972

0 commit comments

Comments
 (0)