From 5c8106fdc91dcebb23e1c9c53e8951add17c3d92 Mon Sep 17 00:00:00 2001 From: Azalea <22280294+hykilpikonna@users.noreply.github.com> Date: Thu, 13 Mar 2025 22:03:28 -0400 Subject: [PATCH] [+] Layout and style of webpage --- public/layout.html | 12 ++++++++++++ public/style.css | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 public/layout.html create mode 100644 public/style.css diff --git a/public/layout.html b/public/layout.html new file mode 100644 index 0000000..8dc2e3d --- /dev/null +++ b/public/layout.html @@ -0,0 +1,12 @@ + + + + + + TGCN 频道树 + + + + {{CONTENT}} + + \ No newline at end of file diff --git a/public/style.css b/public/style.css new file mode 100644 index 0000000..a1fee77 --- /dev/null +++ b/public/style.css @@ -0,0 +1,35 @@ +html { + margin: 0; + font-family: Quicksand,Inter,Microsoft YaHei,-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,Avenir,Helvetica,Arial,sans-serif; + background: #242424; + width: 100%; + height: 100%; + line-height: 1.8; +} + +* { + box-sizing: border-box; +} + +body { + margin: 50px auto; + padding: 0.5rem 2rem 0; + border-radius: 1rem 1rem 0 0; + box-sizing: border-box !important; + background-color: rgba(0 0 0 / 30%); + color: white; + min-height: 100%; + max-width: 600px; +} + +a { + color: pink; + text-decoration: none; +} + +code { + font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', Quicksand,Inter,Microsoft YaHei,-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,Avenir,Helvetica,Arial,sans-serif; + background-color: rgba(255 255 255 / 10%); + padding: 3px 6px; + border-radius: 5px; +}