Files
ClassContent/历届学生/front-end-team/项目练习/学生项目/李康/屁桃/css/index.css
2024-09-27 02:06:13 +08:00

81 lines
1.4 KiB
CSS

.header {
position: fixed;
width: 100%;
height: 1.6rem;
top: 0;
left: 0;
right: 0;
z-index: 99;
}
.header .header_search{
background: var(--themeColor);
height: 0.88rem;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 0.3rem;
}
.header .header_search i {
font-size: 0.45rem;
color: var(--whiteColor);
}
.search {
flex: 1;
background: var(--whiteColor);
height: 0.6rem;
border-radius: 0.6rem;
margin-left: 10px;
margin-right: 10px;
display: flex;
align-items: center;
}
.search i {
color: #999 !important;
font-size: 0.26rem !important;
margin-right: 0.1rem;
padding-top: 0.02rem;
margin-left: 0.26rem;
}
.search span {
font-size: 0.24rem;
color: #999;
}
.header .header_menu {
position: relative;
height: 0.72rem;
display: flex;
align-items: center;
background: #fe7fa2;
}
.header .header_menu a {
width: 0.8rem;
height: 0.72rem;
text-align: center;
line-height: 0.72rem;
}
.header .header_menu i {
color: #e3e3e3;
}
.header .header_menu ul{
display: flex;
flex: 1;
overflow-x: scroll;
padding-left: 0.3rem;
}
.header .header_menu ul li{
font-size: 0.26rem;
margin-right: 0.26rem;
color: #d3d2d2;
flex-shrink: 0;
}
.header_menu ul .active {
color: var(--whiteColor) !important;
}
.content {
margin-top: 1.6rem;
margin-bottom: 1rem;
}