Fixed html
Diff
html/index.html | 8 +++++++-
html/static/paste.html | 2 +-
html/static/style.css | 24 ++++++++++++++++++++++++
3 files changed, 30 insertions(+), 4 deletions(-)
@@ -8,8 +8,12 @@
<h1>7800.io</h1>
<main>
<img src="static/7800.svg" alt="7800.io" id="logo">
<p>7800.io is the future host of services that provide dynamically generated content.</p>
<small>In the meantime, use this domain as a <a href="static/url.html">URL shortener</a> or as a <a>pastebin</a>.</small>
<p id="on_main">7800.io is the future host of services that provide dynamically generated content.</p>
<small>In the meantime, use this domain as a:</small>
<div id="indexbuttonrow">
<a href="/static/url.html" class="button">URL Shortener</a>
<a href="/static/paste.html" class="button">Pastebin</a>
</div>
</main>
</body>
</html>
@@ -10,7 +10,7 @@
<div id="ui">
<p>New paste</p>
<form action="/" method="post">
<input type="hidden" name="content_type" value="Paste">
<input type="hidden" name="content_type" value="Pastebin">
<textarea name="content" placeholder="Paste" class="text"></textarea>
<input type="submit" value="Paste" class="button">
</form>
@@ -78,7 +78,6 @@
border: 2px dashed white;
padding: 0.5em 1em;
margin: 1em 0;
width: 100%;
}
@@ -100,6 +99,11 @@
height: 10em;
}
input[type=text] {
width: 20em;
}
.url {
font-family: monospace !important;
color: white !important;
@@ -111,4 +115,22 @@
.domain {
color: lightgray !important;
}
#indexbuttonrow {
display: flex;
justify-content: center;
margin-top: 1em;
}
#indexbuttonrow a {
font-size: 0.8em;
color: white;
background: black;
border: none;
padding: 0.5em 1em;
border-radius: 1em;
margin: 0 0.5em;
min-width: 5em;
}