48 lines
754 B
CSS
48 lines
754 B
CSS
.container {
|
|
display: grid;
|
|
gap: 1rem;
|
|
border-right: 1px solid #eee;
|
|
padding-right: 1rem;
|
|
}
|
|
|
|
.focalPointWrapper {
|
|
position: relative;
|
|
user-select: none;
|
|
justify-self: center;
|
|
}
|
|
|
|
.focalPointButton {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
background-color: rgba(255, 0, 0, 0.4);
|
|
border: 3px solid red;
|
|
display: block;
|
|
width: 25px;
|
|
height: 25px;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.focalPointImage {
|
|
height: 100%;
|
|
max-height: 350px;
|
|
}
|
|
|
|
.examples {
|
|
width: 100%;
|
|
max-width: 600px;
|
|
max-height: 400px;
|
|
display: grid;
|
|
grid-template-columns: 3fr 1fr;
|
|
grid-template-rows: 2fr 1fr;
|
|
gap: 0.25rem;
|
|
}
|
|
|
|
.examples img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
overflow: hidden;
|
|
}
|