index.html 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <!DOCTYPE html>
  2. <html lang="">
  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><%= htmlWebpackPlugin.options.title %></title>
  9. <style>
  10. @charset "utf-8";
  11. * {
  12. margin: 0;
  13. padding: 0;
  14. }
  15. /* @font-face {
  16. font-family: 'Source Han Sans SC';
  17. src: url('./static/SourceHanSans-Regular.otf') format('truetype');
  18. font-weight: normal;
  19. font-style: normal;
  20. } */
  21. div::-webkit-scrollbar {
  22. /*滚动条整体样式*/
  23. width: 6px;
  24. /*高宽分别对应横竖滚动条的尺寸*/
  25. height: 6px;
  26. }
  27. /*定义滚动条轨道 内阴影+圆角*/
  28. div::-webkit-scrollbar-track {
  29. border-radius: 10px;
  30. background-color: rgba(0, 0, 0, 0.1);
  31. }
  32. /*定义滑块 内阴影+圆角*/
  33. div::-webkit-scrollbar-thumb {
  34. border-radius: 10px;
  35. -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
  36. background-color: rgba(0, 0, 0, 0.1);
  37. }
  38. html,
  39. body {
  40. height: 100%;
  41. width: 100%;
  42. background: #e6eaf0;
  43. font-family: '黑体';
  44. }
  45. </style>
  46. </head>
  47. <body>
  48. <noscript>
  49. <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
  50. </noscript>
  51. <div id="app"></div>
  52. <!-- built files will be auto injected -->
  53. </body>
  54. </html>