first-child specifics to push first entry to top
commitc30e14fd948d19f08f20982148c5b88b4c7ebdf2
authorMatilde Park <matilde@tlon.io>
dateTue 26 Nov 2019, 19:09 (7 years ago)
parent6fdd91d
sass/_main.scss+6−4
@@ -257,10 +257,12 @@ ul.posts, nav ul, nav li {
257257 list-style-type: none;
258258}
259259
260−ul.posts {
261− li {
262− margin: 1rem 0 1rem 0;
263− }
260+ul.posts li:not(:first-child) {
261+ margin:1rem 0 1rem 0;
262+}
263+
264+ul.posts li:first-child {
265+ margin: 0 0 1rem 0;
264266}
265267
266268nav ul.docs {