diff options
Diffstat (limited to 'res')
-rw-r--r-- | res/main.js | 12 | ||||
-rw-r--r-- | res/styles.css | 29 |
2 files changed, 35 insertions, 6 deletions
diff --git a/res/main.js b/res/main.js index 543cd16..2f42d19 100644 --- a/res/main.js +++ b/res/main.js @@ -75,13 +75,13 @@ function changeMusicListWidth () { music_list.style.width = Math.floor( outer_width / 120) * 120; } -window.onload = function() { - changeMusicListWidth(); -} +// window.onload = function() { +// changeMusicListWidth(); +// } -window.onresize = function(){ - changeMusicListWidth(); -} +// window.onresize = function(){ +// changeMusicListWidth(); +// } // time diff --git a/res/styles.css b/res/styles.css index 92fdd2d..e7e8c08 100644 --- a/res/styles.css +++ b/res/styles.css @@ -151,6 +151,7 @@ body{ #music_player_container { max-width: 95%; margin: 0 auto; + margin-top: 10px; } #music_player_container .music_cover{ @@ -195,4 +196,32 @@ body{ font-weight:bold; } +#paginate { + width: 100%; +} + +#paginate a { + color:rgb(0, 0, 0); + text-decoration-line: none; + display: block; + width: 30px; + height: 30px; + text-align: center; + line-height: 30px; + float:left; + margin-right: 5px; +} + +#paginate a:hover{ + color:#fff; + background-color: #000; + text-decoration-line: none; + display: block; +} +#paginate .current{ + color:#fff; + background-color: #000; + text-decoration-line: none; + display: block; +}
\ No newline at end of file |