Skip to content
Browse files

CSS

  • Loading branch information...
1 parent 34e438f commit f135a8ee30bfe6e55eaba3bf6020c9cf0043a594 @quilime quilime committed Jun 21, 2012
Showing with 17 additions and 6 deletions.
  1. +1 −1 package.json
  2. +6 −1 sass/index.scss
  3. +4 −1 static/css/index.css
  4. +6 −3 static/index.js
View
2 package.json
@@ -8,7 +8,7 @@
"scripts": {
"start": "app.js"
},
- "version": "0.0.0-46",
+ "version": "0.0.0-47",
"engines": {
"node": "0.6.x"
},
View
7 sass/index.scss
@@ -19,6 +19,7 @@ body { }
padding: 0;
line-height: 1.3em;
& li {
+ font-size:12px;
float:left;
display: inline-block;
text-align: center;
@@ -42,7 +43,11 @@ body { }
}
}
& .track {
- font-size:12px;
+ color:#999;
+ }
+ & .artist {
+ color:#555;
+
}
}
}
View
5 static/css/index.css
@@ -13,6 +13,7 @@
padding: 0;
line-height: 1.3em; }
#shaders li {
+ font-size: 12px;
float: left;
display: inline-block;
text-align: center;
@@ -45,7 +46,9 @@
#shaders li .thumb img:hover {
box-shadow: rgba(255, 255, 220, 0.25) 0px 2px 20px; }
#shaders li .track {
- font-size: 12px; }
+ color: #999; }
+ #shaders li .artist {
+ color: #555; }
#loader {
text-align: center; }
View
9 static/index.js
@@ -90,9 +90,12 @@ function($){
if(shader.track.title) {
html.push(
- '<span class="track"><a title="' + shader.track.artist, ' &mdash; ', shader.track.title + '" href="', shader.track.url, '">',
- shader.track.artist, ' &mdash; ', shader.track.title,
- '</a></span>'
+ '<a title="', shader.track.artist, ' &mdash; ', shader.track.title, '" href="', shader.track.url, '">',
+ '<span class="track">', shader.track.title, '</span>',
+ '<br />',
+ '<span class="artist">', shader.track.artist, '<span>',
+
+ '</a>'
);
} else {
html.push('<span class="track"></span>');

0 comments on commit f135a8e

Please sign in to comment.
Something went wrong with that request. Please try again.