From a037d9d57d88d68845393d4819a769f52af3b219 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sat, 25 Apr 2026 06:30:10 +0100 Subject: [PATCH] Add glowing GitHub header link --- src/repixelizer/gui_static/index.html | 28 +++++++++++--- src/repixelizer/gui_static/styles.css | 54 +++++++++++++++++++++++++++ 2 files changed, 77 insertions(+), 5 deletions(-) diff --git a/src/repixelizer/gui_static/index.html b/src/repixelizer/gui_static/index.html index 794d333..6aa40ee 100644 --- a/src/repixelizer/gui_static/index.html +++ b/src/repixelizer/gui_static/index.html @@ -23,11 +23,29 @@ -
-

How To Use It

-

1. Drop an input on the right or choose a file.

-

2. Leave size and phase blank to let the machine search, or pin them if you already know the lattice.

-

3. Run it, watch the status panel for the active stage, then patch the output by hand if the machine gets cute.

+
+ +
+

How To Use It

+

1. Drop an input on the right or choose a file.

+

2. Leave size and phase blank to let the machine search, or pin them if you already know the lattice.

+

3. Run it, watch the status panel for the active stage, then patch the output by hand if the machine gets cute.

+
diff --git a/src/repixelizer/gui_static/styles.css b/src/repixelizer/gui_static/styles.css index 8f31535..5a57e50 100644 --- a/src/repixelizer/gui_static/styles.css +++ b/src/repixelizer/gui_static/styles.css @@ -288,6 +288,8 @@ p { .brand, .brand-lockup, .copy-stack, +.header-side, +.header-link-row, .header-instructions { display: grid; gap: 10px; @@ -337,6 +339,53 @@ p { align-items: start; } +.header-side { + align-content: start; + min-width: 0; +} + +.header-link-row { + display: flex; + justify-content: flex-end; + align-items: flex-start; + min-height: 88px; +} + +.header-github-link { + display: inline-flex; + align-items: center; + justify-content: center; + width: 5.2rem; + height: 5.2rem; + padding: 0; + color: rgba(247, 239, 216, 0.96); + text-decoration: none; + line-height: 0; + flex: 0 0 auto; +} + +.header-github-link svg { + display: block; + width: 4rem; + height: 4rem; + fill: currentColor; + filter: + drop-shadow(0 0 0.9rem rgba(89, 183, 255, 0.34)) + drop-shadow(0 0 1.6rem rgba(89, 183, 255, 0.14)); +} + +.header-github-link:hover, +.header-github-link:focus-visible { + color: #fff3e8; +} + +.header-github-link:hover svg, +.header-github-link:focus-visible svg { + filter: + drop-shadow(0 0 0.45rem rgba(255, 216, 74, 0.44)) + drop-shadow(0 0 1.2rem rgba(255, 174, 26, 0.22)); +} + .header-instructions { align-content: start; padding: 12px 14px; @@ -1012,6 +1061,11 @@ select:focus-visible { align-items: flex-start; } + .header-link-row { + justify-content: flex-start; + min-height: 0; + } + .brand-lockup { flex-direction: column; align-items: flex-start;