diff --git a/mixtape.tmpl b/mixtape.tmpl index 415a234..a2503bc 100644 --- a/mixtape.tmpl +++ b/mixtape.tmpl @@ -7,17 +7,16 @@ font-size: 1.2em; margin: 1em; } - .active { - font-weight: bold; - } #playlist { - list-style: none; + list-style: decimal-leading-zero; margin: 1em 0; - padding: 0; } #playlist li { margin: 0.5em 0; } + li.active a { + font-weight: bold; + } diff --git a/templates.go b/templates.go index 1f89389..7a66917 100644 --- a/templates.go +++ b/templates.go @@ -27,17 +27,16 @@ var files = map[string]string{ font-size: 1.2em; margin: 1em; } - .active { - font-weight: bold; - } #playlist { - list-style: none; + list-style: decimal-leading-zero; margin: 1em 0; - padding: 0; } #playlist li { margin: 0.5em 0; } + li.active a { + font-weight: bold; + }