From 454e2f3cd84b6c0b02a0c2936a574d3d9c35c5a1 Mon Sep 17 00:00:00 2001 From: SayaAndy Date: Wed, 15 Oct 2025 02:43:04 +0700 Subject: feat: start switching to absolute length units in design --- static/input.css | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'static/input.css') diff --git a/static/input.css b/static/input.css index 739bea7..c93fe35 100644 --- a/static/input.css +++ b/static/input.css @@ -5,6 +5,34 @@ --font-patua: "Patua One", cursive; } +html { + font-size: 8px; +} + +@media screen and (width >= 640px) { + html { + font-size: 12px; + } +} + +@media screen and (width >= 1200px) { + html { + font-size: 16px; + } +} + +@media screen and (width >= 1920px) { + html { + font-size: 20px; + } +} + +@media screen and (width >= 2560px) { + html { + font-size: 24px; + } +} + [data-theme="olive"] { --main-dark-color: #4b513a; --main-medium-color: #8a9d8a; -- cgit v1.3.1+13