- commit
- af2bc22d27ed580f8493855cd060867813140ed4
- parent
- 8fc27e7bf201a8007e729ea3029491d990c17d83
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2024-05-29 04:33
create html/css
Diffstat
| A | index.html | 14 | ++++++++++++++ |
| A | static/style.css | 25 | +++++++++++++++++++++++++ |
2 files changed, 39 insertions, 0 deletions
diff --git a/index.html b/index.html
@@ -0,0 +1,14 @@ -1 1 <!DOCTYPE html> -1 2 <html> -1 3 <head> -1 4 <meta charset="utf-8" /> -1 5 <title>cryptpadtab</title> -1 6 <meta http-equiv="Content-Security-Policy" content="default-src 'self'"> -1 7 <meta name="viewport" content="width=device-width"> -1 8 <link rel="stylesheet" href="/static/style.css"> -1 9 </head> -1 10 <body> -1 11 <textarea autocomplete="off" autofocus></textarea> -1 12 <script type="module" src="/static/main.js"></script> -1 13 </body> -1 14 </html>
diff --git a/static/style.css b/static/style.css
@@ -0,0 +1,25 @@
-1 1 html,
-1 2 body {
-1 3 margin: 0;
-1 4 padding: 0;
-1 5 }
-1 6
-1 7 textarea {
-1 8 box-sizing: border-box;
-1 9 border: 0;
-1 10 margin: 0;
-1 11 resize: none;
-1 12 block-size: 100vb;
-1 13 inline-size: 100vi;
-1 14 padding: 0.5em;
-1 15 font-size: 120%;
-1 16 line-height: 1.5;
-1 17 background-color: transparent;
-1 18 outline: none;
-1 19 }
-1 20
-1 21 @media (prefers-color-scheme: dark) {
-1 22 :root {
-1 23 color-scheme: dark;
-1 24 }
-1 25 }