on master help sign in
Hide index on mobile
b602c44Matilde Park
sass/_main.scss−2
@@ -386,8 +386,6 @@ body.page-indiced {
386 @extend .gray2;
386 @extend .gray2;
387 }
387 }
388 nav:not(.search-overlay) {
388 nav:not(.search-overlay) {
389− position: fixed;
390− max-width: 20%;
391 max-height: 100vh;
389 max-height: 100vh;
392 overflow-y: scroll;
390 overflow-y: scroll;
393 }
391 }
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 full fourth-1-md fourth-1-lg">
16+<nav class="mt4 fixed-xl 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 full fourth-1-md fourth-1-lg">
26+<nav class="mt4 fixed-xl 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="page-indiced"><summary id={{h2.id}}>{{ h2.title }}</summary>
39+<details class="dn mw6-xl 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-ns c4-10-lg">
49+ <article class="mt4 mb4 full 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 %}