index.css 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464
  1. .show {
  2. display: block;
  3. }
  4. .noshow {
  5. display: none;
  6. }
  7. @keyframes nav {
  8. from {
  9. height: 0;
  10. }
  11. to {
  12. height: calc(100vh - 90px);
  13. }
  14. }
  15. @-webkit-keyframes nav {
  16. /* Safari and Chrome */
  17. from {
  18. height: 0;
  19. }
  20. to {
  21. height: calc(100vh - 90px);
  22. }
  23. }
  24. @-moz-keyframes nav {
  25. /* Safari and Chrome */
  26. from {
  27. height: 0;
  28. }
  29. to {
  30. height: calc(100vh - 90px);
  31. }
  32. }
  33. @keyframes navc {
  34. from {
  35. height: calc(100vh - 90px);
  36. }
  37. to {
  38. height: 0;
  39. }
  40. }
  41. @-webkit-keyframes navc {
  42. /* Safari and Chrome */
  43. from {
  44. height: calc(100vh - 90px);
  45. }
  46. to {
  47. height: 0;
  48. }
  49. }
  50. @-moz-keyframes navc {
  51. /* Safari and Chrome */
  52. from {
  53. height: calc(100vh - 90px);
  54. }
  55. to {
  56. height: 0;
  57. }
  58. }
  59. body {
  60. height: 100vh;
  61. overflow-y: scroll;
  62. }
  63. body::-webkit-scrollbar {
  64. /*滚动条整体样式*/
  65. width: 5px;
  66. /*高宽分别对应横竖滚动条的尺寸*/
  67. height: 10px;
  68. }
  69. @media screen and (max-width: 750px) {
  70. body::-webkit-scrollbar {
  71. /*滚动条整体样式*/
  72. width: 0px;
  73. /*高宽分别对应横竖滚动条的尺寸*/
  74. height: 10px;
  75. }
  76. }
  77. body::-webkit-scrollbar-thumb {
  78. /*滚动条里面小方块*/
  79. border-radius: 10px;
  80. -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  81. background: #999;
  82. }
  83. body::-webkit-scrollbar-thumb:hover {
  84. background: #2382ff;
  85. }
  86. body::-webkit-scrollbar-track {
  87. /*滚动条里面轨道*/
  88. -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  89. border-radius: 10px;
  90. background: #eee;
  91. }
  92. .header {
  93. width: 100%;
  94. border-bottom: 1px solid #f1f1f1;
  95. background-color: #fff;
  96. position: fixed;
  97. z-index: 1;
  98. }
  99. .header .ha-item {
  100. margin-top: 10px;
  101. height: 70px;
  102. }
  103. .header .ha-item .img {
  104. height: 100%;
  105. }
  106. .header .ha-item .img span {
  107. font-size: 50px;
  108. font-weight: bold;
  109. color: #2382ff;
  110. }
  111. .header .ha-item .img img {
  112. height: 100%;
  113. }
  114. .header .ha-item .button {
  115. display: none;
  116. }
  117. @media screen and (max-width: 750px) {
  118. .header .ha-item .button {
  119. display: block;
  120. }
  121. }
  122. .header .ha-item .button .button {
  123. color: #2382ff;
  124. padding: 10px;
  125. border: 2px solid #2382ff;
  126. text-align: center;
  127. font-size: 30px;
  128. border-radius: 5px;
  129. }
  130. .header .ha-item .app {
  131. height: 100%;
  132. text-align: center;
  133. }
  134. @media screen and (max-width: 750px) {
  135. .header .ha-item .app {
  136. display: none;
  137. }
  138. }
  139. .header .ha-item .app a {
  140. text-decoration: none;
  141. color: #2382ff;
  142. }
  143. .header .ha-item .app a img {
  144. width: 50px;
  145. }
  146. .header .hb-item .nav {
  147. display: flex;
  148. justify-content: flex-start;
  149. align-content: center;
  150. }
  151. @media screen and (max-width: 750px) {
  152. .header .hb-item .nav {
  153. display: none;
  154. }
  155. }
  156. .header .hb-item .nav > .nav-item:first-child > a {
  157. color: #2382ff;
  158. }
  159. .header .hb-item .nav .nav-item {
  160. padding: 0 20px;
  161. }
  162. .header .hb-item .nav .nav-item a {
  163. color: #777;
  164. font-weight: bold;
  165. text-decoration: none;
  166. line-height: 40px;
  167. display: table-cell;
  168. vertical-align: bottom;
  169. font-size: 18px;
  170. }
  171. .header .hb-item .nav .nav-item a i {
  172. margin-left: 5px;
  173. }
  174. .header .hb-item .nav .nav-item a:hover {
  175. color: #2382ff;
  176. }
  177. .header .hb-item .nav .nav-item .nav-ul {
  178. display: none;
  179. overflow: hidden;
  180. padding: 0;
  181. position: absolute;
  182. z-index: 1;
  183. background-color: #fff;
  184. overflow: auto !important;
  185. }
  186. .header .hb-item .nav .nav-item .nav-ul .nav-li {
  187. width: 100px;
  188. padding: 10px;
  189. list-style: none;
  190. }
  191. .header .hb-item .nav .nav-item .nav-ul .nav-li:hover {
  192. background-color: #2382ff;
  193. }
  194. .header .hb-item .nav .nav-item .nav-ul .nav-li:hover a {
  195. color: #fff;
  196. }
  197. .header .hb-item .nav .nav-item .nav-ul .nav-li a {
  198. color: #777;
  199. line-height: 15px;
  200. font-size: small;
  201. }
  202. #nav-sm {
  203. position: fixed;
  204. z-index: 99;
  205. width: 100vw;
  206. overflow-y: scroll;
  207. box-sizing: border-box;
  208. background-color: #fff;
  209. margin-top: 80px;
  210. padding: 0;
  211. }
  212. @media screen and (max-width: 768px) {
  213. #nav-sm {
  214. border-top: 1px solid #eee;
  215. }
  216. }
  217. #nav-sm::-webkit-scrollbar {
  218. height: 0;
  219. }
  220. #nav-sm > ul > li:first-child > a {
  221. color: #2382ff;
  222. }
  223. #nav-sm ul li {
  224. list-style-type: none;
  225. }
  226. #nav-sm ul li a {
  227. font-weight: bold;
  228. font-size: 20px;
  229. font-size: 16px;
  230. line-height: 40px;
  231. color: #555;
  232. text-decoration: none;
  233. }
  234. #nav-sm ul li a:hover {
  235. color: #2382ff;
  236. }
  237. #nav-sm ul li .nav-sm-ul {
  238. display: flex;
  239. justify-content: flex-start;
  240. align-items: center;
  241. flex-wrap: wrap;
  242. padding: 0;
  243. }
  244. #nav-sm ul li .nav-sm-ul .nav-sm-li {
  245. padding: 0 10px;
  246. }
  247. #nav-sm ul li .nav-sm-ul .nav-sm-li a {
  248. font-size: 14px;
  249. font-weight: normal;
  250. }
  251. .nav-sm-noheight {
  252. height: 0px;
  253. }
  254. .nav-sm-show {
  255. height: calc(100vh - 80px);
  256. animation: nav 1s;
  257. -webkit-animation: nav 1s normal;
  258. -moz-animation: nav 1s;
  259. }
  260. .nav-sm-noshow {
  261. height: 0px;
  262. animation: navc 1s;
  263. -webkit-animation: navc 1s normal;
  264. -moz-animation: navc 1s;
  265. }
  266. .body {
  267. background-color: #fff;
  268. max-width: 1200px;
  269. overflow: hidden;
  270. position: relative;
  271. padding: 10px 15px 15px;
  272. margin: 141px 20px 20px;
  273. }
  274. @media screen and (max-width: 768px) {
  275. .body {
  276. padding: 0px;
  277. border-radius: 10px 10px 0 0;
  278. margin: 100px 20px 20px;
  279. }
  280. }
  281. .body .row-style {
  282. margin-top: 20px;
  283. }
  284. @media screen and (max-width: 768px) {
  285. .body .row-style {
  286. margin-top: 0px;
  287. border-radius: 10px;
  288. overflow: hidden;
  289. }
  290. }
  291. .body .row-style .carousel-img-style {
  292. width: 100%;
  293. border-radius: 10px;
  294. }
  295. .body .hotspot {
  296. padding: 0 20px 20px;
  297. }
  298. .body .hotspot h4 {
  299. margin-top: 0px;
  300. font-weight: normal;
  301. padding-bottom: 7px;
  302. border-bottom: 1px solid #eee;
  303. font-size: 16px;
  304. }
  305. .body .hotspot h4 a {
  306. width: 100%;
  307. text-decoration: none;
  308. color: black;
  309. }
  310. .body .hotspot h4 a .icon-fire-style {
  311. margin-right: 10px;
  312. color: #a94442;
  313. }
  314. .body .hotspot h4 a .b {
  315. border-bottom: 3px solid #a94442;
  316. padding: 5px 0;
  317. }
  318. .body .hotspot h4 a .a {
  319. border-bottom: 3px solid #2382ff;
  320. padding: 5px 0;
  321. }
  322. .body .hotspot ul {
  323. padding-left: 20px;
  324. }
  325. .body .hotspot ul li {
  326. list-style-type: square;
  327. color: #777;
  328. list-style-position: inherit;
  329. line-height: 36px;
  330. }
  331. .body .hotspot ul li a {
  332. display: block;
  333. width: 100%;
  334. text-decoration: none;
  335. color: #777;
  336. overflow: hidden;
  337. text-overflow: ellipsis;
  338. white-space: nowrap;
  339. border-bottom: 1px solid #f5f5f5;
  340. }
  341. .body .title-style {
  342. width: 100%;
  343. margin-top: 20px;
  344. padding: 0 15px;
  345. }
  346. .body .title-style .h4 {
  347. padding: 15px;
  348. border-top: 2px solid #3181ff;
  349. background-color: #e0ecff;
  350. vertical-align: middle;
  351. }
  352. .body .scroll-style ul {
  353. padding: 0;
  354. width: 100%;
  355. display: flex;
  356. justify-content: space-between;
  357. flex-wrap: nowrap;
  358. align-items: center;
  359. overflow-x: auto;
  360. }
  361. .body .scroll-style ul::-webkit-scrollbar {
  362. background: none;
  363. }
  364. .body .scroll-style ul .scroll-li-style {
  365. width: 19%;
  366. min-width: 160px;
  367. list-style-type: none;
  368. display: block;
  369. text-align: center;
  370. margin: 10px;
  371. }
  372. .body .scroll-style ul .scroll-li-style a {
  373. color: #777;
  374. text-decoration: none;
  375. width: 100%;
  376. }
  377. .body .scroll-style ul .scroll-li-style a img {
  378. width: 100%;
  379. }
  380. .body .scroll-style ul .scroll-li-style a h5 {
  381. overflow: hidden;
  382. text-overflow: ellipsis;
  383. white-space: nowrap;
  384. }
  385. .footer {
  386. width: 100%;
  387. box-sizing: border-box;
  388. overflow: hidden;
  389. background-color: #fff;
  390. border-top: 1px solid #f1f1f1;
  391. text-align: center;
  392. color: #777;
  393. }
  394. .footer p {
  395. margin: 0;
  396. padding: 20px 0px 0px;
  397. }
  398. .footer > p:last-child {
  399. padding-bottom: 50px;
  400. }
  401. #top {
  402. position: fixed;
  403. bottom: 30px;
  404. right: 30px;
  405. padding: 20px;
  406. color: #fff;
  407. background-color: rgba(98, 96, 96, 0.3);
  408. border-radius: 10px;
  409. }
  410. #share {
  411. position: fixed;
  412. top: 60vh;
  413. right: 0px;
  414. box-sizing: border-box;
  415. display: flex;
  416. }
  417. @media screen and (max-width: 768px) {
  418. #share {
  419. display: none;
  420. }
  421. }
  422. #share div {
  423. height: 132px;
  424. box-sizing: border-box;
  425. background-color: #2382ff;
  426. color: #fff;
  427. font-size: 15px;
  428. width: 30px;
  429. letter-spacing: 10px;
  430. text-align: center;
  431. line-height: 30px;
  432. border-radius: 5px 0 0 5px;
  433. writing-mode: vertical-lr;
  434. /*从左向右 从右向左是 writing-mode: vertical-rl;*/
  435. writing-mode: tb-lr;
  436. /*IE浏览器的从左向右 从右向左是 writing-mode: tb-rl;*/
  437. }
  438. #share ul {
  439. width: 0px;
  440. height: 132px;
  441. border: 1px solid #aaa;
  442. border-right: none;
  443. list-style: none;
  444. padding: 0 ;
  445. box-sizing: border-box;
  446. }
  447. #share ul > li:first-child {
  448. background-color: #c6c6c6;
  449. line-height: 26px;
  450. font-weight: bold;
  451. }
  452. #share ul li {
  453. padding: 5px 10px;
  454. width: 100px;
  455. vertical-align: middle;
  456. }
  457. #share ul li img {
  458. width: 20px;
  459. vertical-align: middle;
  460. margin-right: 5px;
  461. }
  462. #share ul li:hover:not(ul>li:first-child) {
  463. background-color: #e6e6e6;
  464. }