diff --git a/.site/gallery/micropython.html b/.site/gallery/micropython.html index fe6a8342..7c344769 100644 --- a/.site/gallery/micropython.html +++ b/.site/gallery/micropython.html @@ -21,7 +21,6 @@

Direct MicroPython WebAssembly

Pyodide alternative -

The application runs on the main thread through the compiled _wasm_bridge.

@@ -41,6 +40,7 @@

Direct MicroPython WebAssembly

diff --git a/.site/pyscript/demo.css b/.site/pyscript/demo.css index 7536bcd1..d4988a43 100644 --- a/.site/pyscript/demo.css +++ b/.site/pyscript/demo.css @@ -393,9 +393,34 @@ body[data-runtime-state="failed"] .canvas-stage .hero-spinner { .device-footer { display: flex; justify-content: center; + gap: 8px; padding-top: 8px; } +/* A link beside the console toggle, in its look. The header row isn't shown + when a gallery card opens a demo, so the footer is the one place it's seen. */ +.footer-link { + display: inline-flex; + align-items: center; + min-height: 30px; + padding: 5px 12px; + border: 1px solid var(--border); + border-radius: 999px; + color: var(--ink-soft); + background: var(--panel-2); + font: 600 0.78rem var(--font); + text-decoration: none; +} + +.footer-link:hover { + border-color: var(--accent); + color: var(--accent-strong); +} + +.footer-link[hidden] { + display: none; +} + .console-panel[hidden] { display: none; }