From 10657626e25258abba4c1bad5d31825e481d02db Mon Sep 17 00:00:00 2001 From: Bert Droesbeke <44875756+bedroesb@users.noreply.github.com> Date: Wed, 31 Mar 2021 19:49:19 +0200 Subject: [PATCH] Collapse sidebar in mobile mode (#477) * side-bar collapse * line ending * less css * margin changes * less css * demonstrating the new blurbs * more margin * extra sentence * negative margin top * gutter fix * no hover class * no data table class * margin fix * sidebar name in button --- _data/sidebars/main.yml | 1 - _includes/sidebar.html | 438 ++++++++++++++++++++-------------------- _includes/topnav.html | 2 +- _layouts/default.html | 4 +- assets/css/main.css | 63 +++--- 5 files changed, 259 insertions(+), 249 deletions(-) diff --git a/_data/sidebars/main.yml b/_data/sidebars/main.yml index 7fccd6257..074f14d1c 100644 --- a/_data/sidebars/main.yml +++ b/_data/sidebars/main.yml @@ -69,4 +69,3 @@ subitems: url: /nels_assembly.html - title: Covid-19 Data Portal url: /covid19_data_portal.html - diff --git a/_includes/sidebar.html b/_includes/sidebar.html index 86064b13e..05f826350 100644 --- a/_includes/sidebar.html +++ b/_includes/sidebar.html @@ -6,219 +6,225 @@ {%- capture planning -%}{%- if page.url == "/planning.html" -%}st5{%- else -%}st15{%- endif -%}{%- endcapture -%} {%- capture collecting -%}{%- if page.url == "/collecting.html" -%}st6{%- else -%}st16{%- endif -%}{%- endcapture -%} {%- capture sharing -%}{%- if page.url == "/sharing.html" -%}st7{%- else -%}st17{%- endif -%}{%- endcapture -%} -
- + + + diff --git a/_includes/topnav.html b/_includes/topnav.html index 09dd77fe4..4a505b9cd 100644 --- a/_includes/topnav.html +++ b/_includes/topnav.html @@ -1,6 +1,6 @@