Amélioration de l'interface

This commit is contained in:
LC 2023-10-30 11:11:02 +01:00
parent cbb3330f11
commit 273aaaacac
1 changed files with 6 additions and 14 deletions

View File

@ -7,27 +7,25 @@ section > .row > .col3 {
} }
.galleryPicture { .galleryPicture {
box-sizing: content-box; box-sizing: content-box;
padding: 22px 0 5px; padding: 6px 0 2px;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
position: relative; position: relative;
text-align: center; text-align: center;
background-color: rgba(230, 230, 230, 0.7); background-color: rgba(0, 0, 0, 0);
border: 1px solid rgba(0,0,0,0.2);
border-radius: 6px;
transition: background-color 1.3s ease; transition: background-color 1.3s ease;
} }
.galleryPicture:hover { .galleryPicture:hover {
background-color: rgb(192, 192, 192); background-color: rgba(255, 255, 255, 0.3);
} }
.galleryName { .galleryName {
line-height: 1.25; line-height: 1.20;
font-size: 0.85em; font-size: 0.85em;
} }
.galleryPicture > figure > img { .galleryPicture > figure > img {
max-height: 25vmin; max-height: 100%;
max-width: 95%; max-width: 96%;
object-fit: contain; object-fit: contain;
} }
figure, figcaption { figure, figcaption {
@ -51,9 +49,3 @@ section > .row > .col3 {
flex: 0 0 50%; flex: 0 0 50%;
} }
} }
/*
@media (max-width: 799px) and (orientation: landscape) {
.galleryPicture {
padding: 30px 0;
}
*/