vole
Site
Clone
Read only, no credentials:
https://rodent.software/vole.git
Write over SSH with a registered key:
git clone ssh://git@rodent.software/vole.git
Self-hosted forge that lives in your Git repo.
Keep the docs shell still while the article scrolls
a01724266be31c99cf2bb9f63d1a324ddf6ff6fa · Keenan Nemetz · 20d ago · parent 59edfa98
Keep the docs shell still while the article scrolls The top bar was position: sticky and translucent, so the page kept drawing through it as it scrolled: the bar looked like it moved even when its box did not, and in Firefox the blurred backdrop of a fixed bar is the least reliable compositing path there is. Body is now one viewport tall with overflow: hidden, the bar is position: fixed and opaque, and .content, .sidebar, and .toc each scroll inside their own column. Nothing is drawn under the bar because the document never scrolls. The footer moves inside the article column, fragment jumps take their offset from the pane's scroll-padding-top, and a print block undoes the shell so a long article still prints whole.
docs-theme/base.html +5−5
| @@ -77,6 +77,11 @@ | |||
| 77 | 77 | {% endif %} | |
| 78 | 78 | </nav> | |
| 79 | 79 | {% endif %} | |
| 80 | |||
| 81 | <footer class="site-footer"> | ||
| 82 | <p>Vole is free and open-source software under the Apache License 2.0.</p> | ||
| 83 | <p class="muted">Built with <a href="https://www.mkdocs.org/">MkDocs</a>.</p> | ||
| 84 | </footer> | ||
| 80 | 85 | </main> | |
| 81 | 86 | ||
| 82 | 87 | <aside class="toc" aria-label="On this page"> | |
| @@ -84,11 +89,6 @@ | |||
| 84 | 89 | </aside> | |
| 85 | 90 | </div> | |
| 86 | 91 | ||
| 87 | <footer class="site-footer"> | ||
| 88 | <p>Vole is free and open-source software under the Apache License 2.0.</p> | ||
| 89 | <p class="muted">Built with <a href="https://www.mkdocs.org/">MkDocs</a>.</p> | ||
| 90 | </footer> | ||
| 91 | |||
| 92 | 92 | <dialog class="palette" id="search-palette" aria-label="Search documentation"> | |
| 93 | 93 | <form class="palette-search" role="search" data-search-form> | |
| 94 | 94 | <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" aria-hidden="true"><circle cx="11" cy="11" r="7"/><path d="m20 20-3.5-3.5"/></svg> | |