Spaces:
Runtime error
Runtime error
Commit
·
f23a31d
1
Parent(s):
e8fe7a9
Mobile site formatting
Browse files- Templates/index.html +31 -12
Templates/index.html
CHANGED
|
@@ -31,6 +31,9 @@
|
|
| 31 |
color: #f2f2f2;
|
| 32 |
margin: 0px;
|
| 33 |
}
|
|
|
|
|
|
|
|
|
|
| 34 |
table {
|
| 35 |
margin-top: 20px;
|
| 36 |
width: 100%;
|
|
@@ -187,6 +190,7 @@
|
|
| 187 |
background: rgb(61, 61, 61);
|
| 188 |
margin-top: 50px;
|
| 189 |
margin-bottom: 50px;
|
|
|
|
| 190 |
}
|
| 191 |
|
| 192 |
.label {
|
|
@@ -239,6 +243,20 @@
|
|
| 239 |
font-weight: bold;
|
| 240 |
transition: 0.3s ease;
|
| 241 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 242 |
</style>
|
| 243 |
|
| 244 |
<div class="scroll-banner">
|
|
@@ -253,18 +271,19 @@
|
|
| 253 |
<span class="label"><i>"Moore's Algorithm for Risky Capital Investments"</i></span><br><br>
|
| 254 |
<span class="label">Winners:</span> 0-0<br>
|
| 255 |
<span class="label">Over/Unders:</span> 0-0<br><br>
|
| 256 |
-
|
| 257 |
-
<
|
| 258 |
-
<
|
| 259 |
-
<
|
| 260 |
-
|
| 261 |
-
|
| 262 |
-
|
| 263 |
-
|
| 264 |
-
|
| 265 |
-
|
| 266 |
-
|
| 267 |
-
|
|
|
|
| 268 |
<button id="submitButton">
|
| 269 |
Predict
|
| 270 |
</button>
|
|
|
|
| 31 |
color: #f2f2f2;
|
| 32 |
margin: 0px;
|
| 33 |
}
|
| 34 |
+
.table-div{
|
| 35 |
+
overflow-x: scroll;
|
| 36 |
+
}
|
| 37 |
table {
|
| 38 |
margin-top: 20px;
|
| 39 |
width: 100%;
|
|
|
|
| 190 |
background: rgb(61, 61, 61);
|
| 191 |
margin-top: 50px;
|
| 192 |
margin-bottom: 50px;
|
| 193 |
+
width: 100%;
|
| 194 |
}
|
| 195 |
|
| 196 |
.label {
|
|
|
|
| 243 |
font-weight: bold;
|
| 244 |
transition: 0.3s ease;
|
| 245 |
}
|
| 246 |
+
|
| 247 |
+
|
| 248 |
+
@media screen and (max-width: 768px) {
|
| 249 |
+
.winner-wrapper, .over-under-wrapper{
|
| 250 |
+
display: contents;
|
| 251 |
+
}
|
| 252 |
+
.winner-image {
|
| 253 |
+
margin: auto;
|
| 254 |
+
}
|
| 255 |
+
.emoji {
|
| 256 |
+
margin: 0;
|
| 257 |
+
}
|
| 258 |
+
}
|
| 259 |
+
|
| 260 |
</style>
|
| 261 |
|
| 262 |
<div class="scroll-banner">
|
|
|
|
| 271 |
<span class="label"><i>"Moore's Algorithm for Risky Capital Investments"</i></span><br><br>
|
| 272 |
<span class="label">Winners:</span> 0-0<br>
|
| 273 |
<span class="label">Over/Unders:</span> 0-0<br><br>
|
| 274 |
+
</div>
|
| 275 |
+
<div class="table-div">
|
| 276 |
+
<table id="gameTable">
|
| 277 |
+
<tr>
|
| 278 |
+
<th>Date</th>
|
| 279 |
+
<th>Away Team</th>
|
| 280 |
+
<th>Home Team</th>
|
| 281 |
+
<th>Over/Under Line</th>
|
| 282 |
+
<th>Predicted Winner</th>
|
| 283 |
+
<th>Predicted Over/Under</th>
|
| 284 |
+
</tr>
|
| 285 |
+
</table>
|
| 286 |
+
</div>
|
| 287 |
<button id="submitButton">
|
| 288 |
Predict
|
| 289 |
</button>
|