加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
旅梦4-2.css 3.47 KB
一键复制 编辑 原始数据 按行查看 历史
无尘 提交于 2022-06-21 16:05 . 第一次学习
*{
margin: 0;
padding: 0;
}
body{
background: #3d6266;
}
header{
height: 40px;
font-size: 20px;
color: #FFF;
/* display: flex;
justify-content: center;
align-items: center; */
text-align: center;
line-height: 40px;
position: relative;
}
.movie-info{
display: flex;
padding: 20px;
}
.movie-info-img{
width: 100px;
height: 138px;
position: relative;
}
.播放{
width: 30px;
position: absolute;
left: 5%;
bottom: 3%;
}
.movie-info-desc{
flex: 1;
margin-left: 14px;
}
.movie-info-desc h1{
width: 200px;
font-size: 24px;
color: #fff;
font-weight: 400;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.movie-info-desc p{
font-size: 14px;
color: rgba(255, 255, 255,0.5);
margin-top: 3px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.type-time{
margin: 15px 0 15px 0;
}
.type{
font-size: 0;
}
.type span{
font-size: 14px;
margin-right: 4px;
color: rgba(255, 255, 255,0.5);
}
.type em{
padding: 3px;
font-size: 12px;
font-style: normal;
margin-left: 4px;
background: #364a51;
border-radius: 5px;
color: #FFF;
}
.watch{
display: flex;
}
.want,.done{
flex: 1;
background: #70878b;
padding: 6px 0;
text-align: center;
border-radius: 5px;
color: #FFF;
}
.done{
margin-left: 5px;
}
.want img,.done img{
width: 16px;
height: 16px;
vertical-align: middle;
}
.want span,.done span{
vertical-align: middle;
}
.movie-rate{
padding: 15px;
font-size: 12px;
}
.movie-rate-wrap{
background:rgba(0, 0, 0,0.18);
border-radius: 5px;
color: white;
padding: 5px;
}
.nums{
color: rgba(255,255,255,0.5);
}
.rate-top{
display: flex;
justify-content:space-between;
}
.rate-top .title img{
width: 14px;
height: 14px;
}
.rate-top .title{
display: flex;
align-items: center;
}
.right-arrow{
width: 7px;
height: 7px;
border: 2px solid rgb(255, 255, 255,0.7);
display: inline-block;
border-bottom: none;
border-left: none;
transform: rotateZ(45deg);
}
.rate-bottom{
margin-top:6px ;
display: flex;
}
.rate-slider{
display: flex;
align-items: center;
}
.score{
}
.score .num{
font-size: 36px;
color: #ffb400;
font-weight: 600;
text-align: right;
}
.score .people{
font-size: 12px;
font-weight: 400;
color: rgba(255,255,255,0.3);
}
.slider{
margin-left: 5px;
}
.stars-percent-bar{
display: flex;
align-items: center;
margin-top: 4px;
}
.bar{
width: 70px;
height: 4px;
background: rgba(255,255,255,0.1);
margin-left: 4px;
}
.stars{
font-size: 0;
}
.stars img{
width: 8px;
height: 8px;
margin-left: 2px;
}
.percent{
background: rgba(255,255,255,0.3);
height: 100%;
}
.rate-list{
padding: 3px;
border: 1px solid rgb(180, 173, 41);
border-radius: 5px;
display: flex;
height: 50px;
margin-top: 5px;
}
.rate-list-left{
width: 50px;
height: 100%;
background: rgba(133, 135, 26, 0.281);
border-radius: 5px;
}
.paiming{
padding-top: 1px;
padding-left:12px ;
color: rgb(180, 173, 41);
font-weight: 600;
}
.diyi{
font-size: 28px;
padding-left:15px ;
color: rgb(180, 173, 41);
font-weight: 600;
}
.rate-list-right{
padding-top:6px ;
}
.rate-list-right-top{
color: rgba(255,255,255,0.3);
}
.rate-list-right-bottom{
color: #d7ce26;
font-weight: 700;
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化