lib/modules/Gallery/styles/css/albums.css
#albumlist {
margin: 10px -5px;
}
.albumlist-item-image {
border: 1px solid #CCC;
padding: 2px;
width: 140px;
height: 115px;
margin: 10px auto;
background-position: center;
display: block;
}
.albumlist-item-name {
display: block;
position: absolute;
margin-top: -5px;
text-align: center;
width: 100%;
padding: 0 12px;
font-size: 12px;
color: #B80718;
font-weight: bold;
}
.albumlist-item {
width: 160px;
height: 220px;
text-align: center;
position: relative;
margin: 0 5px 10px;
border: 1px solid #ddd;
box-shadow: 2px 2px 4px #ccc;
}
.albumlist-item:hover {
border-color: #B80718;
}
.albumlist-item-ownerbox {
position: absolute;
left: 0;
bottom: 0;
padding: 0 5px 5px 5px;
font-size: 10px;
width: 100%;
}
.albumlist-item-owner {
width: 30px;
border-radius: 2px;
}
.albumlist-item-time {
position: absolute;
bottom: 0;
right: 0;
padding: 5px;
text-align: right;
color: #aaa;
font-size: 12px;
}
@media screen and (max-width: 1023px) {
.albumlist-item-image {
width: 140px;
height: 115px;
}
.albumlist-item {
width: 160px;
}
}
@media screen and (max-width: 400px) {
.albumlist-item-image {
width: 90%;
height: 115px;
}
.albumlist-item {
width: 47%;
}
}