Skip to content

Commit 232343e

Browse files
author
Clemens Vasters
committed
Fix blog post header overlap styling
1 parent 9c77fed commit 232343e

1 file changed

Lines changed: 26 additions & 1 deletion

File tree

assets/css/style.scss

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,20 +188,45 @@ body {
188188
}
189189

190190
/* Blog post page styles */
191+
.blog-post {
192+
position: relative;
193+
}
194+
195+
.blog-post article {
196+
display: block;
197+
}
198+
191199
.blog-post .post-header {
192200
margin-bottom: 30px;
193201
padding-bottom: 20px;
194202
border-bottom: 1px solid #e0e0e0;
203+
position: relative;
204+
display: block;
205+
clear: both;
195206
}
196207

197208
.blog-post .post-title {
198209
font-size: 2em;
199-
margin-bottom: 10px;
210+
margin: 0 0 10px 0;
211+
padding: 0;
200212
color: #333;
213+
line-height: 1.2;
214+
display: block;
215+
}
216+
217+
.blog-post .post-meta {
218+
color: #666;
219+
font-size: 14px;
220+
margin: 0;
221+
padding: 0;
222+
display: block;
223+
clear: both;
201224
}
202225

203226
.blog-post .post-content {
204227
line-height: 1.7;
228+
display: block;
229+
clear: both;
205230
}
206231

207232
.blog-post .post-content h2 {

0 commit comments

Comments
 (0)