Pages use grid c1-12 instead of 1-13 on mobile
commitc6b383f912c1a71bf32bfb362c18dfab229823b4
authorMatilde Park <matilde@tlon.io>
dateFri 4 Oct 2019, 21:35 (7 years ago)
parent2edef53
sass/_responsive.scss+1−1
@@ -15,7 +15,7 @@
1515@media all and (max-width: 59em) {
1616 body.essay {
1717 article > *:not(figure) {
18− grid-area: auto / 1 / auto / 13;
18+ grid-area: auto / 1 / auto / 12;
1919 }
2020 }
2121}
templates/doc.html+1−1
@@ -4,7 +4,7 @@
44<!-- header -->
55<!-- content -->
66 {% include "partials/navigation-docs.html" %}
7− <article class="mt4 full c5-10-md c4-10-lg">
7+ <article class="mt4 c1-12 c5-10-md c4-10-lg">
88 <!-- header -->
99 <h1>{{ page.title }}</h1>
1010 <!-- body -->
templates/essays/list.html+1−1
@@ -11,7 +11,7 @@
1111 {% include "partials/navigation-search.html" %}
1212</nav>
1313<!-- content -->
14− <article class="mt4-l mt4-xl mb2 full c4-12-lg">
14+ <article class="mt4 mt4-l mt4-xl mb2 c1-12 c4-12-lg">
1515 <ul class="posts">
1616 {% set posts = get_section(path="essays/_index.md") %}
1717 {% for page in posts.pages %}
templates/media/list.html+1−1
@@ -11,7 +11,7 @@
1111 {% include "partials/navigation-search.html" %}
1212</nav>
1313<!-- content -->
14− <article class="mt4-l mt4-xl mb2 full c4-10-lg">
14+ <article class="mt4 mt4-l mt4-xl mb2 c1-12 c4-10-lg">
1515 <ul class="posts">
1616 {% set posts = get_section(path="media/_index.md") %}
1717 {% for page in posts.pages %}
templates/page.html+1−1
@@ -34,7 +34,7 @@
3434
3535</nav>
3636{% endif %}
37− <article class="mt4 mb4 full-ns c4-10-lg">
37+ <article class="mt4 mb4 c1-12 c4-10-lg">
3838 <h1>{{ page.title }}</h1>
3939 {% if page.extra.author %}
4040 <span class="mt2 dib" rel="author"> {{ page.extra.author }} </span>
templates/page_indiced.html+1−1
@@ -46,7 +46,7 @@
4646{% endif %}
4747{% endfor %}
4848</nav>
49− <article class="mt4 mb4 full c6-12-md c4-10-lg">
49+ <article class="mt4 mb4 c1-12 c6-12-md c4-10-lg">
5050 {% if page.extra.author %}
5151 <span class="mt2 dib" rel="author"> {{ page.extra.author }} </span>
5252 {% if page.extra.ship %}
templates/sections/docs.html+1−1
@@ -4,7 +4,7 @@
44<!-- header -->
55<!-- content -->
66 {% include "partials/navigation-docs.html" %}
7− <article class="mt4 full c5-10-md c4-10-lg">
7+ <article class="mt4 c1-12 c5-10-md c4-10-lg">
88 <!-- header -->
99 <h1>{{ section.title }}</h1>
1010 <!-- body -->
templates/sections/docs/chapters.html+1−1
@@ -4,7 +4,7 @@
44<!-- header -->
55<!-- content -->
66 {% include "partials/navigation-docs.html" %}
7− <article class="mt4 full c5-10-md c4-10-lg">
7+ <article class="mt4 c1-12 c5-10-md c4-10-lg">
88 <!-- header -->
99 <h1>{{ section.title }}</h1>
1010 <!-- body -->
templates/updates/list.html+1−1
@@ -12,7 +12,7 @@
1212 {% include "partials/navigation-search.html" %}
1313</nav>
1414<!-- content -->
15− <main class="mt4 mb4 full c4-10-lg">
15+ <main class="mt4 mb4 c1-12 c4-10-lg">
1616 {% set posts = get_section(path="updates/_index.md") %}
1717 {% for page in posts.pages | slice (end=1) %}
1818 <article class="mb6 relative">