diff options
author | Ben Morrison <ben@gbmor.dev> | 2019-05-23 01:07:29 -0400 |
---|---|---|
committer | Ben Morrison <ben@gbmor.dev> | 2019-05-23 01:08:03 -0400 |
commit | d15180e9dcd540d5850fa0319a7614620075eaea (patch) | |
tree | 174356bb4de82ecc38cc8f3910e7131c852a8c11 | |
parent | a1e9de480a70b9cfa6fa91e03f6f090ffdedc42e (diff) | |
download | getwtxt-d15180e9dcd540d5850fa0319a7614620075eaea.tar.gz |
index page layout tweaks
-rw-r--r-- | assets/style.css | 9 | ||||
-rw-r--r-- | assets/tmpl/index.html | 10 |
2 files changed, 11 insertions, 8 deletions
diff --git a/assets/style.css b/assets/style.css index 7d314f1..4e6dc54 100644 --- a/assets/style.css +++ b/assets/style.css @@ -17,8 +17,8 @@ font-size: 2.0em; font-family: monospace; margin-top: -2rem; - padding-right: 10rem; - padding-bottom: 1.0rem; + padding-right: 0rem; + padding-bottom: 0rem; } #body { @@ -26,8 +26,9 @@ } #info { - font-size: 0.9em; - padding-top: 1rem; + font-size: 1.0em; + margin-top: -2.0rem; + padding-bottom: 2rem; } #foot { diff --git a/assets/tmpl/index.html b/assets/tmpl/index.html index a8f7484..56fdf96 100644 --- a/assets/tmpl/index.html +++ b/assets/tmpl/index.html @@ -15,6 +15,12 @@ <div id="subhead"> twtxt registry </div> + <div id="info"> + Instance Owner:<br /> + <span style="padding-left:1em">{{.Owner}}</span><br /> + Mail:<br /> + <span style="padding-left:1em">{{.Mail}}</span><br /> + </div> <div id="body"> <p>{{.Desc}}</p> <p>API base URL:</p> @@ -52,10 +58,6 @@ foo_barrington https://example3.com/twtxt.txt 2018-11-21T18:31:00.000Z <pre><code>$ curl -X POST '{{.URL}}/api/plain/users?url=https://example3.com/twtxt.txt&nickname=foo_barrington' 200 OK</code></pre> </div> - <div id="info"> - Instance Owner: {{.Owner}}<br /> - Mail: {{.Mail}}<br /> - </div> <div id="foot"> powered by <a href="https://github.com/getwtxt/getwtxt">getwtxt</a> </div> |