.show { display: block; } .noshow { display: none; } @keyframes nav { from { height: 0; } to { height: calc(100vh - 90px); } } @-webkit-keyframes nav { /* Safari and Chrome */ from { height: 0; } to { height: calc(100vh - 90px); } } @-moz-keyframes nav { /* Safari and Chrome */ from { height: 0; } to { height: calc(100vh - 90px); } } @keyframes navc { from { height: calc(100vh - 90px); } to { height: 0; } } @-webkit-keyframes navc { /* Safari and Chrome */ from { height: calc(100vh - 90px); } to { height: 0; } } @-moz-keyframes navc { /* Safari and Chrome */ from { height: calc(100vh - 90px); } to { height: 0; } } body { height: 100vh; overflow-y: scroll; } body::-webkit-scrollbar { /*滚动条整体样式*/ width: 5px; /*高宽分别对应横竖滚动条的尺寸*/ height: 10px; } @media screen and (max-width: 750px) { body::-webkit-scrollbar { /*滚动条整体样式*/ width: 0px; /*高宽分别对应横竖滚动条的尺寸*/ height: 10px; } } body::-webkit-scrollbar-thumb { /*滚动条里面小方块*/ border-radius: 10px; -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2); background: #999; } body::-webkit-scrollbar-thumb:hover { background: #2382ff; } body::-webkit-scrollbar-track { /*滚动条里面轨道*/ -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2); border-radius: 10px; background: #eee; } .header { width: 100%; border-bottom: 1px solid #f1f1f1; background-color: #fff; position: fixed; z-index: 1; } .header .ha-item { margin-top: 10px; height: 70px; } .header .ha-item .img { height: 100%; } .header .ha-item .img span { font-size: 50px; font-weight: bold; color: #2382ff; } .header .ha-item .img img { height: 100%; } .header .ha-item .button { display: none; } @media screen and (max-width: 750px) { .header .ha-item .button { display: block; } } .header .ha-item .button .button { color: #2382ff; padding: 10px; border: 2px solid #2382ff; text-align: center; font-size: 30px; border-radius: 5px; } .header .ha-item .app { height: 100%; text-align: center; } @media screen and (max-width: 750px) { .header .ha-item .app { display: none; } } .header .ha-item .app a { text-decoration: none; color: #2382ff; } .header .ha-item .app a img { width: 50px; } .header .hb-item .nav { display: flex; justify-content: flex-start; align-content: center; } @media screen and (max-width: 750px) { .header .hb-item .nav { display: none; } } .header .hb-item .nav > .nav-item:first-child > a { color: #2382ff; } .header .hb-item .nav .nav-item { padding: 0 20px; } .header .hb-item .nav .nav-item a { color: #777; font-weight: bold; text-decoration: none; line-height: 40px; display: table-cell; vertical-align: bottom; font-size: 18px; } .header .hb-item .nav .nav-item a i { margin-left: 5px; } .header .hb-item .nav .nav-item a:hover { color: #2382ff; } .header .hb-item .nav .nav-item .nav-ul { display: none; overflow: hidden; padding: 0; position: absolute; z-index: 1; background-color: #fff; overflow: auto !important; } .header .hb-item .nav .nav-item .nav-ul .nav-li { width: 100px; padding: 10px; list-style: none; } .header .hb-item .nav .nav-item .nav-ul .nav-li:hover { background-color: #2382ff; } .header .hb-item .nav .nav-item .nav-ul .nav-li:hover a { color: #fff; } .header .hb-item .nav .nav-item .nav-ul .nav-li a { color: #777; line-height: 15px; font-size: small; } #nav-sm { position: fixed; z-index: 99; width: 100vw; overflow-y: scroll; box-sizing: border-box; background-color: #fff; margin-top: 80px; padding: 0; } @media screen and (max-width: 768px) { #nav-sm { border-top: 1px solid #eee; } } #nav-sm::-webkit-scrollbar { height: 0; } #nav-sm > ul > li:first-child > a { color: #2382ff; } #nav-sm ul li { list-style-type: none; } #nav-sm ul li a { font-weight: bold; font-size: 20px; font-size: 16px; line-height: 40px; color: #555; text-decoration: none; } #nav-sm ul li a:hover { color: #2382ff; } #nav-sm ul li .nav-sm-ul { display: flex; justify-content: flex-start; align-items: center; flex-wrap: wrap; padding: 0; } #nav-sm ul li .nav-sm-ul .nav-sm-li { padding: 0 10px; } #nav-sm ul li .nav-sm-ul .nav-sm-li a { font-size: 14px; font-weight: normal; } .nav-sm-noheight { height: 0px; } .nav-sm-show { height: calc(100vh - 80px); animation: nav 1s; -webkit-animation: nav 1s normal; -moz-animation: nav 1s; } .nav-sm-noshow { height: 0px; animation: navc 1s; -webkit-animation: navc 1s normal; -moz-animation: navc 1s; } .body { background-color: #fff; max-width: 1200px; overflow: hidden; position: relative; padding: 10px 15px 15px; margin: 141px 20px 20px; } @media screen and (max-width: 768px) { .body { padding: 0px; border-radius: 10px 10px 0 0; margin: 100px 20px 20px; } } .body .row-style { margin-top: 20px; } @media screen and (max-width: 768px) { .body .row-style { margin-top: 0px; border-radius: 10px; overflow: hidden; } } .body .row-style .carousel-img-style { width: 100%; border-radius: 10px; } .body .hotspot { padding: 0 20px 20px; } .body .hotspot h4 { margin-top: 0px; font-weight: normal; padding-bottom: 7px; border-bottom: 1px solid #eee; font-size: 16px; } .body .hotspot h4 a { width: 100%; text-decoration: none; color: black; } .body .hotspot h4 a .icon-fire-style { margin-right: 10px; color: #a94442; } .body .hotspot h4 a .b { border-bottom: 3px solid #a94442; padding: 5px 0; } .body .hotspot h4 a .a { border-bottom: 3px solid #2382ff; padding: 5px 0; } .body .hotspot ul { padding-left: 20px; } .body .hotspot ul li { list-style-type: square; color: #777; list-style-position: inherit; line-height: 36px; } .body .hotspot ul li a { display: block; width: 100%; text-decoration: none; color: #777; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border-bottom: 1px solid #f5f5f5; } .body .title-style { width: 100%; margin-top: 20px; padding: 0 15px; } .body .title-style .h4 { padding: 15px; border-top: 2px solid #3181ff; background-color: #e0ecff; vertical-align: middle; } .body .scroll-style ul { padding: 0; width: 100%; display: flex; justify-content: space-between; flex-wrap: nowrap; align-items: center; overflow-x: auto; } .body .scroll-style ul::-webkit-scrollbar { background: none; } .body .scroll-style ul .scroll-li-style { width: 19%; min-width: 160px; list-style-type: none; display: block; text-align: center; margin: 10px; } .body .scroll-style ul .scroll-li-style a { color: #777; text-decoration: none; width: 100%; } .body .scroll-style ul .scroll-li-style a img { width: 100%; } .body .scroll-style ul .scroll-li-style a h5 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .footer { width: 100%; box-sizing: border-box; overflow: hidden; background-color: #fff; border-top: 1px solid #f1f1f1; text-align: center; color: #777; } .footer p { margin: 0; padding: 20px 0px 0px; } .footer > p:last-child { padding-bottom: 50px; } #top { position: fixed; bottom: 30px; right: 30px; padding: 20px; color: #fff; background-color: rgba(98, 96, 96, 0.3); border-radius: 10px; } #share { position: fixed; top: 60vh; right: 0px; box-sizing: border-box; display: flex; } @media screen and (max-width: 768px) { #share { display: none; } } #share div { height: 132px; box-sizing: border-box; background-color: #2382ff; color: #fff; font-size: 15px; width: 30px; letter-spacing: 10px; text-align: center; line-height: 30px; border-radius: 5px 0 0 5px; writing-mode: vertical-lr; /*从左向右 从右向左是 writing-mode: vertical-rl;*/ writing-mode: tb-lr; /*IE浏览器的从左向右 从右向左是 writing-mode: tb-rl;*/ } #share ul { width: 0px; height: 132px; border: 1px solid #aaa; border-right: none; list-style: none; padding: 0 ; box-sizing: border-box; } #share ul > li:first-child { background-color: #c6c6c6; line-height: 26px; font-weight: bold; } #share ul li { padding: 5px 10px; width: 100px; vertical-align: middle; } #share ul li img { width: 20px; vertical-align: middle; margin-right: 5px; } #share ul li:hover:not(ul>li:first-child) { background-color: #e6e6e6; }