From a7ffbd022fc41e5ebb3509907708a3f4dc65419e Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Tue, 12 Jun 2018 17:37:46 -0700 Subject: [PATCH] Make docs page readable on mobile --- docs/_layouts/default.html | 151 +++++++++++++++++++------------------ docs/assets/css/style.scss | 115 +++++++++++++++++++++++----- docs/index.md | 5 +- 3 files changed, 176 insertions(+), 95 deletions(-) diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html index 1bee1a8a..3e5c82ae 100644 --- a/docs/_layouts/default.html +++ b/docs/_layouts/default.html @@ -4,99 +4,93 @@ - {{ page.title }} - -
-
-
-
- -
-
+ {% endfor %} + {% endcapture %} + {{ my_toc | strip | markdownify | strip }} + + + {% else %} +
  • + + {{ other_page.title }} + +
  • + {% endif %} + {% endfor %} +
    + + + +
    + {{ content }} +
    - -
    -
    -
    -
    - -
    -
    - {{ content }} -
    -
    -
    -
    @@ -110,6 +104,15 @@