feat(core): list music top list and newest in home page

This commit is contained in:
OldHawk
2017-10-03 17:25:05 +08:00
parent 768a89154d
commit 54a0735e99
7 changed files with 158 additions and 4 deletions

View File

@@ -207,7 +207,7 @@ body {
}
}
.music {
margin: 35px 0;
margin: 38px 0 42px 0;
overflow: hidden;
opacity: 0.8;
&::before {
@@ -438,6 +438,9 @@ body {
}
.newest-item-big {
position: relative;
&.music-margin {
padding: 30px 0 33px 0 !important;
}
img {
width: 100%;
}
@@ -481,6 +484,36 @@ body {
.se-info {
right: 5px;
}
.music {
max-width: 80px;
overflow: hidden;
&::before {
content: ' ';
padding-top: 100%; /* vertical value as 100% equals width */
float: left;
}
div {
overflow: hidden;
&::before {
content: ' ';
padding-top: 100%; /* vertical value as 100% equals width */
float: left;
}
}
}
.music-info {
position: absolute;
top: 0;
right: 0;
left: 90px;
height: 100%;
font-size: 12px;
>div {
position: absolute;
top: 50%;
transform: translateY(-50%);
}
}
}
.se-info {
position: absolute;