From 1dad86b494fdd157e2eddfaed5fb681d1b445219 Mon Sep 17 00:00:00 2001 From: sugoidogo Date: Wed, 29 Jul 2026 04:09:53 -0700 Subject: [PATCH] better css --- static/index.css | 66 +++++++---------------------------------------- static/index.html | 6 ++++- 2 files changed, 15 insertions(+), 57 deletions(-) diff --git a/static/index.css b/static/index.css index 04d05e1..c83da33 100644 --- a/static/index.css +++ b/static/index.css @@ -1,67 +1,21 @@ -* { - transition: opacity 0.5s ease-out; +:root { + color-scheme: light dark; } - -body { - font-family: sans-serif; - font-size: 2vh; +.header,form { + border-bottom: solid lightgrey; } - -h1{ - font-size: 5vh; -} - -form { - border: solid lightgray; -} - -form.delete { - opacity: 0; -} - -textarea { - resize: both; -} - -.flex { - display: flex; -} - -input[type=number] { - width: 5em; -} - -img { - height: 13em; - width: 13em; - border: solid lightgray; -} - -input[type=file] { - width: 13em; -} - .header { position: sticky; top: 0px; - background-color: white; display: block; - border-bottom: solid lightgrey; + background-color: light-dark(#f9f9f9, #222222); } - -.username { - min-width: 13.05em; +form { + padding-bottom: 10px; +} +a { + color:dodgerblue; } - .hidden { display: none; -} - -@media (max-aspect-ratio: 2/3) { - body { - font-size: 3vw; - } - h1 { - font-size: 7.5vw; - } } \ No newline at end of file diff --git a/static/index.html b/static/index.html index 01fc496..fb3572c 100644 --- a/static/index.html +++ b/static/index.html @@ -1,7 +1,11 @@ - + + + +