Files
ClassContent/项目合集/菜谱App/fontend/css/info.css
2024-09-27 02:06:13 +08:00

266 lines
5.1 KiB
CSS

body{
background: #fafafa;
}
.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);
border-radius: .75rem;
z-index: 14565269565;
}
.nav .menu a p {
line-height: 1.5rem;
font-size: .7rem;
color: #fff;
}
.banner img{
width: 100%;
position: relative;
top: -3.3rem;
}
.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 .list_title{
display: flex;
justify-content: space-between;
align-items: center;
}
.info_list h1 h2{
font-size: 1.4rem;
font-weight: 700;
color: #333;
}
.info_list .list_title i{
font-size: 1.25rem;
}
.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;
}
.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 .75rem;
box-sizing: border-box;
}
.Otherpractices{
padding-left: .8rem;
padding-right: .8rem;
box-sizing: border-box;
margin-bottom: 2.5rem;
}
.Otherpractices_title{
height: 2.5rem;
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
}
.Otherpractices_title h3{
font-weight: 600;
}
.Otherpractices_title a{
font-size: .6rem;
color: #f15e51;
}
.Otherpractices ul{
padding: 1rem .8rem;
background: #fff;
border-radius: 16px;
box-shadow: 0px 0px 32px rgba(0,0,0,0.1);
overflow: hidden;
}
.Otherpractices ul li{
margin-right: .5rem;
float: left;
text-align: center;
margin-bottom: .3rem;
}
.Otherpractices ul li:nth-child(3n){
margin-right: 0px;
}
.Otherpractices ul li img{
width: 4.85rem;
height: 4.85rem;
margin-bottom: .5rem;
border-radius: 8px;
}
.Otherpractices ul li p{
font-size: 14px;
color: #000;
}
.recommend{
padding-left: .8rem;
padding-right: .8rem;
box-sizing: border-box;
margin-bottom: 2.5rem;
}
.recommend ul{
padding: 1rem .8rem;
background: #fff;
border-radius: 16px;
box-shadow: 0px 0px 32px rgba(0,0,0,0.1);
}
.recommend ul li{
margin-bottom: .8rem;
}
.recommend ul li a{
display: flex;
}
.recommend ul li img{
width: 7.2rem;
height: 4.8rem;
border-radius: .4rem;
margin-right: .8rem;
}
.recommend ul li .recommend_left{
display: flex;
flex-direction: column;
justify-content: space-between;
}
.recommend ul li .recommend_left h3{
font-size: 17px;
color: #000;
font-weight: 400;
}
.recommend ul li .recommend_left p{
font-size: 12px;
color: #949494;
}