From 61d778ead6b1503f392cd945259de56fbdcee6ff Mon Sep 17 00:00:00 2001
From: kanno <812137533@qq.com>
Date: Wed, 12 Feb 2025 14:05:37 +0800
Subject: [PATCH] docs: support mobile
---
scripts/render.ts | 18 ++++++-
scripts/style.css | 117 +++++++++++++++++++++++++++++++++++++---------
scripts/theme.ts | 25 ++++++++++
3 files changed, 137 insertions(+), 23 deletions(-)
diff --git a/scripts/render.ts b/scripts/render.ts
index aa3c30d..d350c6a 100644
--- a/scripts/render.ts
+++ b/scripts/render.ts
@@ -281,7 +281,11 @@ const icons = {
1 32.32-20.06a43.8 43.8 0 0 1 .77 33.58a8.09 8.09 0 0 0 1 7.65a41.7 41.7
0 0 1 7 22.52Z"/>
-`.trim()
+`.trim(),
+ menu: ``.trim()
}
function widget() {
@@ -337,6 +341,18 @@ async function main() {
html.push('
')
+ // Menubar
+
+ html.push('')
+
+ // shadow
+
+ html.push('')
+
// Menu
html.push('