From f834b16dbeef09cceb50dec923db450eb309ecc5 Mon Sep 17 00:00:00 2001 From: ClovertaTheTrilobita Date: Tue, 7 Apr 2026 12:45:09 +0300 Subject: [PATCH] update bg and readme --- README-en.md | 6 ++++++ README.md | 6 ++++++ src/styles/global.css | 7 +++++++ 3 files changed, 19 insertions(+) diff --git a/README-en.md b/README-en.md index 98b5c83..19ccede 100644 --- a/README-en.md +++ b/README-en.md @@ -46,6 +46,12 @@ Then clone it to your local machine. For details about environment variables, see: [EnvVariables-en.md](docs/EnvVariables-en.md) +- Install dependencies + + ```shell + npm install + ``` + - Local development ```shell diff --git a/README.md b/README.md index 711196f..064d3bb 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,12 @@ 有关环境变量的说明详见:[EnvVariables.md](docs/EnvVariables.md) +- 安装依赖 + + ```shell + npm install + ``` + - 本地调试 ```shell diff --git a/src/styles/global.css b/src/styles/global.css index b2da5f4..5f67659 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -86,11 +86,18 @@ html.dark body::after { } @media (max-width: 900px) { + body::after { + opacity: 0.1; + } +} + +@media (max-width: 700px) { body::after { opacity: 0; } } + * { box-sizing: border-box; }