~nature/galaxy.moe

fa4a76897c059893083577ca5556698258428ff6 — LordNature 4 years ago 34c86e9
footer: Made footer unsticky & added license info
3 files changed, 11 insertions(+), 16 deletions(-)

M assets/main.css
M templates/footer.html
M templates/nav.html
M assets/main.css => assets/main.css +2 -12
@@ 58,19 58,9 @@ a:hover {
}

footer {
	background-color: var(--footer-color);
	bottom: 0;
	left: 0;
	position: fixed;
	line-height: 40px;
	height: 40px;
	width: 100%;
}

footer .copyright {
	color: rgba(255,255,255,.5);
	font-size: .8rem;
	padding: 0 20px;
	margin: 0 auto;
	max-width: 65em;
}

@keyframes blink {

M templates/footer.html => templates/footer.html +8 -2
@@ 1,5 1,11 @@
{{define "footer"}}
<footer>
	<span class="copyright">&copy; {{template "year"}} LordNature &mdash; <a href="https://golang.org">made in go</span>
  <p>
    &copy; {{template "year"}} LordNature &mdash;
    Articles are licensed under
    <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC-BY-SA.</a>
    <a href="https://git.sr.ht/~nature/galaxy.moe">Source code</a> is licensed
    under <a href="https://www.gnu.org/licenses/gpl-3.0.html">GPLv3</a>.
  </p>
</footer>
{{end}}
\ No newline at end of file
{{end}}

M templates/nav.html => templates/nav.html +1 -2
@@ 1,10 1,9 @@
{{define "nav"}}
<div class="bg-container"></div>
<header>
	<h1>&gt; galaxy 銀河</h1>
	<nav>
		The <a href="/">galaxy</a> awaits...&emsp;
		<a href=""><strike>anime</strike></a>&emsp;
		<a href=""><s>anime</s></a>&emsp;
		<a href="/vip.html">music</a>
	</nav>
	<hr>