index.html 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <!DOCTYPE html>
  2. <html lang="" class="dark">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width,initial-scale=1.0">
  7. <link rel="icon" href="<%= BASE_URL %>favicon.ico">
  8. <title>
  9. <%= htmlWebpackPlugin.options.title %>
  10. </title>
  11. <link rel="stylesheet" href="/static/css/reset.css">
  12. <script src="/static/config/config.js"></script>
  13. <script src="/static/plugins/Cesium/Cesium.js"></script>
  14. <link rel="stylesheet" href="/static/plugins/Cesium/Widgets/widgets.css">
  15. <script src="/static/plugins/createAuth.js"></script>
  16. </head>
  17. <body>
  18. <noscript>
  19. <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled.
  20. Please enable it to continue.</strong>
  21. </noscript>
  22. <div id="app"></div>
  23. <!-- built files will be auto injected -->
  24. </body>
  25. <style>
  26. @font-face {
  27. font-family: 'din-bold';
  28. src: url('./static/font/DIN-Bold/din-bold-2.ttf') format('truetype');
  29. font-weight: normal;
  30. font-style: normal;
  31. }
  32. :root {
  33. /* 滚动条整体部分,必须要设置 */
  34. ::-webkit-scrollbar {
  35. width: 6px;
  36. height: 10px;
  37. overflow-y: overlay;
  38. }
  39. /* 滚动条里面轨道,能向上向下移动 */
  40. ::-webkit-scrollbar-track {
  41. background-color: transparent;
  42. }
  43. /* 滚动条里面轨道,能向上向下移动 */
  44. ::-webkit-scrollbar-track-piece {
  45. background-color: transparent;
  46. }
  47. ::-webkit-scrollbar-thumb {
  48. display: none;
  49. border-radius: 6px;
  50. }
  51. /* 滚动条里面的小方块,能向上向下移动 */
  52. *:hover::-webkit-scrollbar-thumb {
  53. display: flex;
  54. background-color: rgb(163, 166, 173, 0.5);
  55. border-radius: 6px;
  56. }
  57. *:hover::-webkit-scrollbar-track-piece {
  58. background-color: rgb(209, 207, 207, 0);
  59. }
  60. }
  61. </style>
  62. </html>