'commit'
This commit is contained in:
180
static/css/index.css
Normal file
180
static/css/index.css
Normal file
@@ -0,0 +1,180 @@
|
||||
@charset "utf-8";
|
||||
/* CSS Document */
|
||||
*{
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box}
|
||||
*,body{padding:0px; margin:0px;font-family: "微软雅黑";}
|
||||
body{ background:#000d4a url(../images/bg.jpg) center center; background-size:cover;color:#fff; font-size: .1rem; }
|
||||
li{ list-style-type:none;}
|
||||
/* @font-face{font-family:electronicFont;src:url(../font/DS-DIGIT.TTF)} */
|
||||
i{ margin:0px; padding:0px; text-indent:0px;}
|
||||
img{ border:none; max-width: 100%;}
|
||||
a{ text-decoration:none; color:#399bff;}
|
||||
a.active,a:focus{ outline:none!important; text-decoration:none;}
|
||||
ol,ul,p,h1,h2,h3,h4,h5,h6{ padding:0; margin:0}
|
||||
a:hover{ color:#06c; text-decoration: none!important}
|
||||
|
||||
html,body{height: 100%;}
|
||||
.clearfix:after, .clearfix:before {display: table;content: " "}
|
||||
.clearfix:after {clear: both}
|
||||
.pulll_left{float:left;}
|
||||
.pulll_right{float:right;}
|
||||
/*谷哥滚动条样式*/
|
||||
::-webkit-scrollbar {width:5px;height:5px;position:absolute}
|
||||
::-webkit-scrollbar-thumb {background-color:#5bc0de}
|
||||
::-webkit-scrollbar-track {background-color:#ddd}
|
||||
/***/
|
||||
|
||||
.loading{position:fixed; left:0; top:0; font-size:16px; z-index:100000000;width:100%; height:100%; background:#1a1a1c; text-align:center;}
|
||||
.loadbox{position:absolute; width:160px;height:150px; color: #324e93; left:50%; top:50%; margin-top:-100px; margin-left:-75px;}
|
||||
.loadbox img{ margin:10px auto; display:block; width:40px;}
|
||||
|
||||
.head{ height:1.05rem; background: url(../images/head_bg.png) no-repeat center center; background-size: 100% 100%; position: relative}
|
||||
.head h1{ color:#fff; text-align: center; font-size: .4rem; line-height:.8rem; letter-spacing: -1px;}
|
||||
.head h1 img{ width:1.5rem; display: inline-block; vertical-align: middle; }
|
||||
.time{ position:absolute; right:.15rem; top:0; line-height: .75rem;color:rgba(255,255,255,.7); font-size: .3rem; padding-right: .1rem;font-family:electronicFont;}
|
||||
|
||||
.mainbox{ padding:0 .2rem 0rem .2rem; height:calc(100% - 1.05rem) }
|
||||
.mainbox>ul{ margin-left:-.1rem; margin-right:-.1rem; height:100%}
|
||||
.mainbox>ul>li{ float: left; padding: 0 .1rem;height:100%;width: 30%}
|
||||
.mainbox>ul>li:nth-child(2){ width: 40%}
|
||||
|
||||
.boxall{ padding:0 .2rem .2rem .2rem; background: rgba(6,48,109,.5); position: relative; margin-bottom: .15rem; z-index: 10; }
|
||||
.alltitle{ font-size:.2rem; color:#fff; line-height: .5rem; position: relative;padding-left: .15rem}
|
||||
.alltitle:before{position: absolute; height: .2rem; width: 4px; background: #49bcf7; border-radius: 5px; content: ""; left: 0; top: 50%; margin-top: -.1rem;}
|
||||
|
||||
/* 标签切换器样式 - 小巧居中版本 */
|
||||
.tab-switcher {
|
||||
display: inline-flex;
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
border-radius: .12rem;
|
||||
padding: .03rem;
|
||||
margin-bottom: .08rem;
|
||||
border: 1px solid rgba(73, 188, 247, 0.3);
|
||||
height: .3rem;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.tab-item {
|
||||
min-width: 1.2rem;
|
||||
text-align: center;
|
||||
padding: .08rem .2rem;
|
||||
cursor: pointer;
|
||||
border-radius: .1rem;
|
||||
font-size: .14rem;
|
||||
color: rgba(255, 255, 255, 0.7);
|
||||
transition: all 0.2s ease;
|
||||
background: transparent;
|
||||
line-height: 1.2;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
.tab-item:hover {
|
||||
background: rgba(73, 188, 247, 0.2);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.tab-item.active {
|
||||
background: linear-gradient(135deg, #49bcf7, #2b95d6);
|
||||
color: #fff;
|
||||
box-shadow: 0 1px 4px rgba(73, 188, 247, 0.3);
|
||||
/* font-weight: bold; */
|
||||
}
|
||||
|
||||
.tab-item:first-child {
|
||||
margin-right: .03rem;
|
||||
}
|
||||
|
||||
.tab-item:last-child {
|
||||
margin-left: .03rem;
|
||||
}
|
||||
|
||||
/* 标题行布局样式 */
|
||||
.title-row {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: .1rem;
|
||||
}
|
||||
|
||||
.right-content {
|
||||
font-size: .14rem;
|
||||
color: rgba(255, 255, 255, 0.7);
|
||||
padding: .05rem .15rem;
|
||||
background: rgba(73, 188, 247, 0.2);
|
||||
border-radius: .08rem;
|
||||
border: 1px solid rgba(73, 188, 247, 0.3);
|
||||
}
|
||||
|
||||
|
||||
.boxnav{height: calc(100% - .80rem);}
|
||||
.row>li{ float: left; height: 100%;}
|
||||
.col-6{width: 50%;}
|
||||
.col-3{width: 25%;}
|
||||
.col-4{width: 33.33333%;}
|
||||
.h100{height: 100%;}
|
||||
.tit01{ text-align: center; color: white; font-size: .16rem; padding: .3rem 0 .02rem 0;}
|
||||
.piebox{ height: calc(100% - .5rem); position: relative;}
|
||||
.piebox:before{ width:.6rem; height:.6rem; content: ""; border: 1px solid #49bcf7; border-radius: 1rem; position: absolute;
|
||||
left:50%; top: 50%; margin-left: -.31rem; margin-top: -.31rem; opacity: .7;}
|
||||
|
||||
.sqzs{margin-right: .2rem;}
|
||||
.sqzs p{ padding: .2rem 0 .1rem 0; font-size: .22rem;}
|
||||
.sqzs h1{height: calc(100% - .65rem); border-bottom: 1px solid rgba(255,255,255,.1); border-top: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; color: #fef000;font-weight: normal; letter-spacing: 2px; font-size: .5rem; justify-content: center;padding-bottom: .05rem;}
|
||||
.sqzs h1 span{ font-size: .8rem; font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif; }
|
||||
|
||||
table{ width: 100%; text-align: center;}
|
||||
table th{ font-size: .16rem; background: rgba(0,0,0,.1);}
|
||||
table td{ font-size: .16rem; color: rgba(255,255,255,.6);}
|
||||
table th,table td{ border-bottom:1px solid rgba(255,255,255,.1); padding: .1rem 0;}
|
||||
|
||||
select.right-content {
|
||||
font-size: .14rem;
|
||||
color: rgba(255, 255, 255, 0.7);
|
||||
padding: .05rem .15rem;
|
||||
background: rgba(73, 188, 247, 0.2);
|
||||
border-radius: .08rem;
|
||||
border: 1px solid rgba(73, 188, 247, 0.3);
|
||||
outline: none;
|
||||
cursor: pointer;
|
||||
appearance: none;
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2349bcf7'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
|
||||
background-repeat: no-repeat;
|
||||
background-position: right .1rem center;
|
||||
background-size: .12rem;
|
||||
padding-right: .3rem;
|
||||
}
|
||||
|
||||
/* 下拉菜单选项样式 - 与整体颜色一致 */
|
||||
select.right-content option {
|
||||
background-color: rgba(6, 48, 109, 0.9); /* 深蓝色背景,与页面主色调一致 */
|
||||
color: #fff; /* 白色文字 */
|
||||
padding: .1rem .15rem;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* 鼠标悬停状态的选项 */
|
||||
select.right-content option:hover {
|
||||
background-color: rgba(73, 188, 247, 0.5); /* 中等蓝色背景 */
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
select.right-content:hover {
|
||||
background-color: rgba(73, 188, 247, 0.3);
|
||||
/* background-color: red; */
|
||||
}
|
||||
|
||||
select.right-content:focus {
|
||||
border-color: rgba(73, 188, 247, 0.3);
|
||||
box-shadow: 0 0 0 2px rgba(73, 188, 247, 0.2);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user