html, body { width: 100%; height: 100%; overflow: auto; font-size: 14px; color: #333; text-align: center; /* font-family: "helvetica neue", "luxi sans", "dejavu sans", tahoma, "hiragino sans gb", stheiti, "microsoft yahei"; min-width: 1000px; */ font-family: 'pingfangsc', 'helvetica neue', 'hiragino sans gb', 'arial', 'microsoft yahei ui', 'microsoft yahei', 'simsun', 'sans-serif' !important; } * { outline: 0; margin: 0; padding: 0; box-sizing: border-box; } ul { list-style-type: none } /* img */ img { display: inline-block; vertical-align: middle; font-size: 0; } span { display: inline-block; } i { font-style: normal; display: inline-block; } a:hover { text-decoration: underline; } a { color: #337ab7; text-decoration: none; display: inline-block; } span { display: inline-block; } /* 滚动条样式 */ ::-webkit-scrollbar { width: 5px; height: 5px; background-color: rgb(255, 251, 251); } ::-webkit-scrollbar-track { -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); box-shadow: inset 0 0 6px rgba(125, 125, 125, 0.3); border-radius: 10px; background-color: rgba(0, 0, 0, 0); } /* 清浮动 */ .clearfix:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; } ::-webkit-scrollbar-thumb { border-radius: 10px; -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3); box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.25); background-color: #a9a1a1; } @media screen and (min-width:1200px) { .jiaxin { width: 1200px; } } @media screen and (min-width:880px) and (max-width:1200px) { .jiaxin { width: 980px; } } @media screen and (max-width:880px) { .jiaxin { width: 880px; min-width:980px; } } .jiaxin { display: inline-block; } .message { position: fixed; top: 10px; right: 10px; z-index:999 ; width: 200px; } .message img { width: 200px; height: 115; margin-bottom: 10px; } .message >a { position: relative; } .message >a span { position: absolute; width: 30px; height: 30px; top: 0; right: 0; display: inline-block; } /* 头部轮播图 */ .banner { position: relative; } .banner .header { position: absolute; left: 20px; top: 25px; } .header .logo { width: 60px; height: 60px; margin-right: 15px; vertical-align: middle; float: left; } h1 { float: left; color: #305aa4; font-size: 32px; font-weight: 900; font-family: "宋体"; } h1 .en { color: #76a0d2; font-size: 14px; font-family: times new roman; letter-spacing: 1px; font-weight: normal; } .erweima { width: 122px; position: absolute; right: 10px; top: 25px; } .banner>img { width: 100%; } .main { margin-top: -3px; } /* 导航栏 */ .tab { line-height: 35px; height: 35px; text-align: center; background-color: #407dcd; } .tab li { width: calc((100% - 10px)/9); float: left; color: white; letter-spacing: 1px; background-color: #407dcd; cursor: pointer!important; } .tab li.active { background-color: #2d588f; } /* 位置 */ .location{ padding-left: 15px; padding-right: 15px; line-height: 35px; color: #0086ff; background: linear-gradient(#f5ffff, #e6f6fd); text-align: left; } .location span { cursor: pointer } .location a{ vertical-align: middle; } .location table{ display: inline-block; width: 160px; vertical-align: middle; } /* 主体 */ .main { } .main_top { border:1px solid #ccc ; overflow: hidden; margin-top: 10px; padding-bottom: 25px; /* display: flex; */ } .main_top>.title { text-align-last: left; height: 33px; line-height: 33px; font-size: 16px; font-weight: bold; color: #5d8ec8; padding-left: 40px; padding-right: 20px; border-bottom: 1px solid #f2f2f2; background: linear-gradient(#fffdff, #ebf5fe); position: relative; margin-bottom: 15px; } .main_top .title img { position: absolute; left: 10px; top: 7px; width: 25px; } .main_top .index_left, .main_top .index_right { width: 173px; box-shadow: 0 1px 10px 0 #cfcfcf ; margin-left: 20px; margin-right: 20px; text-align: center; border-radius: 15px; float: left; } .main_top .index_left .title, .main_top .index_right .title { text-align: center; height: 46px; background: linear-gradient(#2486dd, #44acff); border-top-left-radius: 15px; border-top-right-radius: 15px; font-size: 18px; color: #ffffff; line-height: 46px; } .main_top .index_left .list, .main_top .index_right .list { display: block; font-size: 16px; height: 25%; color: #4d4d4d; padding: 10px 0; cursor: pointer; line-height: 30px; } .main_top .index_middle { float: left; width: calc(100% - 475px); text-align: center; } .main_top .index_middle .title { } .main_top .index_right { width: 220px; } .main_top .index_right .list { font-size: 14px; } .main_top .index_right .th{ color: #000000; font-weight: bold; } .main_top .index_right i { width: calc((100% - 10px)/2); } /* 图文信息 */ .main_message { padding-top: 10px; } .main_message .pic { float: left; width: 550px; height: 280px; border: 1px solid #f2f2f2; } .main_message .info { float: right; width: calc(100% - 570px); max-width: calc(50% - 10px); } .main_message .info .title { text-align: left; font-size: 16px; font-weight: bold; color: #5d8ec8; letter-spacing: 1px; border-bottom: 1px solid #d9d9d9; line-height: 35px; } .main_message .info .title { text-align: left; font-size: 16px; font-weight: bold; color: #5d8ec8; letter-spacing: 1px; border-bottom: 1px solid #d9d9d9; line-height: 35px; } .main_message .info .data { height: 245px; overflow-y: auto; } /* 公告模块 */ .main_info .info { float: left; width: calc((100% - 14px)/2); margin-right: 10px; margin-top: 10px; border:1px solid #f2f2f2 } .main_info .info:nth-of-type(2n) { margin-right: 0; } .main_info .info .title { height: 33px; line-height: 33px; padding-left: 20px; padding-right: 20px; border-bottom: 1px solid #f2f2f2; background: linear-gradient(#fffdff, #ebf5fe); text-align: left; font-size: 16px; font-weight: bold; color: #5d8ec8; letter-spacing: 1px; } .main_info .info .title .more { float: right; color: #0086ff; font-size: 14px; } .main_info .info .data { padding: 10px 20px; height: 200px; overflow-y: auto; } .main_link .bg_bule a{ margin-top: 10px; display: block; width: calc((100% - 15px)/3); float: left; height: 100%; padding: 10px 0; letter-spacing: 1px; background: linear-gradient(#eaf5f7, #acd2e5); font-size: 16px; font-weight: 600; } .main_link .bg_bule a { display: block; } .main_link .bg_bule a span { width: 100%; font-size: 20px; font-weight: 900; } .main_link .bg_bule a:nth-of-type(-n 2) { margin-right: 5px; } .main_link .bg_bule a:nth-of-type(1) { color: #1a5396; } .main_link .bg_bule a:nth-of-type(2) { color: #a9495c; } .main_link .bg_bule a:nth-of-type(3) { color: #c78738; } .main_link .bottom{ padding: 11px 6px; border: 1px solid #f2f2f2; box-sizing:border-box; } .main_link .bottom>div { box-sizing:border-box; display: block; width: calc((100% - 40px)/5); float: left; border: 1px solid #f2f2f2; box-shadow: 0 0 25px 5px #f1f1f1 inset; background-color: transparent; padding: 5px 10px; margin-right: 10px; text-align-last: left; height: 72px; margin-top: 10px;position: relative; font-weight: bold; color: black; visibility: hidden; display: block; } .main_link .bottom a { box-sizing:border-box; display: block; width: calc((100% - 40px)/5); margin-right: 10px; float: left; vertical-align: middle; position: relative; padding: 5px 10px; border: 1px solid #f2f2f2; box-shadow: 0 0 25px 5px #f1f1f1 inset; margin-top: 10px; padding-right: 10px; } .main_link .bottom a:nth-of-type(5n) { margin-right: 0; } .main_link .bottom a .pic { display: inline-block; float: left; width: 60px; height: 70px; line-height: 70px; margin-right: 10px; } .main_link .bottom a span { float: left; width: calc(100% - 90px); text-align: left; position: absolute; top: 50%; transform: translatey( -50%); left:80px; color: black; font-weight: bold; } .main_link .bottom a span:hover { text-decoration: underline; } /* 底部 */ .foot { margin-top: 20px; padding-top: 20px; padding-bottom: 20px; text-align: center; border-top: 3px solid #547596 } .foot p { line-height: 25px; } .foot p a { margin: 0 5px; } .foot span { margin: 0 10px; } .foot .bottom { margin-top:20px; }