File tree 3 files changed +35
-39
lines changed
3 files changed +35
-39
lines changed Original file line number Diff line number Diff line change @@ -198,25 +198,29 @@ blockquote > p {
198
198
width : 60px ;
199
199
}
200
200
201
- .post-feed .post {
202
- border-bottom : 1px solid $gray-lighter ;
203
- }
201
+ .post-feed {
202
+ .post-header {
203
+ margin-bottom : 0.83333em ;
204
+ }
204
205
205
- .post-feed .post-header {
206
- margin -bottom : 0.83333 em ;
207
- }
206
+ .post {
207
+ border -bottom : 1 px solid $gray-lighter ;
208
+ }
208
209
209
- .post-feed .post-content {
210
- font-size : 0.88889rem ;
211
- margin-bottom : 1.66667em ;
210
+ .post-content {
211
+ font-size : 0.88889rem ;
212
+ margin-bottom : 1.66667em ;
213
+ }
212
214
}
213
215
214
- .read-next .post-title {
215
- font-size : 1.33333rem ;
216
- }
216
+ .read-next {
217
+ .post-title {
218
+ font-size : 1.33333rem ;
219
+ }
217
220
218
- .read-next .post-meta {
219
- margin-bottom : 0.5em ;
221
+ .post-meta {
222
+ margin-bottom : 0.5em ;
223
+ }
220
224
}
221
225
222
226
.tag-top {
@@ -257,7 +261,6 @@ ul.archive-posts-list {
257
261
margin-bottom : 0.5556em
258
262
}
259
263
}
260
-
261
264
/* Archives */
262
265
.page-header {
263
266
margin-bottom : 1.66667em ;
@@ -276,7 +279,6 @@ ul.archive-posts-list {
276
279
margin : 0.25em 0 0 ;
277
280
text-transform : uppercase ;
278
281
}
279
-
280
282
/* Hero section */
281
283
.hero {
282
284
margin-bottom : 2.5em ;
@@ -299,7 +301,6 @@ ul.archive-posts-list {
299
301
margin : 0 ;
300
302
}
301
303
302
- /* Featured posts */
303
304
.featured-posts {
304
305
display : -ms-flexbox ;
305
306
display : -webkit-flex ;
@@ -342,7 +343,6 @@ ul.archive-posts-list {
342
343
}
343
344
}
344
345
}
345
-
346
346
/* Projects */
347
347
.project {
348
348
@@ -410,7 +410,6 @@ ul.archive-posts-list {
410
410
margin-bottom : .4em ;
411
411
}
412
412
}
413
-
414
413
/* Products */
415
414
.featured-products {
416
415
display : -ms-flexbox ;
@@ -458,7 +457,6 @@ ul.archive-posts-list {
458
457
width : 63% ;
459
458
}
460
459
}
461
-
462
460
/* *
463
461
* 4.2 Pagination
464
462
* ----------------------------------------------------------------------------
Original file line number Diff line number Diff line change 8
8
.site-content {
9
9
margin-left : 30vw ;
10
10
padding-bottom : 3.33333em ;
11
- padding-top : 3.33333em ;
12
11
}
13
12
14
13
.site-header {
Original file line number Diff line number Diff line change 5
5
6
6
< main id ="main " class ="site-main ">
7
7
8
- {% if page.url == "/" %}
9
- <!-- Featured-->
10
- < div id =" featured-posts " class ="featured-posts " >
11
- {% for post in site. posts %}
12
- {% if post.featured == true %}
13
- {% include featuredbox.html %}
14
- {% endif %}
15
- {% endfor %}
16
- </ div >
17
-
18
- {% endif%}
8
+ {% if page.url == "/" %}
9
+ <!-- Featured-->
10
+ < div class ="post-feed-title " > Featured </ div >
11
+ < div id =" featured- posts" class =" featured-posts " >
12
+ {% for post in site.posts %}
13
+ {% if post.featured == true %}
14
+ {% include featuredbox.html %}
15
+ {% endif %}
16
+ {% endfor %}
17
+ </ div >
18
+ {% endif%}
19
19
20
- <!-- Posts Index -->
21
- < div class ="post-feed inner ">
20
+ <!-- Posts Index -->
22
21
{% if page.url == "/" %}
23
22
< div class ="post-feed-title "> Latest</ div >
24
23
{% endif %}
25
- < div class ="post-feed inner-wide ">
24
+ < div class ="post-feed inner ">
26
25
{% for post in paginator.posts %}
27
- {% include postbox.html %}
26
+ {% include postbox.html %}
28
27
{% endfor %}
29
28
</ div >
30
- </ div >
31
- <!-- Pagination-->
32
- {% include pagination.html %}
29
+
30
+ <!-- Pagination-->
31
+ {% include pagination.html %}
33
32
</ main >
34
33
35
34
You can’t perform that action at this time.
0 commit comments