diff --git a/README.md b/README.md index a085153..a96ecdc 100644 --- a/README.md +++ b/README.md @@ -2,14 +2,8 @@ Musicoon ======== 私人电台 -######歌曲设置 +#####歌曲设置 修改list.php中的歌曲ID和歌单ID -######备注 -如果服务器上的PHP版本 < 5.4请把数组由 - -$array = []; - -改为 - -$array = array(); +#####声明 +感谢glyphicons.com提供的免费图标 diff --git a/css/style.css b/css/style.css index e37193d..acab017 100644 --- a/css/style.css +++ b/css/style.css @@ -235,12 +235,12 @@ html, body { width: 100%; height: 100%; overflow-y: hidden; + font-family: Helvetica, Tahoma, Arial, STXihei, "华文细黑", "Microsoft YaHei", "微软雅黑", SimSun, "宋体", Heiti, "黑体", sans-serif; } .back { - background-image: url('../images/bgimg.jpg'); - background-repeat: no-repeat; - background-size: cover; + background: url('../images/bgimg.jpg') no-repeat right; + background-size: auto 100%; width: 100%; height: 100%; } @@ -249,21 +249,20 @@ html, body { position: fixed; top: 50%; left: 50%; - width: 800px; - height: 700px; + width: 100%; + height: 70%; } .player { position: absolute; top: -50%; left: -50%; - width: 800px; - height: 700px; + width: 100%; + height: 100%; } .cd { - width: 500px; - height: 500px; + height: 70%; margin: 0 auto; text-align: center; } @@ -296,6 +295,15 @@ html, body { } } +@-moz-keyframes rotate { + from { + -moz-transform: rotate(0deg); + } + to { + -moz-transform: rotate(360deg); + } +} + #album { background-repeat: no-repeat; background-size: cover; @@ -311,6 +319,14 @@ html, body { } .roll { + animation-name: rotate; + animation-duration: 60s; + animation-iteration-count: infinite; + animation-timing-function: linear; + -moz-animation-name: rotate; + -moz-animation-duration: 60s; + -moz-animation-iteration-count: infinite; + -moz-animation-timing-function: linear; -webkit-animation-name: rotate; -webkit-animation-duration: 60s; -webkit-animation-iteration-count: infinite; @@ -318,16 +334,15 @@ html, body { } .action { - margin-top: 50px; + margin-top: 1.022%; + margin-bottom: 0.222%; + height: 2.5%; text-align: center; - -moz-user-select: none; - -khtml-user-select: none; - user-select: none; } .action img { - width: 16px; - height: 18px; + height: 100%; + width: 1.75vh; } #range { @@ -336,16 +351,18 @@ html, body { } input[type="range"] { - -webkit-appearance: none; + appearance: none; + -moz-appearance: none; /* Firefox */ + -webkit-appearance: none; /* Safari 和 Chrome */ -webkit-box-shadow: 0 1px 0 0px #424242, 0 1px 0 #060607 inset, 0px 2px 10px 0px black inset, 1px 0px 2px rgba(0, 0, 0, 0.4) inset, 0 0px 1px rgba(0, 0, 0, 0.6) inset; - margin-top: -10px; + margin-top: -0.333%; background-color: #000000; border-radius: 15px; - height: 10px; + height: 5px; width: 240px; } @@ -358,4 +375,24 @@ input[type="range"]::-webkit-slider-thumb { background: none repeat scroll 0 0 #FFFFFF; border-radius: 15px; -webkit-box-shadow: 0 -1px 1px black inset; +} + +.info { + height: 10%; + font-weight: bold; + font-size: 4vh; + line-height: 7vh; + text-align: center; +} + +.info #artist { + font-size: 2vh; + margin-left: 1em; +} + +.lrc { + height: 5%; + font-size: 2.5vh; + line-height: 3.25vh; + text-align: center; } \ No newline at end of file diff --git a/images/bgimg.jpg b/images/bgimg.jpg index 710b2f0..cb5de48 100644 Binary files a/images/bgimg.jpg and b/images/bgimg.jpg differ diff --git a/index.html b/index.html index 9f0af05..dbf041c 100644 --- a/index.html +++ b/index.html @@ -9,7 +9,7 @@