From dbeeffe4720c38737bc49bf3cb4fd080d08ea203 Mon Sep 17 00:00:00 2001 From: raylu Date: Sat, 6 Aug 2011 20:11:33 -0700 Subject: condense display vertically --- static/base.css | 9 +++++---- static/script.js | 7 +++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/static/base.css b/static/base.css index 00ad6f1..59ebd83 100644 --- a/static/base.css +++ b/static/base.css @@ -125,8 +125,8 @@ object#player { section.song { background-color: #111; - padding: 15px 20px; - margin-top: 10px; + padding: 10px 15px; + margin-top: 7px; position: relative; /* for remove */ } section.song div.info { @@ -135,6 +135,7 @@ section.song div.info { } section.song div.user { float: right; + margin-right: 8px; } section.song div.remove { position: absolute; @@ -145,7 +146,7 @@ section.song div.remove { } section.song div.thumb { float: left; - width: 150px; + width: 140px; height: 90px; overflow: hidden; } @@ -154,7 +155,7 @@ section.song div.thumb img { } section.song canvas, section.song > img { position: relative; - top: 20px; + left: 10px; } section.song > img[src$='pause.png'] { display: none; diff --git a/static/script.js b/static/script.js index 9407689..8e8e137 100644 --- a/static/script.js +++ b/static/script.js @@ -171,15 +171,14 @@ function add(id, title) { function drawAdd(s) { $('article').append('\
\ +
\ + ' + s.yid + '\ +
\ \
' + s.user + '
\
×
\ -
\ -
\ - ' + s.yid + '\ -
\ \
\ Play\ -- cgit v1.2.3