index.html 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <style type="text/css">
  5. .container {
  6. text-align: center;
  7. height: 100vh;
  8. }
  9. h1 {
  10. font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  11. color: white;
  12. font-size: 72px;
  13. font-weight: lighter;
  14. text-shadow: black 4px 4px 10px;
  15. }
  16. button#start-button {
  17. margin: 0;
  18. padding: 0;
  19. background-color: rgba(255, 255, 255, 0.5);
  20. color: black;
  21. font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  22. width: 200px;
  23. height: 160px;
  24. border: 0;
  25. bottom: 25%;
  26. margin-left: -100px;
  27. border-radius: 8px;
  28. font-size: 48px;
  29. font-weight: lighter;
  30. position: absolute;
  31. }
  32. button#start-button:hover {
  33. cursor: pointer;
  34. background-color: white;
  35. }
  36. button.mutebutton {
  37. border: none;
  38. background-color: transparent;
  39. font-size: 18px;
  40. font-weight: normal;
  41. position: absolute;
  42. top: 16px;
  43. right: 16px;
  44. }
  45. button.mutebutton:after {
  46. content: "🔊";
  47. }
  48. button.mutebutton:hover {
  49. background-color: transparent;
  50. cursor: pointer;
  51. }
  52. button.mutebutton:hover:after {
  53. content: "🔇"
  54. }
  55. button.unmutebutton {
  56. border: none;
  57. background-color: transparent;
  58. font-size: 18px;
  59. font-weight: normal;
  60. position: absolute;
  61. top: 16px;
  62. right: 16px;
  63. }
  64. button.unmutebutton:after {
  65. content: "🔇";
  66. }
  67. button.unmutebutton:hover {
  68. background-color: transparent;
  69. cursor: pointer;
  70. }
  71. button.unmutebutton:hover:after {
  72. content: "🔊"
  73. }
  74. </style>
  75. </head>
  76. <body>
  77. <div class="container">
  78. <h1>SHMUP Demo</h1>
  79. <button id="start-button">Play</button>
  80. <button id="sound-button" class="unmutebutton">&nbsp;</button>
  81. </div>
  82. </body>
  83. </html>