contentdb/app/scss/packagegrid.scss

81 lines
1.0 KiB
SCSS
Raw Normal View History

2018-12-22 21:39:34 +01:00
.packagetile {
list-style: none;
2018-05-09 19:35:36 +02:00
padding: 0;
2018-12-22 21:39:34 +01:00
margin: 0 7px 7px 0;
min-width: 250px;
2018-05-09 19:35:36 +02:00
}
2018-12-22 21:39:34 +01:00
li.d-flex {
list-style: none;
2018-05-18 02:27:11 +02:00
padding: 0;
2018-12-22 21:39:34 +01:00
margin: 0;
2018-05-09 19:35:36 +02:00
}
2018-12-22 21:39:34 +01:00
.packagetile a {
2018-05-09 19:35:36 +02:00
display: block;
padding-bottom: 66.66%;
2018-12-22 22:26:00 +01:00
border-radius: 3px;
2018-05-09 19:35:36 +02:00
position: relative;
overflow: hidden;
2018-05-18 01:16:10 +02:00
background-size: cover;
background-repeat: no-repeat;
2018-05-18 01:16:10 +02:00
background-position: center;
2018-05-09 19:35:36 +02:00
}
2018-05-18 01:16:10 +02:00
.packagegridscrub {
2018-05-09 19:35:36 +02:00
position: absolute;
2018-05-18 01:16:10 +02:00
top: 50%;
2018-05-09 19:35:36 +02:00
right: 0;
bottom: 0;
2018-05-18 01:16:10 +02:00
left: 0;
2018-05-09 19:35:36 +02:00
padding: 5px;
2018-05-18 01:16:10 +02:00
background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0.5));
}
.packagegridinfo {
position: absolute;
right: 0;
bottom: 0;
left: 0;
padding: 1em;
2020-04-21 20:18:06 +02:00
h3 {
color: white;
font-size: 120%;
font-weight: bold;
margin: 0;
padding: 0;
}
2018-05-18 01:16:10 +02:00
2020-04-21 20:18:06 +02:00
small {
color: #ddd;
font-size: 75%;
font-weight: bold;
}
2018-12-23 17:28:15 +01:00
2020-04-21 20:18:06 +02:00
p {
display: none;
color: #ddd;
font-weight: normal;
}
2018-05-18 01:16:10 +02:00
}
2020-04-21 20:18:06 +02:00
.packagetile a:hover {
.packagegridinfo {
top: 0;
}
2018-05-18 01:16:10 +02:00
2020-04-21 20:18:06 +02:00
h3 {
margin-bottom: 0.5em;
}
p {
display: block;
}
2018-05-18 01:16:10 +02:00
2020-04-21 20:18:06 +02:00
.packagegridscrub {
top: 0;
background: rgba(0,0,0,0.8);
}
2018-05-09 19:35:36 +02:00
}