177 lines
2.9 KiB
CSS
177 lines
2.9 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
background: url(../images/bg3.jpg) no-repeat center;
|
|
}
|
|
|
|
|
|
/* 页面主体盒子 */
|
|
.mainbox {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
|
|
.mainbox .box-head .return {
|
|
top: 10px;
|
|
left: 40px;
|
|
|
|
}
|
|
|
|
.mainbox .box-head a {
|
|
/* float: left; */
|
|
display: block;
|
|
text-align: center;
|
|
width: 60px;
|
|
font-weight: 700;
|
|
color: #7a0b0b;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.mainbox .box-head a:hover {
|
|
border-bottom: 2px solid #7a0b0b;
|
|
}
|
|
|
|
.mainbox .box-head h2 {
|
|
font-size: 32px;
|
|
text-align: center;
|
|
color: #fff;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.mainbox .box-head .countries {
|
|
display: flex;
|
|
justify-content: space-around;
|
|
padding: 0 20px;
|
|
width: 100%;
|
|
/* border: 1px solid blue; */
|
|
}
|
|
|
|
.mainbox .box-body {
|
|
width: 100%;
|
|
height: 70%;
|
|
color: rgb(0, 0, 0);
|
|
}
|
|
|
|
.w {
|
|
width: 1000px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.box-head .area {
|
|
position: relative;
|
|
}
|
|
|
|
.box-head .area .area-head {
|
|
font-size: 22px;
|
|
width: 100px;
|
|
color: #fff;
|
|
border: 1px solid #fff;
|
|
border-radius: 10px;
|
|
text-align: center;
|
|
font-weight: 700;
|
|
margin: 20px 0px;
|
|
}
|
|
|
|
.box-head .area .area-head:focus {
|
|
background-color: #fff;
|
|
color: #7a0b0b;
|
|
}
|
|
|
|
.box-head .area .area-body {
|
|
/* border: 1px solid red; */
|
|
background-color: #fff;
|
|
position: absolute;
|
|
left: 0;
|
|
top: 100%;
|
|
|
|
/* display: flex; */
|
|
display: none;
|
|
/* justify-content: space-around; */
|
|
z-index: 999;
|
|
}
|
|
|
|
.box-head .area-body dd {
|
|
padding: 2px 20px;
|
|
text-align: left;
|
|
}
|
|
|
|
.area .area-body button {
|
|
font-size: 16px;
|
|
text-align: start;
|
|
color: gray;
|
|
}
|
|
|
|
.as button {
|
|
background-color: transparent;
|
|
border: transparent;
|
|
color: #000;
|
|
width: 7rem;
|
|
font-size: .125rem;
|
|
}
|
|
|
|
.as button:focus {
|
|
color: rgb(172, 10, 10);
|
|
}
|
|
|
|
.eu button {
|
|
|
|
background-color: transparent;
|
|
border: transparent;
|
|
width: 7rem;
|
|
font-size: .125rem;
|
|
}
|
|
|
|
.eu button:focus {
|
|
color: rgb(228, 129, 36);
|
|
}
|
|
|
|
.af button {
|
|
background-color: transparent;
|
|
border: transparent;
|
|
width: 7rem;
|
|
/* height: 2.5rem; */
|
|
border: 0;
|
|
font-size: .125rem;
|
|
border-radius: .375rem;
|
|
}
|
|
|
|
.af button:focus {
|
|
color: #4d2a0d;
|
|
}
|
|
|
|
.mainbox .box {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
background-color: rgba(248, 255, 253, 0.17);
|
|
}
|
|
|
|
/* 右侧图表 */
|
|
.mainbox .panel {
|
|
position: relative;
|
|
height: 100%;
|
|
width: 100%;
|
|
padding: 0 0.1875rem 0.5rem;
|
|
border: 1px solid rgba(25, 186, 139, 0.17);
|
|
margin-bottom: 0.1875rem;
|
|
background: url(../images/line\(1\).png) rgba(255, 255, 255, 0.03);
|
|
}
|
|
|
|
.mainbox .panel h2 {
|
|
padding: 100px 0;
|
|
height: 3.75rem;
|
|
color: #746c2f;
|
|
line-height: 2.5rem;
|
|
text-align: center;
|
|
font-size: 1.875rem;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.mainbox .panel .chart {
|
|
height: 37.5rem;
|
|
} |