Files
Beidou-Web/css/dataAll.css
2024-04-11 16:20:00 +08:00

444 lines
7.4 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* 声明字体*/
body {
background: url(../images/bg5.jpg) no-repeat top center;
line-height: 1.15;
background-size: 100% 100%;
}
header {
position: relative;
height: 1.25rem;
background: url(../images/head.png) no-repeat;
background-size: 100% 100%;
}
body header h1 {
font-size: 0.475rem;
color: #6e0d0d;
text-align: center;
line-height: 1rem;
font-weight: 700;
}
header .showTime {
position: absolute;
right: 1.875rem;
top: .25rem;
line-height: 0.9375rem;
color: rgba(255, 255, 255, 0.7);
font-size: 0.25rem;
}
/* 页面主体盒子 */
.mainbox {
display: flex;
min-width: 1024px;
max-width: 1920px;
margin: 0 auto;
padding: 0.125rem 0.125rem 0;
}
.mainbox .column1 {
flex: 3;
margin: 0 0.125rem 0.1875rem;
}
.mainbox .column2 {
flex: 5;
margin: 0 0.125rem 0.1875rem;
}
.mainbox .column3 {
flex: 3;
/* width: 3.5rem; */
/* height: 3.875rem; */
margin: 0 0.125rem 0.1875rem;
/* overflow: hidden; */
}
/* 左边排版 */
.mainbox .panel {
position: relative;
height: 3.875rem;
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::before {
position: absolute;
top: 0;
left: 0;
width: 30px;
height: 100px;
border-left: 2px solid #e5ae47;
border-top: 2px solid #e5ae47;
content: "";
}
.mainbox .panel::after {
position: absolute;
top: 0;
right: 50px;
width: 100px;
border-right: 2px solid #e5ae47;
border-top: 2px solid #e5ae47;
content: "";
}
.mainbox .panel .panel-footer {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
}
.mainbox .panel .panel-footer::before {
position: absolute;
left: 50px;
bottom: 0;
width: 100px;
border-left: 2px solid #e5ae47;
border-bottom: 2px solid #e5ae47;
content: "";
}
.mainbox .panel .panel-footer::after {
position: absolute;
bottom: 0;
right: 0;
width: 30px;
height: 100px;
border-right: 2px solid #e5ae47;
border-bottom: 2px solid #e5ae47;
content: "";
}
.mainbox .panel h2 {
height: 0.6rem;
color: #b34929;
line-height: 0.6rem;
text-align: center;
font-size: 0.25rem;
font-weight: 700;
}
.mainbox .panel ul {
/* 盒子的高度 */
height: .25rem;
/* color: #b1a96b; */
/* 年份的高度 */
line-height: .1875rem;
text-align: center;
/* font-size: .125rem;
font-weight: 400; */
}
.mainbox .panel ul .year5-link,
.mainbox .panel ul .year2-link,
.mainbox .panel ul .year1-link{
background-color: transparent;
border: transparent;
font-size: 0.20rem;
font-weight: 600;
color: #5f5138;
text-decoration: none;
margin: 0 .0125rem;
}
.mainbox .panel ul .year5-link:focus,
.mainbox .panel ul .year2-link:focus,
.mainbox .panel ul .year1-link:focus{
color: #b34929;
}
.mainbox .panel .chart {
height: 3rem;
}
.mainbox .column2 .map3d {
display: flex;
justify-content: center;
/* border: 2px solid red; */
}
.mainbox .column2 .map3d a {
font-size: 20px;
color: rgb(0, 0, 0);
}
.mainbox .column2 .map3d a:hover {
color: rgb(150, 9, 9);
}
/* 右边排版 */
.mainbox .panel2 {
position: relative;
height: 5.8125rem;
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 .panel2::before {
position: absolute;
top: 0;
left: 0;
width: 30px;
height: 100px;
border-left: 2px solid #e5ae47;
border-top: 2px solid #e5ae47;
content: "";
}
.mainbox .panel2::after {
position: absolute;
top: 0;
right: 50px;
width: 100px;
border-right: 2px solid #e5ae47;
border-top: 2px solid #e5ae47;
content: "";
}
.mainbox .panel2 .panel2-footer {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
}
.mainbox .panel2 .panel2-footer::before {
position: absolute;
left: 50px;
bottom: 0;
width: 100px;
border-left: 2px solid #e5ae47;
border-bottom: 2px solid #e5ae47;
content: "";
}
.mainbox .panel2 .panel2-footer::after {
position: absolute;
bottom: 0;
right: 0;
width: 30px;
height: 100px;
border-right: 2px solid #e5ae47;
border-bottom: 2px solid #e5ae47;
content: "";
}
.mainbox .panel2 h2 {
height: 0.6rem;
line-height: 0.6rem;
text-align: center;
font-size: 0.25rem;
font-weight: 600;
color: #b34929;
margin: 0 .0125rem;
}
.mainbox .panel2 ul {
/* 盒子的高度 */
height: .375rem;
/* color: #b1a96b; */
/* 年份的高度 */
line-height: .1875rem;
text-align: center;
/* font-size: .125rem;
font-weight: 400; */
}
.mainbox .panel2 h2 ul a {
color: #b1a96b;
text-decoration: none;
margin: 0 .0125rem;
/* 年份之间的间距 */
font-size: .1875rem;
}
.mainbox .panel2 .chart {
height: 5rem;
}
.no {
background: rgba(101, 132, 226, 0.1);
padding: 0.1875rem;
}
.no .no-hd {
position: relative;
border: 1px solid rgba(25, 186, 139, 0.17);
}
.no .no-hd::before {
position: absolute;
top: 0;
left: 0;
content: "";
width: 100px;
height: 30px;
border-top: 2px solid #e5ae47;
border-left: 2px solid #e5ae47;
}
.no .no-hd::after {
position: absolute;
bottom: 0;
right: 0;
content: "";
width: 100px;
height: 30px;
border-right: 2px solid #e5ae47;
border-bottom: 2px solid #e5ae47;
}
.no .no-hd ul {
display: flex;
}
.no .no-hd ul li {
position: relative;
flex: 1;
line-height: 1rem;
font-size: 0.875rem;
color: #611a11;
text-align: center;
font-family: "electronicFont";
}
.no .no-hd ul li::after {
content: "";
position: absolute;
top: 25%;
right: 0;
height: 50%;
width: 1px;
background: rgba(255, 255, 255, 0.2);
}
.no .no-bd ul {
display: flex;
}
.no .no-bd ul li {
flex: 1;
text-align: center;
color: #b34929;
font-size: 0.225rem;
height: 0.5rem;
line-height: 0.5rem;
padding-top: 0.125rem;
}
.map {
position: relative;
height: 10.125rem;
}
.map .map1 {
width: 6.475rem;
height: 6.475rem;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: url(../images/1.png);
background-size: 100% 100%;
opacity: 0.5;
}
.map .map2 {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 8.0375rem;
height: 8.0375rem;
background: url(../images/jt.png);
animation: rotate1 10s linear infinite;
opacity: 0.3;
background-size: 100% 100%;
}
.map .map3 {
position: absolute;
top: 50%;
left: 50%;
/* right: 58%; */
transform: translate(-50%, -50%);
/* width: 6.875rem;
height: 6.875rem; */
width: 6.875rem;
height: 6.875rem;
background: url(../images/qian1.png);
animation: rotate2 25s linear infinite;
opacity: 0.8;
background-size: 100% 100%;
}
/* .map .dataShuangBian {
position: absolute;
top: 50%;
left: 50%;
width: 8.0375rem;
height: 8.0375rem;
} */
.map .chart2 {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 10.125rem;
}
@keyframes rotate1 {
form {
transform: translate(-50%, -50%) rotate(0deg);
}
to {
transform: translate(-50%, -50%) rotate(-360deg);
}
}
@keyframes rotate2 {
from {
transform: translate(-50%, -50%) rotate(0deg);
}
to {
transform: translate(-50%, -50%) rotate(-360deg);
}
}
/* 约束屏幕尺寸 */
@media screen and (max-width: 1024px) {
html {
font-size: 42px !important;
}
}
@media screen and (min-width: 1920px) {
html {
font-size: 80px !important;
}
}