Spaces:
Running
Running
fix: move rank numbers to top right to avoid overlapping with logo
Browse files- src/views/LiveView.vue +26 -3
src/views/LiveView.vue
CHANGED
|
@@ -348,9 +348,32 @@ watch(
|
|
| 348 |
.card-f1.bh { border-style: dashed; opacity: 1; }
|
| 349 |
|
| 350 |
/* Rank / Crown */
|
| 351 |
-
.rank {
|
| 352 |
-
|
| 353 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 354 |
|
| 355 |
/* Head */
|
| 356 |
.head { display: grid; grid-template-columns: 40px minmax(0,1fr); align-items: center; gap: 10px; }
|
|
|
|
| 348 |
.card-f1.bh { border-style: dashed; opacity: 1; }
|
| 349 |
|
| 350 |
/* Rank / Crown */
|
| 351 |
+
.rank {
|
| 352 |
+
position: absolute;
|
| 353 |
+
top: 8px;
|
| 354 |
+
right: 12px;
|
| 355 |
+
font-weight: 900;
|
| 356 |
+
font-size: 20px;
|
| 357 |
+
color: rgba(15,23,42,.35);
|
| 358 |
+
letter-spacing: .04em;
|
| 359 |
+
z-index: 1;
|
| 360 |
+
}
|
| 361 |
+
.rank.bh-badge {
|
| 362 |
+
font-size: 12px;
|
| 363 |
+
background: rgba(15,23,42,.06);
|
| 364 |
+
padding: 2px 6px;
|
| 365 |
+
border-radius: 6px;
|
| 366 |
+
color: #4b5563;
|
| 367 |
+
top: 10px;
|
| 368 |
+
right: 10px;
|
| 369 |
+
}
|
| 370 |
+
.crown {
|
| 371 |
+
position: absolute;
|
| 372 |
+
top: 8px;
|
| 373 |
+
right: 40px;
|
| 374 |
+
font-size: 18px;
|
| 375 |
+
filter: drop-shadow(0 1px 1px rgba(0,0,0,.12));
|
| 376 |
+
}
|
| 377 |
|
| 378 |
/* Head */
|
| 379 |
.head { display: grid; grid-template-columns: 40px minmax(0,1fr); align-items: center; gap: 10px; }
|