Files
ClassContent/历届学生/front-end-team-11/项目开发/学生项目/贡婉宝/得到/css/public/utils.css
2024-09-27 02:06:13 +08:00

152 lines
2.4 KiB
CSS

.active a {
color: var(--themeColor);
}
.active {
color: var(--themeColor);
}
.footer {
width: 100%;
height: 1rem;
position: fixed;
left: 0;
bottom: 0;
display: flex;
justify-content: space-around;
align-items: center;
box-sizing: border-box;
border-top: 0.02rem solid #e2e2e2;
background-color: #fff;
z-index: 9000;
}
.footer li {
text-align: center;
}
.footer li a {}
.footer li i {}
.footer li p {
font-size: 0.24rem;
margin-top: 0.04rem;
}
.ellipsis {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.header_pub {
height: 0.9rem;
width: 100%;
position: fixed;
left: 0;
top: 0;
right: 0;
background: var(--themeColor);
color: #fff;
display: flex;
align-items: center;
padding: 0 10px;
box-sizing: border-box;
}
.header_pub .left {
font-size: .36rem;
flex: 1;
display: flex;
align-items: center;
overflow: hidden;
}
.header_pub .left i {
font-size: .4rem;
color: #fff;
}
.header_pub .left span {
flex: 1;
}
.swiper-slide {
font-size: 20px;
height: calc(100vh - 2.6rem);
overflow-y: scroll;
}
.swiper-wrapper ul {
padding: 10px;
box-sizing: border-box;
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
.swiper-wrapper ul li {
width: 48%;
flex-shrink: 0;
margin-bottom: 0.24rem;
}
.swiper-wrapper ul li .img {
position: relative;
}
.swiper-wrapper ul li .img img {
width: 100%;
}
.swiper-wrapper ul li .img span {
bottom: 0.1rem;
right: 0.16rem;
position: absolute;
font-size: 0.24rem;
background: var(--themeColor);
color: #fff;
padding: 0.02rem 0.12rem;
border-radius: 0.16rem;
}
.swiper-wrapper ul li .title {
font-size: 0.34rem;
font-weight: 400;
margin-top: 0.2rem;
margin-bottom: .12rem;
}
.swiper-wrapper ul li .model,
.swiper-wrapper ul li .jg {
font-size: 0.28rem;
color: #bdb7b7;
margin-bottom: .12rem;
}
.swiper-wrapper ul li .tag {
margin-top: 0.1rem;
display: flex;
flex-wrap: wrap;
}
.swiper-wrapper ul li .tag a {
font-size: 0.24rem;
flex-shrink: 0;
padding: 0.08rem 0.18rem;
background: var(--themeColor);
margin-right: 0.1rem;
color: #fff;
border-radius: 0.2rem;
margin-bottom: 0.1rem;
}
.swiper-slide1 {
font-size: 20px;
height: calc(100vh);
overflow-y: scroll;
}