300 new2 2
<meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0">
<title></title>
<!-- Lightbox2 -->
<link href="https://cdn.jsdelivr.net/npm/lightbox2@2/dist/css/lightbox.min.css" rel="stylesheet" />
<style type="text/css">
body {
margin: 0;
font-family: sans-serif;
background: none;
}
.book {
max-width: 100%;
margin: 0 auto;
padding: 20px;
}
.spread {
display: flex;
justify-content: center;
gap: 0;
margin-bottom: 40px;
flex-wrap: wrap;
}
.book-page-wrapper {
width: 524px;
height: 744px;
overflow: hidden;
}
.book-page {
width: 1748px;
height: 2480px;
background: white;
border: 1px solid #ccc;
box-sizing: border-box;
position: relative;
overflow: hidden;
transform: scale(0.3);
transform-origin: top left;
}
.book-page img {
width: 100%;
height: auto;
object-fit: cover;
display: block;
cursor: zoom-in;
}
.page-header {
position: absolute;
top: 15mm;
font-size: 36px;
font-weight: bold;
color: #444;
z-index: 2;
}
.book-page.left .page-header {
left: 120px;
text-align: left;
}
.book-page.right .page-header {
right: 120px;
text-align: right;
}
.page-footer {
position: absolute;
bottom: 50px;
font-size: 28px;
color: #aaa;
z-index: 2;
}
.book-page.left .page-footer {
left: 120px;
text-align: left;
}
.book-page.right .page-footer {
right: 120px;
text-align: right;
}
.page1 {
position: absolute;
width: 1240px;
height: 1240px;
overflow: hidden;
z-index: 1;
}
.page1 img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.page1.p1 {
top: 0;
left: 0;
}
.page1.p2 {
top: 1240px;
left: 0;
}
.page1.p3 {
width: 508px;
height: 2480px;
position: absolute;
top: 0;
left: 0;
z-index: 0;
}
.page1.p3 img {
width: calc(1748px + 508px); /* 전체 너비의 비율을 고려해 확대 */
height: 100%;
object-fit: cover;
object-position: left top;
}
.page2 {
position: absolute;
width: 1240px;
height: 2480px;
// transform: translate(-40%, 0%);
width: 70%;
}
.page2 img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.page2.p1 {
width: 1240px;
height: 2480px;
position: absolute;
top: 0;
left: 0;
}
.page2.p1 img {
width: calc(1748px + 508px); /* 같은 비율 확대 */
height: 100%;
object-fit: cover;
object-position: right top;
}
@media screen and (max-width: 599px) {
.spread {
flex-direction: column;
gap: 30px;
}
.book-page-wrapper {
width: 100%;
height: auto;
}
.book-page {
width: 100%;
height: auto;
transform: none;
box-shadow: none;
border: 1px solid #ddd;
position: relative;
}
.page-header {
position: absolute;
top: 10px;
left: 10%;
transform: translateX(-50%);
font-size: 12px;
}
.page-footer {
position: absolute;
bottom: 10px;
left: 10%;
font-size: 10px;
text-align: left;
}
.page1 {
position: static;
width: 100%;
height: auto;
margin-bottom: 20px;
}
.page1 img {
width: 100%;
height: auto;
}
}
@media print {
@page {
size: A5;
margin: 0;
}
body {
margin: 0;
padding: 0;
}
.book-page-wrapper {
width: auto;
height: auto;
}
.book-page {
transform: none !important;
width: 100%;
height: 100%;
border: none;
box-shadow: none;
page-break-inside: avoid;
}
.page-header,
.page-footer {
color: black;
}
}
</style>
<div class="book">
<div class="spread">
<div class="book-page-wrapper">
<div class="book-page left">
<div class="page-header">조용한 오후</div>
<div class="page1 p1"><a data-lightbox="page1" data-title="Top Left" href="/files/attach/images/2025/04/30/0493a3f881d83c0263211d06af551990.jpg"><img alt="Top Left" src="/files/attach/images/2025/04/30/0493a3f881d83c0263211d06af551990.jpg" /> </a></div>
<div class="page1 p2"><a data-lightbox="page1" data-title="Bottom Left" href="/files/attach/images/2025/04/30/aed9d0c3fbcc3bd8a5a1e2070ce3fcaf.jpg"><img alt="Bottom Left" src="/files/attach/images/2025/04/30/aed9d0c3fbcc3bd8a5a1e2070ce3fcaf.jpg" /> </a></div>
<div class="page1 p3"><a data-lightbox="page1" data-title="Background Full" href="/files/attach/images/2025/05/02/3d168a98754aad0cb3f05c5a17ee7f58.jpg"><img alt="Background Full" src="/files/attach/images/2025/05/02/3d168a98754aad0cb3f05c5a17ee7f58.jpg" /> </a></div>
<div class="page-footer">1</div>
</div>
</div>
<div class="book-page-wrapper">
<div class="book-page right">
<div class="page-header">조용한 오후</div>
<div class="page2 p1"><a data-lightbox="page1" data-title="Background Full" href="/files/attach/images/2025/05/02/3d168a98754aad0cb3f05c5a17ee7f58.jpg"><img alt="Background Full" src="/files/attach/images/2025/05/02/3d168a98754aad0cb3f05c5a17ee7f58.jpg" /> </a></div>
<div class="page-footer">2</div>
</div>
</div>
</div>
</div>
by eGrida posted May 20, 2025