initial commit

This commit is contained in:
Jeremy Baxter 2026-01-04 23:33:46 +13:00
commit 32a57cc050
12 changed files with 1169 additions and 0 deletions

94
server/static/style.css Normal file
View file

@ -0,0 +1,94 @@
body {
background-color: #11111b;
color: #cdd6f4;
font-family: sans-serif;
font-size: large;
text-align: center;
}
a, a:visited {
color: #cdd6f4;
font-weight: bold;
text-decoration: none;
}
a:hover {
background-color: #cdd6f4;
color: #11111b;
}
div.grid {
line-height: 0;
}
div.artists ul {
display: inline-block;
font-style: italic;
list-style-type: none;
padding: 0;
}
li.artist a {
font-style: normal;
}
div.albums {
display: flex;
justify-content: center;
}
div.album {
display: flex;
justify-content: center
}
div.album-data {
padding-left: 30px;
text-align: left;
}
div.album-meta h3 {
margin-top: 0;
}
div.album-tracks ul {
font-family: monospace;
list-style-type: none;
margin-top: 0;
padding: 0;
}
li.trackfile a {
color: #89b4fa;
}
li.trackfile a:hover {
background-color: #89b4fa;
color: #11111b;
}
a.artist {
font-style: italic;
color: #cdd6f4;
text-decoration: none;
font-weight: normal;
}
a.artist:hover {
font-style: italic;
color: #cdd6f4;
background-color: #11111b;
text-decoration: underline;
}
a.tarball {
font-family: monospace;
color: #89b4fa;
}
a.tarball:hover {
font-family: monospace;
background-color: #89b4fa;
color: #11111b;
}
footer hr {
width: 50%
}

View file

@ -0,0 +1,22 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="/static/style.css">
<title>{{.Title}}</title>
</head>
<body>
<h2>records.baxters.nz</h2>
<nav>
<a href="/">home</a> &#x2022;
<a href="/index/artists">artists</a> &#x2022;
<a href="/index/albums">albums</a>
</nav>
<br>
{{.Body}}
<footer>
<hr>
<i>records</i>
</footer>
</body>
</html>