.fl { float: left; } .fr { float: right } li { list-style: none; } ul { margin: 0; padding: 0 } .text-overflow { text-overflow: ellipsis; overflow: hidden; white-space: nowrap; } .mt-20 { margin-top: 20px; } .clear { clear: both; } .blue { background-color: #348BF8 !important; } .green { background-color: #1BBB84 !important; } .red { background-color: #EE7671 !important; } .purple { background-color: #986CED !important; } .noDisplay { display: none; } [v-cloak] { display: none; } /* #app{ width:100%; height:100%; background-size:100% 100%; position: absolute;; } */ html { width: 100%; height: 100%; } body { width: 100%; height: 100%; overflow: hidden; } #app { width: 100%; height: 100%; } .header { background-color: rgba(1, 85, 131, 0.9); width: 100%; height: 140px; } .banxin { width: 73%; margin: 0 auto; min-width: 1000px; } .ulDiv { height: 70px; line-height: 70px; } .ulDiv ul li { float: left; line-height: 60px; cursor: pointer; } .ulDiv ul li .bottomLine {} .ulDiv ul li span { font-size: 18px; margin-right: 47px; height: 55px; display: inline-block; } .ulDiv ul li .activeSpan { border-bottom: 4px solid #348BF8; color: #348BF8; } .active { color: #348BF8 !important; cursor: pointer; } .header .logo { float: left; position: relative; top: 50px; color: white; font-size: 40px; margin-left: -25px; left: 100px; } .header .logo img { width: 170px; position: relative; right: 15px; } .header .logo span { width: 145px; height: 25px; font-size: 24px !important; font-family: MicrosoftYaHei; font-weight: 400; color: rgba(255, 255, 255, 1); line-height: 39px; } .header .date .days img { width: 22px; height: 22px; margin-right: 10px; } .header .date .logged img { width: 50px; height: 50px; margin-right: 10px; } .header .userMsgDiv { left: 30px; position: relative; height: 70px; line-height: 70px; float: right; top: 54px; left: -80px; } .header .userMsgDiv img { margin-top: 17px; height: 40px; width: 40px; border-radius: 20px; } .header .userMsgDiv .username { margin: 0 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; } .header .userMsgDiv .toastDiv span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 150px; display: inline-block; } /* 天气控件样式 */ .tpwthwidt .background-40_1_wavt6 { display: none !important; } /* 登录和注册按钮 */ .header .userMsgDiv .noLogin .registerButton { height: 36px; width: 68px; color: #348BF8; border: 1px solid #348BF8; border-radius: 6px; font-size: 18px; } .header .userMsgDiv .noLogin .loginButton { font-size: 18px; width: 100px; height: 42px; background: rgba(255, 255, 255, 1); border-radius: 8px; font-family: PingFangSC-Medium; font-weight: 500; color: rgba(85, 204, 242, 1); margin-top: 50px; } .header .userMsgDiv .login { font-size: 16px; font-family: MicrosoftYaHei; font-weight: 400; color: white; line-height: 39px; position: relative; cursor: pointer; } .header .userMsgDiv .userCenterDivButton { width: 88px; height: 36px; margin-top: 17px; line-height: 36px; background-color: #348BF8; color: #FFFFFF; text-align: center; border-radius: 6px; cursor: pointer; } .header .toastDiv { cursor: pointer; position: absolute; top: 67px; right: 0; width: 150px; border-radius: 6px; background-color: #fff; box-shadow: 0px 0px 10px rgb(179, 176, 176); z-index: 100; } .header .toastDiv ul li { height: 38px; line-height: 38px; float: left; width: 90%; margin-left: 5%; border-bottom: 1px solid #E8ECF2; text-align: center; } .header .toastDiv ul li span { font-size: 14px; color: #333; display: block; max-width: 150px; text-overflow: hidden; overflow: hidden; white-space: nowrap; word-break: break-all; } .header .toastDiv ul li:hover span { color: #348BF8; } .header .date { float: right; position: relative; height: 30px; top: 58px; padding-right: 22px; border-right: solid 2px rgba(191, 244, 255, 1); right: 100px; } .header .date .days { float: left; font-family: MicrosoftYaHei; font-weight: 400; color: white; position: relative; top: 5px; right: 8px; font-size: 16px; } .header .logged { float: left; font-family: MicrosoftYaHei; font-weight: 400; color: white; position: relative; top: -53px; right: 8px; font-size: 16px; margin-left: 20px; } .header .date #tp-weather-widget { float: left; } /*.tpwthwidt .text_3dzWiJR, .tpwthwidt .title_3yjHYH9{*/ /*color: rgba(191,244,255,1) !important;*/ /*}*/ .body { padding-top: 5%; position: absolute; width: 100%; height: 80%; background: url(../img/homepage/homepage_background.png) center center / cover no-repeat; } .carousel-inner .item>img { margin: 0 auto; } .cursorPointer { cursor: pointer; } .main { width: 65%; height: 75%; margin: 0 auto; box-sizing: border-box; } .main .row { height: 31%; width: 100%; margin-bottom: 1%; margin-left: 0; position: relative; } .main .row .col1 { float: left; height: 100%; width: 23.1%; margin-right: 0.8%; } .main .row .col2 { float: left; height: 100%; width: 16.5%; margin-right: 0.8%; } .main .row .col3 { float: left; height: 100%; width: 19.8%; margin-right: 0.8%; } .main .row .col4 { float: left; height: 100%; width: 21%; margin-right: 0.8%; } .main .row .col5 { float: left; height: 100%; width: 14.8%; margin-right: 0.8%; } .main .row .cols div { color: white; font-size: 2.3vh; text-align: center; position: relative; top: 30%; } .main .row .cols img { height: 44%; margin: 0 auto; display: block; border-style: none; position: relative; top: 15%; } .main .row .cols { cursor: pointer; } .arrow { width: 14px !important; height: 10px !important; } .dropdown { position: relative; } .dropdown-content { display: none; position: absolute; background-color: #f9f9f9; min-width: 160px; box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2); padding: 12px 16px; width: 180px; height: 40px; text-align: center; line-height: 21px; cursor: pointer; color: rgba(102, 102, 102, 1); z-index: 1; box-sizing: border-box; } .dropdown:hover .dropdown-content { display: block; }