2018-05-09 19:35:36 +02:00
|
|
|
.packagegrid {
|
2018-05-11 12:39:58 +02:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 1;
|
|
|
|
|
2018-05-09 19:35:36 +02:00
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.packagegrid li {
|
2018-05-11 12:39:58 +02:00
|
|
|
flex: 1;
|
|
|
|
display: block;
|
|
|
|
min-width: 246px;
|
|
|
|
min-height: 164px;
|
|
|
|
padding: 1;
|
|
|
|
margin: 5px;
|
2018-05-09 19:35:36 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.packagegrid a {
|
|
|
|
display: block;
|
2018-05-11 12:39:58 +02:00
|
|
|
padding-bottom: 66.66%;
|
2018-05-09 19:35:36 +02:00
|
|
|
border-radius: 7px;
|
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
2018-05-11 12:39:58 +02:00
|
|
|
background-size: cover;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center;
|
2018-05-09 19:35:36 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.packagegrid a span {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
padding: 5px;
|
|
|
|
background: rgba(255, 255, 255, 0.3);
|
|
|
|
color: black;
|
|
|
|
}
|