summaryrefslogtreecommitdiff
path: root/static/input.css
diff options
from:
to:
context:
space:
mode:
authorGravatar SayaAndy <saya.andy@posteo.com> 2025-10-15 02:43:04 +0700
committerGravatar SayaAndy <saya.andy@posteo.com> 2025-10-15 02:43:04 +0700
commit454e2f3cd84b6c0b02a0c2936a574d3d9c35c5a1 (patch)
treec05bfb6efdce821d69a0d676dc2e3244a646746a /static/input.css
parente372d8ad15ca9026fffb9248991e3df48c72b5f6 (diff)
downloadweb-454e2f3cd84b6c0b02a0c2936a574d3d9c35c5a1.tar.gz
web-454e2f3cd84b6c0b02a0c2936a574d3d9c35c5a1.zip
feat: start switching to absolute length units in design
Diffstat (limited to 'static/input.css')
-rw-r--r--static/input.css28
1 files changed, 28 insertions, 0 deletions
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;