Spaces:
Running
Running
Commit
·
69d6c33
1
Parent(s):
2caea64
Update styling
Browse files- Templates/index.html +22 -16
Templates/index.html
CHANGED
@@ -144,6 +144,9 @@
|
|
144 |
border: 2px solid rgb(50, 50, 50) !important;
|
145 |
border-radius: 10px !important;
|
146 |
}
|
|
|
|
|
|
|
147 |
.force-repaint { transform: translateZ(0); }
|
148 |
|
149 |
.hidden {
|
@@ -256,18 +259,21 @@
|
|
256 |
}
|
257 |
|
258 |
@media screen and (max-width: 768px) {
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
|
|
|
|
|
|
271 |
}
|
272 |
|
273 |
</style>
|
@@ -435,8 +441,8 @@
|
|
435 |
const wrapperDiv = document.createElement('div');
|
436 |
wrapperDiv.className = 'winner-wrapper';
|
437 |
if (moneyline.Probabilities[0] > 0.6){
|
438 |
-
winnerCell.classList.add("highlight");
|
439 |
-
|
440 |
}
|
441 |
|
442 |
const winnerImg = document.createElement('img');
|
@@ -472,8 +478,8 @@
|
|
472 |
const overUnderDiv = document.createElement('div');
|
473 |
overUnderDiv.className = 'over-under-wrapper hidden';
|
474 |
if (data.over_unders[index]['Probability'][0] > 0.6){
|
475 |
-
overUnderCell.classList.add("highlight");
|
476 |
-
|
477 |
}
|
478 |
|
479 |
const textDiv = document.createElement('div');
|
|
|
144 |
border: 2px solid rgb(50, 50, 50) !important;
|
145 |
border-radius: 10px !important;
|
146 |
}
|
147 |
+
.cell-highlight {
|
148 |
+
border: 2px solid rgb(0, 0, 0) !important;
|
149 |
+
}
|
150 |
.force-repaint { transform: translateZ(0); }
|
151 |
|
152 |
.hidden {
|
|
|
259 |
}
|
260 |
|
261 |
@media screen and (max-width: 768px) {
|
262 |
+
.winner-wrapper, .over-under-wrapper{
|
263 |
+
display: contents;
|
264 |
+
}
|
265 |
+
.winner-image {
|
266 |
+
margin: auto;
|
267 |
+
}
|
268 |
+
.emoji {
|
269 |
+
margin: 0;
|
270 |
+
}
|
271 |
+
.table-div{
|
272 |
+
overflow-x: scroll;
|
273 |
+
}
|
274 |
+
.cell-highlight {
|
275 |
+
border: 2px solid rgb(50, 50, 50) !important;
|
276 |
+
}
|
277 |
}
|
278 |
|
279 |
</style>
|
|
|
441 |
const wrapperDiv = document.createElement('div');
|
442 |
wrapperDiv.className = 'winner-wrapper';
|
443 |
if (moneyline.Probabilities[0] > 0.6){
|
444 |
+
winnerCell.classList.add("cell-highlight");
|
445 |
+
wrapperDiv.classList.add("highlight");
|
446 |
}
|
447 |
|
448 |
const winnerImg = document.createElement('img');
|
|
|
478 |
const overUnderDiv = document.createElement('div');
|
479 |
overUnderDiv.className = 'over-under-wrapper hidden';
|
480 |
if (data.over_unders[index]['Probability'][0] > 0.6){
|
481 |
+
overUnderCell.classList.add("cell-highlight");
|
482 |
+
overUnderDiv.classList.add("highlight");
|
483 |
}
|
484 |
|
485 |
const textDiv = document.createElement('div');
|