style
Browse files
src/lib/components/Piclets/PicletCard.svelte
CHANGED
|
@@ -29,7 +29,7 @@
|
|
| 29 |
class="piclet-image"
|
| 30 |
style="width: {size * 0.8}px; height: {size * 0.8}px;"
|
| 31 |
/>
|
| 32 |
-
<div class="tier-
|
| 33 |
{piclet.tier}
|
| 34 |
</div>
|
| 35 |
</div>
|
|
@@ -102,15 +102,16 @@
|
|
| 102 |
filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
|
| 103 |
}
|
| 104 |
|
| 105 |
-
.tier-
|
| 106 |
position: absolute;
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
font-size: 9px;
|
| 112 |
font-weight: bold;
|
| 113 |
text-transform: uppercase;
|
|
|
|
| 114 |
z-index: 2;
|
| 115 |
backdrop-filter: blur(4px);
|
| 116 |
}
|
|
|
|
| 29 |
class="piclet-image"
|
| 30 |
style="width: {size * 0.8}px; height: {size * 0.8}px;"
|
| 31 |
/>
|
| 32 |
+
<div class="tier-banner tier-{piclet.tier}">
|
| 33 |
{piclet.tier}
|
| 34 |
</div>
|
| 35 |
</div>
|
|
|
|
| 102 |
filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
|
| 103 |
}
|
| 104 |
|
| 105 |
+
.tier-banner {
|
| 106 |
position: absolute;
|
| 107 |
+
bottom: 0;
|
| 108 |
+
left: 0;
|
| 109 |
+
right: 0;
|
| 110 |
+
padding: 4px 8px;
|
| 111 |
font-size: 9px;
|
| 112 |
font-weight: bold;
|
| 113 |
text-transform: uppercase;
|
| 114 |
+
text-align: center;
|
| 115 |
z-index: 2;
|
| 116 |
backdrop-filter: blur(4px);
|
| 117 |
}
|
src/lib/components/Piclets/PicletDetail.svelte
CHANGED
|
@@ -56,7 +56,7 @@
|
|
| 56 |
<path d="M19 12H5m0 0l7 7m-7-7l7-7"></path>
|
| 57 |
</svg>
|
| 58 |
</button>
|
| 59 |
-
<h1 class="card-title">{instance.
|
| 60 |
<div class="tier-badge tier-{instance.tier}">{instance.tier}</div>
|
| 61 |
</div>
|
| 62 |
|
|
|
|
| 56 |
<path d="M19 12H5m0 0l7 7m-7-7l7-7"></path>
|
| 57 |
</svg>
|
| 58 |
</button>
|
| 59 |
+
<h1 class="card-title">{instance.nickname || instance.objectName}</h1>
|
| 60 |
<div class="tier-badge tier-{instance.tier}">{instance.tier}</div>
|
| 61 |
</div>
|
| 62 |
|