first commit 2
This commit is contained in:
@@ -0,0 +1,56 @@
|
||||
/* Latest Pic Block Skin Style - Final Layout Fix */
|
||||
|
||||
.latest-pic-block-skin {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
background: #fff;
|
||||
padding: 15px;
|
||||
/* 💡 [핵심 수정] Flexbox 컬럼 방향으로 설정하여 세로 배치 강제 */
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.latest-pic-block-skin .bbs_main_wrap_tit {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 15px;
|
||||
padding-bottom: 10px;
|
||||
border-bottom: 2px solid #333;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.latest-pic-block-skin .bbs_main_wrap_tit_l { min-width: 0; }
|
||||
.latest-pic-block-skin .bbs_main_wrap_tit_l h2 { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||||
.latest-pic-block-skin .bbs_main_wrap_tit_r { flex-shrink: 0; margin-left: 15px; }
|
||||
.latest-pic-block-skin .more_btn {
|
||||
position: relative; /* 💡 [핵심 수정] absolute 속성 덮어쓰기 */
|
||||
background: none;
|
||||
border: 1px solid #ddd;
|
||||
padding: 5px 10px;
|
||||
font-size: 12px;
|
||||
color: #666;
|
||||
cursor: pointer;
|
||||
border-radius: 3px;}
|
||||
.latest-pic-block-skin .cb { display: none; }
|
||||
|
||||
.pic-block-grid {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(var(--pc-columns, 4), 1fr);
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
.latest-pic-block-skin li { position: relative; overflow: hidden; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); transition: transform 0.3s; background: #fff; display: flex; flex-direction: column; }
|
||||
.latest-pic-block-skin li:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
|
||||
.latest-pic-block-skin .lt_img { display: block; width: 100%; padding-top: 60%; position: relative; background: #f8f8f8; }
|
||||
.latest-pic-block-skin .lt_img img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
|
||||
.latest-pic-block-skin .lt_tit { display: block; padding: 10px 10px 5px; font-size: 15px; font-weight: 600; color: #333; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||||
.latest-pic-block-skin .lt_content { padding: 0 10px 15px; font-size: 13px; color: #666; line-height: 1.5; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; height: 3em; }
|
||||
.empty_li { grid-column: 1 / -1; text-align: center; padding: 50px 0; color: #999; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user