]> iEval git - app-musicexpo.git/commitdiff
Add example CSS
authorMarius Gavrilescu <marius@ieval.ro>
Thu, 2 Apr 2015 11:33:26 +0000 (14:33 +0300)
committerMarius Gavrilescu <marius@ieval.ro>
Thu, 2 Apr 2015 11:33:26 +0000 (14:33 +0300)
MANIFEST
lib/App/MusicExpo.pm
musicexpo.css [new file with mode: 0644]

index 4bde63a9117696f6e99d0ec16cd3f2b8bc1f4ea7..56720688491ff1623114f514fdd642eff7bcebc9 100644 (file)
--- 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
index a9a9058d47e5951578a4cd8c8450d1b91e587794..32c780623351a5fe41b06d43554bd2a5d68a1fd9 100644 (file)
@@ -171,7 +171,7 @@ $default_template = <<'HTML';
 <!DOCTYPE html>
 <title>Music</title>
 <meta charset="utf-8">
-<link rel="stylesheet" href="/music.css">
+<link rel="stylesheet" href="musicexpo.css">
 <script async defer type="application/javascript" src="player.js"></script>
 
 <div id="player"></div>
diff --git a/musicexpo.css b/musicexpo.css
new file mode 100644 (file)
index 0000000..0d7aa94
--- /dev/null
@@ -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
This page took 0.033754 seconds and 4 git commands to generate.