75 lines
1.4 KiB
CSS
75 lines
1.4 KiB
CSS
.latest-posts-module {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
gap: 30px;
|
|
padding: 30px;
|
|
background-color: #fff;
|
|
border-radius: 12px;
|
|
box-shadow: 0 5px 20px rgba(0,0,0,0.05);
|
|
}
|
|
|
|
.latest-board-section {
|
|
border: 1px solid #eee;
|
|
padding: 20px;
|
|
border-radius: 8px;
|
|
background-color: #fcfcfc;
|
|
}
|
|
|
|
.latest-board-section h2 {
|
|
font-size: 1.5rem;
|
|
font-weight: 700;
|
|
margin-bottom: 15px;
|
|
color: #333;
|
|
border-bottom: 2px solid #0056b3;
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
.latest-board-section ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.latest-board-section li {
|
|
margin-bottom: 10px;
|
|
padding-bottom: 10px;
|
|
border-bottom: 1px dashed #eee;
|
|
}
|
|
|
|
.latest-board-section li:last-child {
|
|
margin-bottom: 0;
|
|
padding-bottom: 0;
|
|
border-bottom: none;
|
|
}
|
|
|
|
.latest-board-section li a {
|
|
display: flex;
|
|
align-items: center;
|
|
text-decoration: none;
|
|
color: #555;
|
|
transition: color 0.2s ease;
|
|
}
|
|
|
|
.latest-board-section li a:hover {
|
|
color: #0056b3;
|
|
}
|
|
|
|
.latest-board-section li a strong {
|
|
flex-grow: 1;
|
|
font-size: 1rem;
|
|
font-weight: 500;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.latest-board-section li a .datetime {
|
|
flex-shrink: 0;
|
|
font-size: 0.85rem;
|
|
color: #888;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
/* 반응형 디자인 */
|
|
|