styling, bandcamp and ye
crispy-caesus 114518720+crispy-caesus@users.noreply.github.com
Fri, 02 May 2025 21:45:39 +0200
4 files changed,
34 insertions(+),
3 deletions(-)
A
static/music.css
@@ -0,0 +1,28 @@
+body { + background-color: #1e2021; + font-family: Arial, sans-serif; + color: #c8c3bc; + line-height: 1.6; + justify-content: center; + align-items: flex-start; + min-height: 100vh; + padding: 15em; + padding-top: 2em; + padding-bottom: 2em; + font-size: 1em; +} + + ul { + list-style-type: none; + padding: 0; + } + + li { + display: flex; + align-items: center; + margin-bottom: 10px; + } + + li img { + margin-right: 10px; + }
M
templates/music.html
→
templates/music.html
@@ -5,16 +5,19 @@ <head>
<meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>toothbrushing music</title> - <link rel="stylesheet" href="static/index.css" /> + <link rel="stylesheet" href="static/music.css" /> </head> <body> <h1>My bought music</h1> + <a title="Bandcamp" href="https://bandcamp.com/crispy-caesus" target="_blank" rel="noopener noreferrer"> + My Bandcamp + </a> <p>Spending so far: {{.Spending}}€</p> <ul> {{range .Releases}} <li> - <img src="{{.Note}}" alt="Album Cover" /> <br> + <img src="{{.Note}}" alt="Album Cover" width="50" /> {{.Name}} - {{.Artist}} </li> {{end}}