Files
ClassContent/历届学生/陈一航/2020-03-25/css/index.css
2024-09-27 02:06:13 +08:00

231 lines
3.9 KiB
CSS

.footer {
position: fixed;
width: 100%;
height: 45px;
bottom: 0;
background-color: #fff;
left: 0;
padding-top: 2px;
box-sizing: border-box;
z-index: 9999999;
}
.footer ul {
display: flex;
justify-content: space-around;
align-items: center;
}
.footer ul li{
display: flex;
flex-direction: column;
text-align: center;
}
.footer ul img{
width: 30px;
}
.footer ul span{
font-size: 12px;
color: #999;
}
.footer::before {
content: '';
position: absolute;
width: 100%;
top:0;
left: 0;
height: 1px;
background: #dbdada;
transform: scaleY(0.5);
}
.header {
width: 100%;
height: 50px;
box-sizing: border-box;
background: #1C1B20;
padding: 0 10px;
position: fixed;
left: 0;
top: 0;
display: flex;
justify-content: space-between;
align-items: center;
z-index: 9999999;
}
.header .left_location {
display: flex;
align-items: center;
width: 50%;
}
.left_location div {
font-size: 16px;
color: #fff;
margin-left: 4px;
margin-right: 2px;
}
.left_location::before {
content: "";
width: 15px;
height: 15px;
background-image: url("../img/location.png");
background-size: cover;
}
.left_location::after {
content: "";
width: 15px;
height: 15px;
background-image: url("../img/right.png");
background-size: cover;
}
.header input {
width: 52%;
height: 30px;
border-radius: 100px;
padding: 0 30px;
box-sizing: border-box;
background: #fff url("../img/search.png") no-repeat;
background-size: 15px;
background-position: 8px center;
}
.content {
margin-top: 50px;
margin-bottom: 45px;
}
.menu_list {
display: flex;
flex-wrap: wrap;
padding-top: 13px;
}
.menu_list li {
width: 20%;
text-align: center;
margin-bottom: 12px;
}
.menu_list li img{
width: 44px;
}
.menu_list li p{
font-size: 11px;
color: #333;
}
.shop_title {
position: relative;
text-align: center;
font-size: 17px;
color: #333;
margin-top: 15px;
margin-bottom: 5px;
}
.shop_title::before{
content: '';
position: absolute;
height: 1px;
width: 60px;
background: #666;
transform: scale(0.5);
left: 50%;
margin-left: -90px;
top: 50%;
margin-top: -0.5px;
}
.shop_title::after{
content: '';
position: absolute;
height: 1px;
width: 60px;
background: #666;
transform: scale(0.5);
right: 50%;
margin-right: -90px;
top: 50%;
margin-top: -0.5px;
}
.shop_list .list_top{
height: 40px;
display: flex;
align-items: center;
justify-content: space-around;
position: relative;
margin-bottom: 20px;
}
.list_top::before {
content: '';
position: absolute;
width: 100%;
top:0;
left: 0;
height: 1px;
background: #dbdada;
transform: scaleY(0.5);
}
.list_top::after {
content: '';
position: absolute;
width: 100%;
bottom:0;
left: 0;
height: 1px;
background: #dbdada;
transform: scaleY(0.5);
}
.list_top li {
font-size: 14px;
color: #666;
}
.list_top li:nth-child(4){
width: 1px;
height: 20px;
background: #dbdada;
}
.list_content li {
display: flex;
justify-content: space-between;
padding: 0 10px;
box-sizing: border-box;
align-items: center;
margin-bottom: 20px;
}
.content_l {
display: flex;
}
.content_l img {
width: 76px;
height: 57px;
margin-right: 8px;
border: 1px solid #e4e4e4;
}
.l_text h2 {
font-size: 16px;
color: #333;
}
.wjx {
display: inline-block;
}
.wjx span {
width: 10px;
height: 10px;
display: inline-block;
background: url("../img/wjx.png") no-repeat;
background-position: 0 0;
background-size: cover;
}
.a {
margin-left: 4px;
}
.b {
margin-left: 10px;
}
.a,.b{
font-size: 11px;
color: #333;
}
.content_time span,
.text_b span{
font-size: 11px;
color: #333;
}