Skip to content

Commit 62e6d92

Browse files
CSS 스타일 수정: 불필요한 여백 제거 및 Index 페이지 전용 포스트 제목 간격 조정. 포스트 간의 간격을 줄이고, 제목 및 내용의 여백을 조정하여 가독성을 향상시켰습니다.
1 parent 552712b commit 62e6d92

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

assets/css/main.css

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,6 @@ h1, h2, h3, h4, h5, h6 {
132132
color: var(--text-primary);
133133
}
134134

135-
136-
137135
h1 { font-size: var(--font-size-4xl); }
138136
h2 { font-size: var(--font-size-3xl); }
139137
h3 { font-size: var(--font-size-2xl); }
@@ -2117,8 +2115,6 @@ a:hover {
21172115
}
21182116
}
21192117

2120-
2121-
21222118
@media (max-width: 480px) {
21232119
.main-content {
21242120
margin-top: 90px !important; /* 작은 모바일에서는 약간 줄임 */
@@ -2267,3 +2263,15 @@ a:hover {
22672263
background: rgba(255, 255, 255, 0.8);
22682264
color: black;
22692265
}
2266+
2267+
/* Index 페이지 전용 포스트 제목 간격 조정 */
2268+
.posts-feed .post-title {
2269+
margin-top: 0 !important;
2270+
}
2271+
.posts-feed .post-content {
2272+
padding-bottom: 0 !important;
2273+
}
2274+
.posts-feed .posts-list {
2275+
gap: 0 !important;
2276+
}
2277+

0 commit comments

Comments
 (0)