landing.html 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <h1>DPlayer</h1>
  2. <h3>🍭 Wow, such a lovely HTML5 danmaku video player.</h3>
  3. <div class="dplayer-wrap">
  4. <div id="dplayer1"></div>
  5. </div>
  6. <div class="landing-buttons">
  7. <a class="landing-button" target="_blank" href="https://github.com/MoePlayer/DPlayer">
  8. GitHub
  9. </a>
  10. <a class="landing-button" router-link="/home">
  11. Docs
  12. </a>
  13. </div>
  14. <style>
  15. h1 {
  16. margin: 0;
  17. margin-top: -50px;
  18. font-weight: normal;
  19. font-size: 40px;
  20. letter-spacing: 1px;
  21. }
  22. h3 {
  23. margin-top: 20px;
  24. color: #999;
  25. font-weight: normal;
  26. letter-spacing: 1px;
  27. }
  28. .landing {
  29. padding: 10px;
  30. display: -webkit-box;
  31. display: -ms-flexbox;
  32. display: flex;
  33. -webkit-box-align: center;
  34. -ms-flex-align: center;
  35. align-items: center;
  36. -webkit-box-pack: center;
  37. -ms-flex-pack: center;
  38. justify-content: center;
  39. -webkit-box-orient: vertical;
  40. -webkit-box-direction: normal;
  41. -ms-flex-direction: column;
  42. flex-direction: column;
  43. height: 100%;
  44. -webkit-user-select: none;
  45. user-select: none;
  46. }
  47. .features {
  48. margin-top: 20px;
  49. margin-bottom: 10px;
  50. font-size: 16px;
  51. line-height: 1.7;
  52. }
  53. .landing-button {
  54. border: 1px solid #ccc;
  55. border-radius: 33px;
  56. padding: 10px 30px;
  57. background-color: white;
  58. display: inline-block;
  59. margin-right: 20px;
  60. color: #333;
  61. }
  62. .landing-button:hover {
  63. border-color: #42b983;
  64. color: #42b983;
  65. text-decoration: none;
  66. }
  67. .dplayer-wrap {
  68. max-width: 600px;
  69. margin: 20px 0 40px;
  70. box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
  71. }
  72. </style>