From 7f650fa89c97e89b4ddd891fb65a4823bc27f9b6 Mon Sep 17 00:00:00 2001 From: neri Date: Sat, 29 Jan 2022 13:16:04 +0100 Subject: [PATCH] center the website --- .gitignore | 1 + static/index.css | 3 +- static/index.html | 73 --------------------------------------------- template/index.html | 2 +- 4 files changed, 4 insertions(+), 75 deletions(-) delete mode 100644 static/index.html diff --git a/.gitignore b/.gitignore index 51124b9..4cd371f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /target /files +/static/index.html diff --git a/static/index.css b/static/index.css index 64531f4..062d27d 100644 --- a/static/index.css +++ b/static/index.css @@ -31,7 +31,7 @@ body { main { color: var(--fg); width: 100%; - max-width: 1200px; + max-width: 1000px; margin: 0 auto; padding: 1rem; } @@ -88,6 +88,7 @@ a:focus-within { } textarea { + width: 100%; height: 30vh; } diff --git a/static/index.html b/static/index.html deleted file mode 100644 index 9c9d930..0000000 --- a/static/index.html +++ /dev/null @@ -1,73 +0,0 @@ - - - - datatrash - - - - - - -
-

datatrash

-
- -
- -
- -
- -
- - -
- - -
- -
-
- nutzung als api -
-datei hochladen
-  curl -F 'file=@yourfile.rs' <domain>/upload
-
-text hochladen
-  curl -F 'text=your text' <domain>/upload
-
-zeitbegrenzung setzen
-  curl -F 'text=your text' -F 'keep_for=1800' <domain>/upload
-
-nach einem download löschen
-  curl -F 'text=your text' -F 'delete_on_download=true' <domain>/upload
-
-authentifizieren
-  curl -F 'text=your text' -F 'password=…' <domain>/upload
-
-
- - - diff --git a/template/index.html b/template/index.html index 041a8be..1fa88e6 100644 --- a/template/index.html +++ b/template/index.html @@ -17,7 +17,7 @@

- +