diff options
| -rw-r--r-- | index.html | 3 | ||||
| -rw-r--r-- | static/style.css | 14 |
2 files changed, 7 insertions, 10 deletions
@@ -8,6 +8,7 @@ </head> <body> <form action="upload.php" method="POST" enctype="multipart/form-data"> +<h1>(g.)hostfil.es</h1> <label id="drop-zone"> Drop files on the page, or paste them, or click here to upload. @@ -69,7 +70,7 @@ curl -Ffile[]=@file1.jpg -Ffile[]=@file2.jpg https://www.hostfil.es </dl> </details> -<img src="/static/image.png" alt="A ghost icon"> +<img src="/static/image.png" alt="A ghost clipart. Boo!" title="Boooooooooooo!~"> </form> </body> diff --git a/static/style.css b/static/style.css index 0afbc61..730059f 100644 --- a/static/style.css +++ b/static/style.css @@ -3,17 +3,13 @@ body { } #drop-zone { - display: flex; - align-items: center; - justify-content: center; - width: 500px; - max-width: 100%; - height: 200px; + display: inline-block; + margin: 1em; padding: 1em; - border: 1px solid #cccccc; - border-radius: 4px; - color: slategray; + border: 1px solid; + border-radius: 1ex; cursor: pointer; + background-color: #ccc; } #file-input { |
