Files
ClassContent/历届学生/fontendseven/项目练习/上课项目/美食/css/info.css
2024-09-27 02:06:13 +08:00

195 lines
3.6 KiB
CSS

.content {
margin: 0 !important;
}
.nav {
display: flex;
justify-content: space-between;
padding: 0 0.8rem;
box-sizing: border-box;
position: fixed;
width: 100%;
top: 0.8rem;
z-index: 999;
}
.nav .menu {
height: 1.5rem;
padding: 0 0.6rem;
background: rgba(0,0,0,0.5);
border-radius: 0.75rem;
z-index: 14565269565;
}
.nav .menu a p {
line-height: 1.5rem;
font-size: .7rem;
color: #fff;
}
.img_hidden {
height: 18.75rem;
position: relative;
overflow: hidden;
}
.img_hidden img {
width: 100%;
position: absolute;
top: -87px;
}
.info_list {
margin: 0.8rem;
padding: 1rem 0.75rem 0.5rem;
background: #fff;
box-sizing: border-box;
position: relative;
box-shadow: 0px 0px 1.6rem rgb(0 0 0 / 10%);
border-radius: 0.8rem;
margin-top: -3rem;
z-index: 999;
}
.info_list .list_title {
display: flex;
justify-content: space-between;
align-items: center;
}
.list_title h2 {
font-size: 1rem;
}
.info_list .list_title i {
font-size: 1.25rem;
}
.info_list .posttime {
font-size: .6rem;
color: #999;
line-height: 1rem;
display: block;
padding: 0.2rem 0px 0px;
border-bottom: 1px solid #f5f5f5;
padding-bottom: 0.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 {
position: relative;
height: 2.1rem;
overflow: hidden;
margin-top: 12px;
font-weight: 400;
font-size: .7rem;
color: #999999;
line-height: 1.05rem;
}
.list_text p {
font-size: 0.7rem;
color: #757575;
}
.list_text .more {
position: absolute;
right: 0;
bottom: 0;
width: 88px;
text-align: right;
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));
}
.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;
font-size: 16px;
}
.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_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;
padding: 0px 1rem 0px 0.75rem;
background: rgba(255,255,255,0.9);
position: absolute;
left: 0px;
top: 0.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: 0.75rem 0.75rem 0.75rem;
box-sizing: border-box;
font-size: 14px;
}
.tabs_img{
padding-left: 15px;
}
.tabs_img img{
width: 70px !important;
height: 70px;
margin-right: 0.5rem;
}
.zj {
position: initial !important;
margin-top: 25px;
}