46 lines
729 B
CSS
46 lines
729 B
CSS
.col4 {
|
|
padding: 5px;
|
|
}
|
|
.galleryPicture {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: relative;
|
|
height: 200px;
|
|
text-align: center;
|
|
background-color: rgba(230, 230, 230, 0.7);
|
|
border: 1px solid #DDD;
|
|
border-radius: 6px;
|
|
}
|
|
.galleryName {
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
line-height: 1.5;
|
|
color: #000;
|
|
}
|
|
.galleryPicture img {
|
|
max-height: 80%;
|
|
max-width: 95%;
|
|
}
|
|
.galleryPicture img:hover {
|
|
z-index: 2;
|
|
}
|
|
/* !important obligatoire */
|
|
@media (max-width: 1281px) {
|
|
.galleryPicture {
|
|
height: 320px !important;
|
|
}
|
|
}
|
|
@media (max-width: 1025px) {
|
|
.galleryPicture {
|
|
height: 260px !important;
|
|
}
|
|
}
|
|
@media (max-width: 961px) {
|
|
.galleryPicture {
|
|
height: 200px !important;
|
|
}
|
|
}
|