From f971b96b02b4c17cfd79b05ce073eec2535fe5dd Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Fri, 5 Jul 2024 10:54:06 +0200 Subject: [PATCH] feat: responsive design Fixes #24 --- _includes/layouts/base.njk | 13 ++-- _includes/layouts/parent.njk | 14 +++- content/about.md | 2 - content/autres.md | 2 - content/contribuer.md | 2 - content/districts/arcadia.md | 2 - content/districts/cyberspace.md | 2 - content/districts/index.md | 2 - content/districts/lgbt.md | 2 - content/districts/mediatheque.md | 2 - content/districts/resto.md | 2 - content/districts/universite.md | 2 - content/plateformes.md | 4 +- public/css/index.css | 118 +++++++++++++++++++++++++++++-- public/js/mobile-sidebar.js | 10 +++ 15 files changed, 142 insertions(+), 37 deletions(-) create mode 100644 public/js/mobile-sidebar.js diff --git a/_includes/layouts/base.njk b/_includes/layouts/base.njk index bea3033..2eb3878 100644 --- a/_includes/layouts/base.njk +++ b/_includes/layouts/base.njk @@ -1,11 +1,8 @@ --- layout: layouts/parent.njk --- -
-
- {{ content | safe }} -
-
+ +

{{ eleventyNavigation.key }}

+ +
+
+ {{ content | safe }} +
+
diff --git a/_includes/layouts/parent.njk b/_includes/layouts/parent.njk index 06e5b86..cd79630 100644 --- a/_includes/layouts/parent.njk +++ b/_includes/layouts/parent.njk @@ -19,6 +19,13 @@ + + + + + + + Skip to main content