mirror of
https://github.com/minetest/contentdb.git
synced 2024-11-10 09:33:44 +01:00
36 lines
525 B
SCSS
36 lines
525 B
SCSS
.packagegrid {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.packagegrid li {
|
|
list-style: none;
|
|
display: inline-block;
|
|
padding: 0;
|
|
margin: 8px;
|
|
}
|
|
|
|
.packagegrid a {
|
|
display: block;
|
|
width: 246px;
|
|
height: 164px;
|
|
border-radius: 7px;
|
|
position: relative;
|
|
overflow: hidden;
|
|
background-size: cover;
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
}
|
|
|
|
|
|
.packagegrid a span {
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
padding: 5px;
|
|
background: rgba(255, 255, 255, 0.3);
|
|
color: black;
|
|
}
|