Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: zigcc/zigcc.github.io
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: zigcc/zigcc.github.io
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: fix-toc
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 6 files changed
  • 1 contributor

Commits on Jan 13, 2026

  1. feat: move TOC to sticky right sidebar for better readability

    - Implement side-by-side layout for content and TOC using Flexbox.
    - Make TOC sticky on large screens (>= 1200px).
    - Update template inheritance to use id='content' for Zine compatibility.
    - Increase page max-width on wide screens to accommodate sidebar.
    jiacai2050 committed Jan 13, 2026
    Configuration menu
    Copy the full SHA
    1fe6450 View commit details
    Browse the repository at this point in the history
  2. style: improve TOC vertical centering and sticky behavior

    - Change content-wrapper align-items to stretch to ensure sidebar height matches content.
    - Remove top margin from toc-sidebar to improve alignment.
    - Use top: 50% and transform: translateY(-50%) for precise vertical centering of sticky TOC.
    jiacai2050 committed Jan 13, 2026
    Configuration menu
    Copy the full SHA
    0e87560 View commit details
    Browse the repository at this point in the history
Loading