From: Marius Gavrilescu Date: Thu, 2 Apr 2015 11:33:26 +0000 (+0300) Subject: Add example CSS X-Git-Tag: 0.005~3 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=de93afc5b3d69c2bbf569fe495e579670aa756a6;p=app-musicexpo.git Add example CSS --- diff --git a/MANIFEST b/MANIFEST index 4bde63a..5672068 100644 --- a/MANIFEST +++ b/MANIFEST @@ -7,6 +7,7 @@ t/musicexpo-cache.t t/musicexpo.t lib/App/MusicExpo.pm musicexpo +musicexpo.css empty.aac empty.mp3 empty.flac diff --git a/lib/App/MusicExpo.pm b/lib/App/MusicExpo.pm index a9a9058..32c7806 100644 --- a/lib/App/MusicExpo.pm +++ b/lib/App/MusicExpo.pm @@ -171,7 +171,7 @@ $default_template = <<'HTML'; Music - +
diff --git a/musicexpo.css b/musicexpo.css new file mode 100644 index 0000000..0d7aa94 --- /dev/null +++ b/musicexpo.css @@ -0,0 +1,28 @@ +html, body{ + background-color: black; + color: white; +} + +table, tr, td, th{ + border-collapse: collapse; + text-align: center; + border: thin dotted white; + padding: 0.1em; +} + +table{ + width: 98%; + margin: 1% +} + +a:link, a:visited{ + color: white; +} + +tbody > tr:nth-child(odd){ + background-color: #222; +} + +#player { + text-align: center; +} \ No newline at end of file