ahaha / src /FiguresDisplay.css
zerinf
update logs, decisions, figures, layout
523133d
Raw History Blame Contribute Delete
965 Bytes
.empty-placeholder {
flex: 1;
min-height: 300px;
display: flex;
align-items: center;
justify-content: center;
background-color: #ffffff;
color: #6c757d;
font-size: 1.2rem;
border: 1px dashed #cccccc;
border-radius: 6px;
}
.main-figure img {
width: 100%;
max-height: 60vh;
object-fit: contain;
border-radius: 6px;
border: 1px solid #dddddd;
cursor: pointer;
transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.main-figure:hover {
transform: scale(1.02);
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
border-radius: 6px;
}
.fig-thumb {
padding: 0.25rem;
background: #ffffff;
border: 1px solid #dddddd;
border-radius: 6px;
transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.fig-thumb img {
width: 100%;
height: auto;
display: block;
border-radius: 4px;
}
.fig-thumb:hover {
transform: scale(1.05);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
cursor: pointer;
}