_sass/hydeout/_posts.scss in jekyll-theme-hydeout-3.3.1 vs _sass/hydeout/_posts.scss in jekyll-theme-hydeout-3.4.0
- old
+ new
@@ -1,13 +1,17 @@
// Posts and pages
//
// Each post is wrapped in `.post` and is used on default and post layouts. Each
// page is wrapped in `.page` and is only used on the page layout.
-.post-body + *, .post .post-body ~ * + * {
+article + *, .post-body ~ section {
padding-top: $section-spacing;
border-top: 1px solid $border-color;
margin-top: $section-spacing;
+
+ > h2:first-child, > h3:first-child {
+ margin-top: 0;
+ }
}
.post, .page {
.content {
li + li {
\ No newline at end of file