bugfixes, i think
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-03-25 09:11:31 -07:00
parent 0d9ed8874f
commit cccddb3172
12 changed files with 61 additions and 43 deletions

View File

@@ -5,7 +5,7 @@
<div class="col-lg-12">
<h1>About This Site</h1>
<h2>IMPORTANT</h2>
<h2>⚠️ Important!</h2>
<p>This is a third-party site, not affiliated in any way with HN,
provided for informational purposes only. <b>Do not</b> contact or
@@ -24,12 +24,9 @@
<h2>How?</h2>
<p><a href="https://git.eeqj.de/sneak/hntransparencylog">Go</a> and the
<p>Go and the
graciously provided <a href="https://github.com/HackerNews/API">HN
API</a>.</p>
<h2>Who?</h2>
<p><a href="mailto:sneak@sneak.berlin">@sneak</a>.</p>
</div>
{% endblock %}

View File

@@ -13,14 +13,7 @@
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<style>
body {
background: #f6f6ef;
}
#pagebody {
margin-top: 4em;
}
{% include "style.css" %}
</style>
</head>

10
view/bodyfooter.html Normal file
View File

@@ -0,0 +1,10 @@
<footer>
<small>
A project by <a href="https://sneak.berlin">@sneak</a>.
&nbsp;&nbsp;&nbsp;&nbsp;
<code>{{gitrev}}</code>
&nbsp;&nbsp;&nbsp;&nbsp;
<a href="http://git.eeqj.de/sneak/orangesite">source</a> (<a
href="https://en.wikipedia.org/wiki/WTFPL">WTFPL</a>)
</small>
</footer>

View File

@@ -61,8 +61,5 @@
</tbody>
</table>
<small>{{ time }}</small>
</div>
{% endblock %}

View File

@@ -12,4 +12,5 @@
{% endblock %}
</div>
</div>
{% include "bodyfooter.html" %}
{% endblock %}

18
view/style.css Normal file
View File

@@ -0,0 +1,18 @@
body {
background: #f6f6ef;
}
#pagebody {
margin-top: 4em;
}
footer {
padding-left: 1em;
padding-top: 2em;
padding-bottom: 0.5em;
}
h1,h2,h3,h4 {
padding-top: 1em;
padding-bottom: 0.25em;
}