2023-10-06 08:34:35 +02:00
|
|
|
.gallery {
|
|
|
|
padding: 5px;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.galleryGalleryPicture {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
position: relative;
|
|
|
|
height: 185px;/*fluide*/
|
|
|
|
max-height: 36vmin;
|
|
|
|
text-align: center;
|
|
|
|
background-color: rgba(230, 230, 230, 0.7);
|
|
|
|
border: 1px solid #ddd;
|
|
|
|
border-radius: 6px;
|
|
|
|
transition: background-color 1.3s ease;
|
|
|
|
}
|
|
|
|
.galleryGalleryPicture:hover {
|
|
|
|
background-color: rgb(192, 192, 192);
|
|
|
|
}
|
|
|
|
.galleryGalleryName {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
line-height: 1.2;
|
|
|
|
color: #000;
|
|
|
|
overflow: hidden;
|
|
|
|
font-size: 0.85em;
|
|
|
|
}
|
|
|
|
.galleryGalleryPicture img {
|
|
|
|
max-height: 80%;
|
|
|
|
max-width: 95%;
|
|
|
|
}
|
|
|
|
.picResized {
|
|
|
|
color: crimson;
|
|
|
|
}
|
|
|
|
.osm {
|
|
|
|
position: absolute;
|
|
|
|
left:10px;
|
|
|
|
bottom:10px;
|
|
|
|
}
|
|
|
|
/* adaptation */
|
|
|
|
@media (max-width: 1281px) {
|
|
|
|
.galleryGalleryPicture {
|
|
|
|
height: 160px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (max-width: 1025px) {
|
|
|
|
.galleryGalleryPicture {
|
|
|
|
height: 135px;
|
|
|
|
}
|
|
|
|
.galleryGalleryName {
|
|
|
|
font-size: 0.75em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (max-width: 813px) {
|
|
|
|
.galleryGalleryPicture {
|
|
|
|
height: 120px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (max-width: 799px) {
|
|
|
|
section > .row:not(.back) {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
padding: 0 10px;
|
|
|
|
}
|
|
|
|
.gallery {
|
|
|
|
flex: 0 0 33.3333%;
|
|
|
|
}
|
|
|
|
.col2:not(.gallery) {
|
|
|
|
width: inherit;
|
|
|
|
}
|
|
|
|
}
|
2023-10-18 20:06:31 +02:00
|
|
|
@media (max-width: 599px) {
|
|
|
|
.gallery {
|
|
|
|
flex: 0 0 50%;
|
|
|
|
}
|
|
|
|
.galleryGalleryName {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|