on master help sign in
more type stuff, use measure-wide
commit637b05f1a4f53c67130f8459a7371b487531db4f authorGavin Atkinson <gvnatknsn@protonmail.com> dateMon 14 Oct 2019, 14:44 (7 years ago) parentf7a5a81
6 files changed+21−18
sass/_main.scss+2−1 templates/essays/list.html+2−2 templates/essays/post.html+2−2 templates/media/list.html+5−5 templates/understanding-urbit/post.html+1−1 templates/updates/list.html+9−7
sass/_main.scss+2−1
@@ -191,6 +191,7 @@ body.essay {
191191 }
192192 article > *:not(figure):not(picture) {
193193 grid-area: auto / 4 / auto / 10;
194+ @extend .measure-wide
194195 }
195196}
196197
@@ -244,7 +245,7 @@ h4 {
244245
245246 // author and ship styling
246247span[rel=author] {
247− @extend .fw6;
248+ @extend .fw4;
248249 margin-right: 5px;
249250}
250251
templates/essays/list.html+2−2
@@ -12,11 +12,11 @@
1212</nav>
1313<!-- content -->
1414<article class="mt4 mb4 c1-12 c4-12-lg">
15− <ul class="posts">
15+ <ul class="posts measure-wide">
1616 {% set posts = get_section(path="essays/_index.md") %}
1717 {% for page in posts.pages %}
1818 <li class="mb4">
19− <h2 class="f5 fw6 mt0 mb0"><a class="bb-0" href="{{ page.permalink }}">{{ page.title }}</a></h2>
19+ <h2 class="f5 fw6 mt0 mb1"><a class="bb-0" href="{{ page.permalink }}">{{ page.title }}</a></h2>
2020 <p class="mt0">{{ page.description }}</p>
2121 <time class="mono f7">{{ page.date | date(format="~%Y.%-m.%-d") }}</time>
2222 <span class="mono f7">
templates/essays/post.html+2−2
@@ -28,7 +28,7 @@
2828
2929<h1 class="mb4 full mt4 c4-12-lg fw6">{{ page.title }}</h1>
3030{% if page.extra.author %}
31−<span class="dib full c4-12-lg" rel="author"> {{ page.extra.author }}
31+<span class="dib full c4-12-lg " rel="author"> {{ page.extra.author }}
3232 {% if page.extra.ship %}
3333 <address class="dib fw4 ml2 mono">{{ page.extra.ship }}</address>
3434{% endif %}
@@ -41,7 +41,7 @@
4141<span class="dib mono full c4-12-lg{% if page.date %} ml2{% endif %} gray2 f5">{{ page.reading_time }}m read</span>
4242{% endif %}
4343
44−<article class="mb4 full grid12">
44+<article class="mb4 full grid12 ">
4545 {{ page.content | safe }}
4646 {% include "partials/pagination.html" %}
4747</article>
templates/media/list.html+5−5
@@ -11,7 +11,7 @@
1111 {% include "partials/navigation-search.html" %}
1212</nav>
1313<!-- content -->
14−<article class="mt4 mb4 c1-12 c4-10-lg">
14+<article class="mt4 mb4 c1-12 c4-10-lg measure-wide">
1515 <ul class="posts">
1616 {% set posts = get_section(path="media/_index.md") %}
1717 {% for page in posts.pages %}
@@ -37,11 +37,11 @@
3737 src="{{page.extra.soundcloud}}">
3838 </iframe>
3939 {% endif %}
40− <h2 class="f4 fw4 mt0 mb0"><a class="bb-0" href="{{ page.permalink }}">{{ page.title }}</a></h2>
40+ <h2 class="f5 fw6 mt0 mb1"><a class="bb-0" href="{{ page.permalink }}">{{ page.title }}</a></h2>
4141 <p class="mt0">{{ page.description }}</p>
42− <span class="mono f5">{{ page.date | date(format="~%Y.%-m.%-d") }}</span>
43− <span class="mono f5">
44− {% if page.extra.ship %}<span class="mono f5 ml2">{{ page.extra.ship }}</span> {% endif %}
42+ <span class="mono f7">{{ page.date | date(format="~%Y.%-m.%-d") }}</span>
43+ <span class="mono f7">
44+ {% if page.extra.ship %}<span class="mono f7 ml2">{{ page.extra.ship }}</span> {% endif %}
4545 </span>
4646 </li>
4747 {% endfor %}
templates/understanding-urbit/post.html+1−1
@@ -50,7 +50,7 @@
5050 {% endif %}
5151
5252 <article class="mb4 full grid12">
53− <div class="measure">
53+ <div class="measure-wide">
5454 {{ page.content | safe }}
5555
5656 {% include "partials/pagination.html" %}
templates/updates/list.html+9−7
@@ -12,7 +12,7 @@
1212 {% include "partials/navigation-search.html" %}
1313</nav>
1414<!-- content -->
15−<main class="mt4 mb4 c1-12 c4-10-lg">
15+<main class="mt4 mb4 c1-12 c4-10-lg measure-wide">
1616
1717 {% set posts = get_section(path="updates/_index.md") %}
1818
@@ -38,14 +38,16 @@
3838 <ul class="posts">
3939 {% for page in posts.pages | slice (start=1) %}
4040 <li class="mb4 mt4">
41− <h2 class="f4 fw4">
41+ <!-- <h2 class="f5 fw6">
4242 <a class="bb0" href="{{ page.permalink }}">{{ page.title }}</a>
43− </h2>
44− <p class="mv2">{{ page.description }}</p>
45− <time class="mono f5">{{ page.date | date(format="~%Y.%-m.%-d") }}</time>
46− <span class="mono f5">
43+ </h2> -->
44+ <a class="bb0" href="{{ page.permalink }}">
45+ <p class="mv2">{{ page.description }}</p>
46+ </a>
47+ <time class="mono f7">{{ page.date | date(format="~%Y.%-m.%-d") }}</time>
48+ <span class="mono f7">
4749 {% if page.extra.ship %}
48− <address class="mono f5 ml2">{{ page.extra.ship }}</address>
50+ <address class="mono f7 ml2">{{ page.extra.ship }}</address>
4951 {% endif %}
5052 </span>
5153 </li>