From e5ec51161d8cc8847c8bfe68659283b0e3d4b24f Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Wed, 8 Dec 2021 11:55:27 +0100 Subject: [PATCH] Use detail and summary for make TOC and stuff collapsable This provides info on mobile and desktop, but allows mobile users to easily collapse to jump to content. --- .../Private/Layouts/Page/BlogSidebar.html | 8 ++-- Resources/Private/Partials/TopicList.html | 2 +- .../Sass/Frontend/layout/_content.scss | 32 +++++++------- .../Sass/Frontend/layout/page/_content.scss | 1 + .../Private/Templates/Page/BlogPost.html | 44 ++++++++++--------- Resources/Private/Templates/Page/Default.html | 22 ++++++---- 6 files changed, 60 insertions(+), 49 deletions(-) diff --git a/Resources/Private/Layouts/Page/BlogSidebar.html b/Resources/Private/Layouts/Page/BlogSidebar.html index 8e98c1e..d23da4b 100644 --- a/Resources/Private/Layouts/Page/BlogSidebar.html +++ b/Resources/Private/Layouts/Page/BlogSidebar.html @@ -8,13 +8,13 @@

{data.title}

-
- {f:render(section: 'Content', arguments: _all) -> f:spaceless()} -
- + +
+ {f:render(section: 'Content', arguments: _all) -> f:spaceless()} +
{f:render(partial: 'Footer', arguments: _all)} diff --git a/Resources/Private/Partials/TopicList.html b/Resources/Private/Partials/TopicList.html index 45f39e2..19027ba 100644 --- a/Resources/Private/Partials/TopicList.html +++ b/Resources/Private/Partials/TopicList.html @@ -1,7 +1,7 @@