From fad2e804af8d1ceb6bced9a98ee3122a7e072eb2 Mon Sep 17 00:00:00 2001 From: Hanchin Hsieh Date: Sat, 18 Oct 2025 23:58:33 +0800 Subject: [PATCH] doc: add play online --- .github/assets/index.html | 33 +++++++++++++++++++++++++++++++++ README.md | 6 ++++++ README.zh-CN.md | 6 ++++++ 3 files changed, 45 insertions(+) diff --git a/.github/assets/index.html b/.github/assets/index.html index 17fcd00..1664af4 100644 --- a/.github/assets/index.html +++ b/.github/assets/index.html @@ -57,6 +57,25 @@ opacity: 0.85; margin: 0; } + #source-link { + position: fixed; + top: 20px; + right: 20px; + display: inline-flex; + color: inherit; + text-decoration: none; + } + #source-link svg { + width: 24px; + height: 24px; + fill: currentColor; + transition: transform 0.2s ease, opacity 0.2s ease; + } + #source-link:hover svg, + #source-link:focus svg { + transform: scale(1.05); + opacity: 0.85; + } @@ -69,6 +88,16 @@

+ + +