respect aspect ration for works

This commit is contained in:
2026-05-14 11:36:36 +02:00
parent d74f682155
commit e722c9b4e7
6 changed files with 14 additions and 13 deletions
+8
View File
@@ -548,6 +548,14 @@ code, pre, kbd, samp {
filter: saturate(0.94) contrast(1.02);
transition: transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1), filter 0.4s ease;
}
/* Natural mode — container drops fixed aspect so image shows its true ratio. */
.plate .plate-image.is-natural {
height: auto;
}
.plate .plate-image.is-natural img {
height: auto;
object-fit: contain;
}
.plate:hover .plate-image img {
transform: scale(1.03);
filter: saturate(1.05) contrast(1.04);