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 => +8 -2
@@ 1,5 1,11 @@
{{define "footer"}}
<footer>
<span class="copyright">© {{template "year"}} LordNature — <a href="https://golang.org">made in go</span>
<p>
© {{template "year"}} LordNature —
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>> galaxy 銀河</h1>
<nav>
The <a href="/">galaxy</a> awaits... 
- <a href=""><strike>anime</strike></a> 
+ <a href=""><s>anime</s></a> 
<a href="/vip.html">music</a>
</nav>
<hr>