on master help sign in
Responsive indiced pages
2d3dd8aMatilde Park
templates/page_indiced.html+4−4
@@ -13,7 +13,7 @@
13<!-- header -->
13<!-- header -->
14<!-- content -->
14<!-- content -->
15{% if page.title %}
15{% if page.title %}
16−<nav class="mt4 fixed-xl full fourth-1-md fourth-1-lg">
16+<nav class="mt4 pb4 fixed-xl fixed-l fixed-m full fourth-1-md fourth-1-lg">
17 <a class="gray3" href="/">Urbit</a>
17 <a class="gray3" href="/">Urbit</a>
18 <span class="gray3"> / </span>
18 <span class="gray3"> / </span>
19 <a href="/{{ page.components[0] }}">
19 <a href="/{{ page.components[0] }}">
@@ -23,7 +23,7 @@
23 {% include "partials/navigation-search.html" %}
23 {% include "partials/navigation-search.html" %}
24
24
25{% else %}
25{% else %}
26−<nav class="mt4 fixed-xl full fourth-1-md fourth-1-lg">
26+<nav class="mt4 fixed-xl fixed-l fixed-m full fourth-1-md fourth-1-lg">
27 <a class="gray3" href="/">Urbit</a>
27 <a class="gray3" href="/">Urbit</a>
28 <span class="gray3"> / </span>
28 <span class="gray3"> / </span>
29 <a href="/{{ page.components[0] }}">
29 <a href="/{{ page.components[0] }}">
@@ -36,7 +36,7 @@
36
36
37{% for h2 in toc %}
37{% for h2 in toc %}
38{% if h2.children %}
38{% if h2.children %}
39−<details class="dn mw6-xl db-xl page-indiced"><summary id={{h2.id}}>{{ h2.title }}</summary>
39+<details class="dn mw5-xl mw5-l db-l db-xl page-indiced"><summary id={{h2.id}}>{{ h2.title }}</summary>
40 {% for h3 in h2.children %}
40 {% for h3 in h2.children %}
41 <li class="ml3 mv1"><a href="{{h3.permalink | safe}}">{{h3.title}}</a></li>
41 <li class="ml3 mv1"><a href="{{h3.permalink | safe}}">{{h3.title}}</a></li>
42 {% endfor %}
42 {% endfor %}
@@ -46,7 +46,7 @@
46{% endif %}
46{% endif %}
47{% endfor %}
47{% endfor %}
48</nav>
48</nav>
49− <article class="mt4 mb4 full c4-10-lg">
49+ <article class="mt4 mb4 full c6-12-md c4-10-lg">
50 {% if page.extra.author %}
50 {% if page.extra.author %}
51 <span class="mt2 dib" rel="author"> {{ page.extra.author }} </span>
51 <span class="mt2 dib" rel="author"> {{ page.extra.author }} </span>
52 {% if page.extra.ship %}
52 {% if page.extra.ship %}