loading-page.html 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. <!DOCTYPE HTML>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5. <title>Just Jerky</title>
  6. <link href="justjerky.css" type="text/css" rel="stylesheet" />
  7. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
  8. <style>
  9. * {
  10. margin: 0;
  11. border: 0;
  12. padding: 0;
  13. }
  14. body {
  15. width: 1000px;
  16. height: 500px;
  17. position: relative;
  18. }
  19. .loadscreen {
  20. width: 1000px;
  21. display: block;
  22. margin: 0 auto;
  23. }
  24. .shading1 {
  25. width: 450px;
  26. height: 500px;
  27. background: linear-gradient(to right, rgba(0,0,0,1), rgba(0,0,0,0));
  28. position: absolute;
  29. top: 0;
  30. left: 0;
  31. }
  32. .shading2 {
  33. width: 350px;
  34. height: 500px;
  35. background: linear-gradient(to left, rgba(0,0,0,1), rgba(0,0,0,0));
  36. position: absolute;
  37. right: 0;
  38. top: 0;
  39. }
  40. .instructions {
  41. width: 300px;
  42. position: absolute;
  43. top: 200px;
  44. left: 50%;
  45. text-align: center;
  46. font-size: 20px;
  47. font-family: sans-serif;
  48. color: rgb(92, 30, 10);
  49. margin-left: -155px;
  50. }
  51. .instructions > h2 {
  52. font-size: 19pt;
  53. }
  54. .loading {
  55. font-family: sans-serif;
  56. position: absolute;
  57. top: 430px;
  58. left: 50%;
  59. font-size: 20px;
  60. margin-left: -30px;
  61. }
  62. .loadbar {
  63. width: 250px;
  64. height: 15px;
  65. border: 2px solid white;
  66. background-color: white;
  67. position: absolute;
  68. top: 460px;
  69. left: 50%;
  70. margin-left: -125px;
  71. border-radius: 4px;
  72. }
  73. .progress {
  74. width: 160px;
  75. height: 100%;
  76. background-color: blue;
  77. }
  78. </style>
  79. </head>
  80. <body>
  81. <img class="loadscreen" src="Loading-Screen.jpg" />
  82. <div class="shading1"> </div>
  83. <div class="shading2"> </div>
  84. <div class="instructions"><h2>How to Play:</h2>Eat the sea urchins before they eat the kelp. Use the arrow keys to move. Return to the surface and press space repeatedly to eat an urchin.</div>
  85. <div class="loading">Loading</div>
  86. <div class="loadbar"><div class="progress"></div></div>
  87. </body>
  88. </html>