@font-face { font-family:思源黑; src:url('/css/SourceHanSansCN-Light.ttf'); } /*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/ ::-webkit-scrollbar { width: 10px; height: 10px; background-color: transparent; } /*定义滚动条轨道 内阴影+圆角*/ ::-webkit-scrollbar-track { border-radius: 10px; background-color: transparent; } /*定义滑块 内阴影+圆角*/ ::-webkit-scrollbar-thumb { border-radius: 10px; background-color: #c9c9c9; } body {font-size:16px; line-height:1.2; padding: 0; margin: 0 auto;} body, nav, header, section, footer{width:100%;position:relative;} a, a:focus {color:#d01400;text-decoration:none;cursor:pointer;outline:none;} a:hover{text-decoration:none;} strong{font-weight:bold;} b {font-weight:700;} i{font-style:italic;} h1,h2,h3,h4,h5,h6{line-height:1;margin:0 auto;text-align:center;font-weight: normal;} ul{margin:0;padding:0;list-style:none;} p{margin: 0;} *{ -webkit-tap-highlight-color: transparent; -webkit-qppearance: none; } html{ width: 100%; height: 100%; } body{ width: 100%; height: 100%; font-family: 思源黑; color: #fff; background: url(../img/photoCover.png) center center / cover; min-width:1024px !important; } .cover{ width: 100%; height: 100%; background: #222328; opacity: 0.85; position: absolute; left: 0; top: 0; z-index: -1; } .picCenter{ width: 1px; height: 494px; position: absolute; top: 50%; left: 50%; background: url(../img/cen.png) center center / cover; transform: translate(-50%,-50%); -webkit-transform: translate(-50%,-50%); } .container{ width: 100%; height: 100%; position: relative; } a.linkWeb{ text-decoration: none; color: #2bc0be; position: absolute; top: 25px; left: 40px; font-size: 14px; font-family: 思源黑; } a.linkWeb:after{ display: block; content: ""; width: 0; height: 0; border-right: 8px solid #2bc0be; border-top: 7px solid; border-top-color: transparent; border-bottom: 7px solid; border-bottom-color: transparent; border-left: none; position: absolute; top: 2px; left: -15px; } .left{ width: 31%; height: 494px; position: absolute; top: 50%; right: 55%; transform: translate(0,-50%); -webkit-transform: translate(0,-50%); } .left p{ margin-bottom: 60px; margin-top: 60px; } .noNum{ font-size: 20px; } .please{ font-size: 14px; } .phoneNum{ padding-left: 40px; line-height: 32px; background: url(../img/phone1.png) no-repeat left center; } .mail{ padding-left: 40px; line-height: 32px; background: url(../img/mail1.png) no-repeat left center; } .right{ width: 30%; height: 494px; position: absolute; top: 50%; left: 55%; transform: translate(0,-50%); -webkit-transform: translate(0,-50%); } .contentBox{ max-width: 416px; width: 80%; height: 100%; float: right; position: relative; } .contentBox input{ display: block; height: 41px; max-width: 413px; width: 100%; border-radius: 20px; border: 1px solid #2bc0be; outline: none; padding-left: 25px; color: #888; line-height: 41px; position: absolute; left: 0; background: transparent; box-sizing: border-box; font-size: 16px; } .userName{ top: 77px; } .password{ top: 164px; } input.code{ padding-left: 0; text-align: center; max-width: 213px; width: 40%; top: 256px; } .codeRet{ max-width: 145px; width: 30%; height: 35px; position: absolute; top: 261px; right: 0; cursor: pointer; } .codeRet img { width: 100%; height: 100%; } .titleH{ width: 100%; font-size: 20px; } .loginBtn{ font-size: 18px; color: #fff; background: #2bc0be; width: 154px; height: 40px; text-align: center; line-height: 40px; position: absolute; top: 351px; left: 50%; transform: translate(-50%,0); -webkit-transform: translate(-50%,0); border-radius: 5px; border: 0; outline: 0; cursor:pointer; } .loginBtn:hover{ background: #56e4e2; } .loginBtn:active{ color: #000; background: #118a88; }