on master help sign in
Fixing the chevrons on indiced pages
a679ba6Matilde Park
sass/_main.scss+6−2
@@ -78,6 +78,11 @@ a {
78 text-decoration: none;
78 text-decoration: none;
79}
79}
80
80
81+// homepage links
82+nav.home li a {
83+ @extend .bb, .b--black;
84+}
85+
81article {
86article {
82 // default
87 // default
83 // links on body text
88 // links on body text
@@ -386,12 +391,11 @@ details {
386 &::before {
391 &::before {
387 content: "›";
392 content: "›";
388 display: inline-block;
393 display: inline-block;
389− vertical-align: middle;
394+ vertical-align: baseline;
390 margin-right: 0.5rem;
395 margin-right: 0.5rem;
391 @extend .gray1;
396 @extend .gray1;
392 font-family: "Inter UI", sans-serif;
397 font-family: "Inter UI", sans-serif;
393 font-weight: 400;
398 font-weight: 400;
394− font-size: 1.5rem;
395 }
399 }
396 }
400 }
397 &[open] > summary {
401 &[open] > summary {
templates/page_indiced.html+1−1
@@ -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 mw5-xl mw5-l db-l db-xl page-indiced"><summary>{{ h2.title }}</summary>
39+<details class="dn mw5-xl mt2 mw5-l db-l db-xl page-indiced"><summary>{{ 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 %}