Skip to content

Commit

Permalink
sync sidebar, hamburger menu
Browse files Browse the repository at this point in the history
  • Loading branch information
jo-pol committed May 19, 2024
1 parent 9b469f8 commit 5069b7d
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 2 deletions.
10 changes: 8 additions & 2 deletions docs/_includes/Sidebar.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@ broken ## [Home](https://d-bl.github.io) - <a href="https://groundforge.wordpres
* [Drop/restore stitches](/GroundForge-help/Replace) ![-](/GroundForge-help/images/toggle-stitch.png)
* [Tile layout](/GroundForge-help/Change-tiles) ![-](/GroundForge-help/images/brick-menu-icon.png)
* [Save, refresh, undo](/GroundForge-help/Undo) ![-](/GroundForge/images/link.png) ![-](/GroundForge/images/wand.png)
* [Resize space](/GroundForge-help/Icons) ![-](/GroundForge/images/size-inc.jpg)![-](/GroundForge/images/size-dec.jpg)
* [Panel size](/GroundForge-help/Icons)
![-](/GroundForge/images/size-inc.jpg)
![-](/GroundForge/images/size-dec.jpg)
![-](/GroundForge/images/maximize.png)
![-](/GroundForge/images/reset-dimensions.png)
![-](/GroundForge/images/minimize.png)
* [Animate](/GroundForge-help/Icons) ![-](/GroundForge/images/animate.png)
* [Untangle](/GroundForge-help/untangle)
* [Download](/GroundForge-help/Download) ![-](/GroundForge/images/download.jpg)
Expand All @@ -29,13 +34,14 @@ broken ## [Home](https://d-bl.github.io) - <a href="https://groundforge.wordpres

* [Getting Started](/GroundForge-help/index)
* [Create a pattern](/GroundForge-help/Advanced)
* [Swatch Size](/GroundForge-help/Patch-Size) (rows/columns)
* [Droste effect](/GroundForge-help/Droste-effect)
* [Reshape pair diagrams](/GroundForge-help/Reshape-Patterns)
* [Printed patterns to GF](/GroundForge-help/Reversed-engineering-of-patterns)
* [Binche](/GroundForge-help/Binche) sampler

### Notes

* [Patch Size](/GroundForge-help/Patch-Size)
* [Pin distances and angles](/GroundForge-help/Pin-distances-and-angles)
* [Head/foot-sides](/GroundForge-help/footsides)

Expand Down
3 changes: 3 additions & 0 deletions docs/_layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ <h2>GroundForge</h2>
<div id="content-wrapper">
<div class="inner clearfix">
<section id="main-content">
<a href="#sidebar" id="hamburger-menu">
<img src="/GroundForge-help/images/hamburger.png" alt="Menu">
</a>
<script src="/GroundForge-help/js/fork-warning.js"></script>
{{ content }}
</section>
Expand Down
15 changes: 15 additions & 0 deletions docs/assets/css/help.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,21 @@ header h1, header h2 {width:100%}

#main-content ul ul { margin-bottom: 0px; }

#hamburger-menu {
display: none;
position: fixed;
top: 20px;
right: 20px;
z-index: 1000;
width: 30px;
height: 30px;
}
@media (max-width: 767px) {
#hamburger-menu {
display: block;
}
}

figure { display: inline-block; margin-left: 0; margin-top: 0; margin-right: 0.5em; }
figure image, figcaption { display: block; }
figcaption { text-align: center; background-color: #ddd; border-radius: 3px; margin-top: 0.3em; }
Expand Down
Binary file added docs/assets/images/hamburger.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5069b7d

Please sign in to comment.