From 300241ef05bb8447713d249118820fd91f3d0b0d Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Tue, 27 Aug 2024 06:54:10 +0800 Subject: [PATCH] feat(ui): slightly more responsive design --- assets/index.html | 2 +- assets/static/style.css | 13 ++++++++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/assets/index.html b/assets/index.html index cf116a9..9efba86 100644 --- a/assets/index.html +++ b/assets/index.html @@ -11,7 +11,7 @@

Ny4 IP checker!

- + diff --git a/assets/static/style.css b/assets/static/style.css index 8531ed1..6bdbe1b 100644 --- a/assets/static/style.css +++ b/assets/static/style.css @@ -25,6 +25,18 @@ } } +@media (max-width: 600px) { + body { + font-size: 14px !important; + } + th { + padding: 2px !important; + } + footer { + font-size: 12px !important; + } +} + body { font-family: "Fira Code", monospace; font-optical-sizing: auto; @@ -37,7 +49,6 @@ body { } table { - width: 100%; border-collapse: collapse; }