diff --git a/public/css/style.css b/public/css/style.css index 816f026..54d9bec 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -73,8 +73,24 @@ select { } } +html { + width: 100%; + padding: 1em 3em; + font-family: sans-serif; +} + +header, body, main { + width: 100%; +} + +button { + display: block; + margin: 2em auto; +} + h1 { - margin-top: 1.5em; + margin: 1.5em auto 0; + text-align: center; } h2 { @@ -85,11 +101,6 @@ h3 { margin-top: 1em; } -html { - padding: 1em 3em; - font-family: sans-serif; -} - div.request { margin-top: 1em; } diff --git a/public/index.html b/public/index.html index 8c7f68e..03f78b6 100644 --- a/public/index.html +++ b/public/index.html @@ -4,12 +4,16 @@ Welcome to Rekwest Bin - + -

Welcome to Rekwest Bin

-
- -
+
+

Rekwest Bin

+
+
+
+ +
+
diff --git a/templates/inspect.html b/templates/inspect.html index 2302905..12fdfcc 100644 --- a/templates/inspect.html +++ b/templates/inspect.html @@ -9,8 +9,9 @@
-

Bin: {{.BinId}}

-

Bin created: {{.Timestamp}}

+

Rekwest Bin

+

BinID: {{.BinId}}

+

Bin created at: {{.Timestamp}}

Make a request to: http://{{.Host}}/r/{{.BinId}}

View request at: http://{{.Host}}/inspect/{{.BinId}}