Update index.html
Browse files- index.html +50 -0
index.html
CHANGED
@@ -82,7 +82,57 @@
|
|
82 |
background: #666;
|
83 |
cursor: not-allowed;
|
84 |
}
|
|
|
85 |
</style>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
86 |
</head>
|
87 |
<body>
|
88 |
<div id="instructions">
|
|
|
82 |
background: #666;
|
83 |
cursor: not-allowed;
|
84 |
}
|
85 |
+
|
86 |
</style>
|
87 |
+
<div id="titleScreen">
|
88 |
+
<h1>TANK WAR</h1>
|
89 |
+
<div id="stageSelect">
|
90 |
+
<button class="stageButton" onclick="startStage(1)">Stage 1</button>
|
91 |
+
<button class="stageButton" disabled>Stage 2</button>
|
92 |
+
<button class="stageButton" disabled>Stage 3</button>
|
93 |
+
<button class="stageButton" disabled>Stage 4</button>
|
94 |
+
</div>
|
95 |
+
</div>
|
96 |
+
|
97 |
+
<style>
|
98 |
+
#titleScreen {
|
99 |
+
position: fixed;
|
100 |
+
top: 0;
|
101 |
+
left: 0;
|
102 |
+
width: 100%;
|
103 |
+
height: 100%;
|
104 |
+
background: url('city2.png') no-repeat center center;
|
105 |
+
background-size: cover;
|
106 |
+
z-index: 2000;
|
107 |
+
display: flex;
|
108 |
+
flex-direction: column;
|
109 |
+
justify-content: center;
|
110 |
+
align-items: center;
|
111 |
+
}
|
112 |
+
|
113 |
+
#titleScreen h1 {
|
114 |
+
font-size: 72px;
|
115 |
+
color: white;
|
116 |
+
text-shadow: 2px 2px 5px black;
|
117 |
+
margin-bottom: 50px;
|
118 |
+
}
|
119 |
+
|
120 |
+
.stageButton {
|
121 |
+
padding: 15px 30px;
|
122 |
+
font-size: 24px;
|
123 |
+
background: #4CAF50;
|
124 |
+
color: white;
|
125 |
+
border: none;
|
126 |
+
border-radius: 5px;
|
127 |
+
cursor: pointer;
|
128 |
+
margin: 10px;
|
129 |
+
}
|
130 |
+
|
131 |
+
.stageButton:disabled {
|
132 |
+
background: #666;
|
133 |
+
cursor: not-allowed;
|
134 |
+
}
|
135 |
+
</style>
|
136 |
</head>
|
137 |
<body>
|
138 |
<div id="instructions">
|