on master help sign in
Fixing the chevrons on indiced pages
commita679ba6ea91b9032faa4f8fce153f17ad21d215b authorMatilde Park <matilde@tlon.io> dateTue 1 Oct 2019, 18:59 (7 years ago) parent077f6b6
2 files changed+7−3
sass/_main.scss+6−2 templates/page_indiced.html+1−1
sass/_main.scss+6−2
@@ -78,6 +78,11 @@ a {
7878 text-decoration: none;
7979}
8080
81+// homepage links
82+nav.home li a {
83+ @extend .bb, .b--black;
84+}
85+
8186article {
8287 // default
8388 // links on body text
@@ -386,12 +391,11 @@ details {
386391 &::before {
387392 content: "›";
388393 display: inline-block;
389− vertical-align: middle;
394+ vertical-align: baseline;
390395 margin-right: 0.5rem;
391396 @extend .gray1;
392397 font-family: "Inter UI", sans-serif;
393398 font-weight: 400;
394− font-size: 1.5rem;
395399 }
396400 }
397401 &[open] > summary {
templates/page_indiced.html+1−1
@@ -36,7 +36,7 @@
3636
3737{% for h2 in toc %}
3838{% 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>
4040 {% for h3 in h2.children %}
4141 <li class="ml3 mv1"><a href="{{h3.permalink | safe}}">{{h3.title}}</a></li>
4242 {% endfor %}