Made the project name collapse main menu when clicked #58
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The default generated documentation looks great on desktop, but the navigation bar covers the top of the page on mobile. Changed the project name and version element to close the navigation panel when clicked so can hide the navigation bar when on a mobile device.
Before example on desktop (hosted at https://docs.hdoc.io/billythesquid/WIMP/index.html):

After example on desktop (hosted at https://billythesquid21.github.io/wimp/):

Before example on mobile:

After example (open) on mobile:

After example (closed) on mobile:

As can be seen, this barely changes the look of the pages, but stops the navigation bar for more pages from blocking the start of the body text. On the line
auto details = CTML::Node("details").SetAttr("open", "");
in the code, the SetAttr open means the navigation panel is open by default, I added this to keep the feel almost identical to previously but this could be removed for a default closed look. These changes worked on firefox on Linux Mint 21, Windows 11 and android version 14 when I tested.