Files
peko-h5/view/peko/home/css/index.css
2024-01-22 21:52:54 +08:00

93 lines
1.9 KiB
CSS

@media screen and (min-width: 769px) {
body,
html {
width: 100%;
height: 100%;
background: #0E0B24;
font-family: Avenir, Avenir;
}
body .pc,
html .pc {
width: 100%;
height: 100%;
background: url(../images/pcBg.png) no-repeat center;
background-size: 25.6rem 14.4rem;
position: relative;
}
body .pc .header,
html .pc .header {
width: 100%;
height: 1.44rem;
position: absolute;
left: 0;
top: 0;
}
body .pc .header .logo,
html .pc .header .logo {
width: 0.72rem;
height: 0.72rem;
position: absolute;
top: 0.36rem;
left: 4.8rem;
}
body .pc .header .name,
html .pc .header .name {
height: 100%;
line-height: 1.44rem;
font-size: 0.53333rem;
color: #FFFFFF;
font-weight: 800;
position: absolute;
top: 0;
left: 5.73333rem;
}
body .pc .header .index,
html .pc .header .index {
height: 100%;
line-height: 1.44rem;
font-family: PingFangSC, PingFang SC;
color: fff;
font-weight: 500;
position: absolute;
top: 0;
left: 8.76rem;
font-size: 0.37333rem;
color: #fff;
}
body .pc .header .index span,
html .pc .header .index span {
width: 0.37333rem;
height: 0.08rem;
background: #9168FA;
border-radius: 0.08rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 1.01333rem;
}
body .pc .header .diamound,
html .pc .header .diamound {
width: 1.57333rem;
height: 0.64rem;
line-height: 0.64rem;
color: #FFFFFF;
font-size: 0.32rem;
text-align: center;
background: rgba(255, 255, 255, 0.2);
border-radius: 0.64rem;
box-sizing: border-box;
border: 1px solid #fff;
position: absolute;
right: 5.06667rem;
top: 0.4rem;
vertical-align: middle;
}
body .pc .header .diamound img,
html .pc .header .diamound img {
display: inline-block;
width: 0.4rem;
height: 0.4rem;
vertical-align: middle;
}
}