Merge pull request #306 from urbit/matildepark-patch-2
remove left/right margin on post page lists
commitdbfeb481b9735c3eb84c5500e4b81550a038c937
authorMatilde Park <matilde@tlon.io>
dateTue 26 Nov 2019, 19:51 (7 years ago)
parent1bcf5ee6ff2261
sass/_main.scss+8
@@ -257,6 +257,14 @@ ul.posts, nav ul, nav li {
257257 list-style-type: none;
258258}
259259
260+ul.posts li:not(:first-child) {
261+ margin:2rem 0 2rem 0;
262+}
263+
264+ul.posts li:first-child {
265+ margin: 0 0 2rem 0;
266+}
267+
260268nav ul.docs {
261269 line-height: 30px;
262270}
templates/essays/post.html+2−2
@@ -43,8 +43,8 @@
4343 {% include "partials/navigation-search.html" %}
4444</nav>
4545
46−<article class="mb4 measure-wide full c4-12-lg">
47− <h1 class="mb2 mt4 fw6">{{ page.title }}</h1>
46+<article class="mb4 mt4 measure-wide full c4-12-lg">
47+ <h2 class="f5 fw6 mt0 mb1">{{ page.title }}</h2>
4848 {% if page.extra.author %}
4949 <span class="dib" rel="author"> {{ page.extra.author }}
5050 {% if page.extra.ship %}