Files
ClassContent/历届学生/韩想/项目开发/课程项目/仿千千音乐/css/index.css
2024-09-27 02:06:13 +08:00

259 lines
4.1 KiB
CSS

.header {
}
.logo {
padding-top: 27px;
width: 123px;
}
.HeadMenu {
height: 95px;
}
.menu {
margin-left: 74px;
}
.menu li,
.login li {
float: left;
height: 95px;
line-height: 95px;
}
.menu li {
padding: 0 17px;
}
.menu li a {
color: #858585;
font-size: 16px;
}
.menu input {
width: 320px;
height: 34px;
border: 1px solid #e4e4e4;
border-radius: 8px;
padding: 0 10px;
box-sizing: border-box;
background: url("../img/search.png") no-repeat;
background-size: 22px;
background-position: 285px;
}
.active {
color:#000 !important;
font-weight: 400;
}
.login {
margin-right: 41px;
}
.login li:nth-child(2) {
width: 1px;
height: 17px;
background: #d8d8d8;
margin: 0 20px;
margin-top: 40px;
}
.login a {
color: #333;
}
.HeadType {
overflow: hidden;
height: 38px;
background-color: #fafafa;
line-height: 38px;
}
.HeadType ul li {
float: left;
}
.HeadType a {
padding: 8px 2.5%;
font-size: 16px;
color: #333;
}
.menu_active {
color: #e13228 !important;
}
.PopularSongist {
width: 790px;
overflow: hidden;
padding-top: 23px;
margin-right: 40px;
}
.list li{
width: 175px;
height: 204px;
float: left;
margin-right: 30px;
}
.list li:nth-child(4){
margin-right: 0 !important;
}
.list li a{
display: block;
margin-top: 10px;
}
.list li:hover .play{
opacity: 1 !important;
}
.list li:hover img{
transform: scale(1.05);
}
.top {
width: 175px;
height: 175px;
position: relative;
overflow: hidden;
}
.top img{
width: 100%;
height: 100%;
transition: all ease 0.6s;
}
.play {
position: absolute;
width: 38px;
height: 38px;
border-radius: 100%;
background: #00000096;
line-height: 38px;
top: 50%;
left: 50%;
margin-top: calc(-38px / 2);
margin-left: calc(-38px / 2);
transition: all ease 0.6s;
opacity: 0;
}
.icon-play {
color: #fff;
text-align: center;
margin-left: 13px;
}
.title {
overflow: hidden;
height: 38px;
line-height: 38px;
margin-bottom: 25px;
}
.title img {
height: 20px;
margin-top: 16px;
}
.title .left h2 {
display: inline-block;
margin-right: 15px;
font-size: 24px;
color: #333;
font-weight: 300;
}
.title .left span {
font-size: 14px;
color: #999;
}
.content_right {
padding-top: 23px;
width: 350px;
}
.ge_list {
display: flex;
flex-wrap: wrap;
}
.ge_list li {
width: 105px;
text-align: center;
line-height: 42px;
height: 42px;
border: 1px solid #ededed;
border-radius: 40px;
margin-bottom: 15px;
margin-right: 15px;
box-sizing: border-box;
}
.ge_list li:nth-child(3n){
margin-right: 0 !important;
}
.dt_title {
display: flex;
flex-wrap: wrap;
margin-left: -28px;
margin-right: 28px
}
.dt_title li {
text-align: center;
width: 25%;
margin-bottom: 20px;
}
.dt_title li img {
width: 50px;
}
.dt_title li p {
font-size: 14px;
color: #333;
}
.phb_ul {
display: flex;
justify-content: space-between;
}
.dddd {
overflow: hidden;
}
.phb_ul li{
width: 380px;
border: 1px solid rgba(91,148,0,.3);
height: 544px;
}
.phb_ul li .ph_title{
display: flex;
justify-content: space-between;
padding: 0 10px;
height:66px;
align-items: center;
background-color: rgba(91,148,0,.1);
}
.ph_title img{
width: 30px;
height: 30px;
}
.phb_ul li .ph_list{
display: flex;
justify-content: space-between;
padding-left: 20px;
padding-right: 10px;
padding-top: 10px;
padding-bottom: 10px;
align-items: center;
}
.ph_list:hover {
background: #8d8d8d;
}
.ph_list:hover .list_r {
display: block;
}
.list_l {
display: flex;
}
.list_l .num {
font-size: 18px;
color: #5b9400;
margin-right: 14px;
}
.list_l img {
width: 50px;
height: 50px;
margin-right: 10px;
}
.list_l p {
font-size: 14px;
color: #333;
}
.list_l p+span {
font-size: 14px;
color: #999;
}
.list_r {
display: none;
}
.list_r i{
font-size: 50px;
}