Files
ClassContent/历届学生/韩想/项目开发/课程项目/美食/css/info.css
2024-09-27 02:06:13 +08:00

178 lines
3.5 KiB
CSS

.banner {
height: 18.75rem;
position: relative;
}
.img_hidden {
height: 100%;
overflow: hidden;
}
.nav {
display: flex;
justify-content: space-between;
padding: 0 0.8rem;
box-sizing: border-box;
position: fixed;
width: 100%;
top: .8rem;
z-index: 999;
}
.nav .menu {
height: 1.5rem;
padding: 0 .6rem;
background: rgba(0,0,0,0.5);
font-size: .7rem;
color: #fff;
border-radius: .75rem;
display: flex;
align-items: center;
justify-content: center;
}
.banner img{
width: 100%;
position: relative;
top: -3.3rem;
}
.nav i {
font-size: .4rem;
}
.info_list {
margin: .8rem;
padding: 1rem .75rem .5rem;
background: #fff;
box-sizing: border-box;
position: relative;
box-shadow: 0px 0px 1.6rem rgba(0,0,0,0.1);
border-radius: .8rem;
margin-top: -3rem;
z-index: 999;
}
.info_list h1{
font-size: 1.4rem;
font-weight: 700;
color: #333;
line-height: 1.9rem;
display: flex;
justify-content: space-between;
}
.icon-shoucang {
font-size: 22px !important;
}
.info_list .posttime{
font-size: .6rem;
color: #999;
line-height: 1rem;
display: block;
padding: .2rem 0px 0px;
border-bottom: 1px solid #f5f5f5;
padding-bottom: .5rem;
}
.ddd {
display: flex;
justify-content: space-between;
margin-top: 1rem;
}
.ddd li {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.ddd p {
font-size: .6rem;
color: #666666;
}
.ddd .i{
height: 1.5rem;
width: 1.5rem;
background-position: 0px -1.5rem;
background: url("https://st-cn.meishij.net/p2/20200221/20200221173101_145.png");
background-size: 1.5rem 7.5rem;
}
.list_text {
overflow: hidden;
height: 2.1rem;
font-weight: 400;
text-align: justify;
font-size: .7rem;
color: #999999;
line-height: 1.05rem;
margin-top: 1rem;
position: relative;
}
.list_text .more {
position: absolute;
right: 0;
bottom: 0;
padding-left: 3rem;
font-size: .7rem;
color: #5a92f5;
background-image: linear-gradient(to right,rgba(255,255,255,0.1),rgba(255,255,255,0.5),rgba(255,255,255,1),rgba(255,255,255,1),rgba(255,255,255,1),rgba(255,255,255,1));
}
.icon-houtui-copy-copy {
font-size: .6rem !important;
}
.ms {
margin-top: 1rem;
}
.ms .main{
margin-bottom: .75rem;
}
.ms .title{
margin-bottom: .35rem;
border-bottom: 1px solid rgba(0,0,0,0.05);
padding-bottom: .5rem;
}
.ms .title span {
color: #999;
font-size: .6rem;
padding-left: .3rem;
font-weight: 300;
}
.ms ul{
}
.ms ul li{
display: flex;
justify-content: space-between;
height: 1.75rem;
align-items: center;
border-bottom: 1px solid rgba(0,0,0,0.05);
}
.ms ul li span{
font-size: .7rem;
color: #999;
font-weight: 400;
}
.content {
margin-top: 1rem;
}
.content_list {}
.content_list li {
position: relative;
margin-bottom: 1rem;
}
.content_list li .step{
height: 2rem;
line-height: 2rem;
color: #333;
font-size: .9rem;
font-weight: 700;
display: inline-block;
vertical-align: top;
padding: 0px 1rem 0px .75rem;
background: rgba(255,255,255,0.9);
position: absolute;
left: 0px;
top: .75rem;
border-top-right-radius: 1rem;
border-bottom-right-radius: 1rem;
z-index: 100;
}
.content_list li img{
width: 100%;
}
.content_list li p{
padding: .75rem .75rem 1.5rem;
box-sizing: border-box;
}