Skip to content

A "Fork me on GitHub" ribbon instead of the GitHub buttons, as on go-ndarray - #12

Merged
tannevaled merged 1 commit into
mainfrom
fork-ribbon
Oct 9, 2026
Merged

tannevaled merged 1 commit into
mainfrom
fork-ribbon

Conversation

@tannevaled

Copy link
Copy Markdown
Contributor

Same change as go-ndarray/go-ndarray.github.io#31:

  • the hero's Browse the source button and the nav bar's GitHub button are removed;
  • a Fork me on GitHub corner ribbon, drawn in CSS with the brand gradient, links go-widgets/toolkit (where Browse the source led).

styles.html and fork-ribbon.html are copied from go-ndarray byte for byte (its stylesheet is the shared one plus the ribbon rules), so the stylesheet stays the same file across the orgs.

Rendered in Chrome: at 1280 px the ribbon sits in the corner, clear of the nav; at 500 px it uses the smaller breakpoint and nothing overflows.

🤖 Generated with Claude Code

…ndarray

The nav bar's GitHub button and the hero's "Browse the source" go; the
corner ribbon links go-widgets/toolkit, where "Browse the source" led.
styles.html and fork-ribbon.html are go-ndarray's, byte for byte (its
stylesheet is the shared one plus the ribbon rules), so the sheet stays one
file across the orgs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tannevaled
tannevaled merged commit 283b49e into main Oct 9, 2026
4 checks passed
@tannevaled
tannevaled deleted the fork-ribbon branch October 9, 2026 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant