Multiple bug fixes.
This commit is contained in:
@@ -356,6 +356,34 @@ h5, h6 { color: var(--text); }
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
/* Assignment badge — shows count of characters using this resource */
|
||||
.assignment-badge {
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
right: 8px;
|
||||
background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dim) 100%);
|
||||
color: #fff;
|
||||
font-size: 0.7rem;
|
||||
font-weight: 700;
|
||||
min-width: 22px;
|
||||
height: 22px;
|
||||
border-radius: 11px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 0 6px;
|
||||
line-height: 1;
|
||||
z-index: 2;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
|
||||
border: 1.5px solid rgba(255, 255, 255, 0.15);
|
||||
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
||||
}
|
||||
|
||||
.character-card:hover .assignment-badge {
|
||||
transform: scale(1.1);
|
||||
box-shadow: 0 4px 12px rgba(139, 126, 255, 0.5);
|
||||
}
|
||||
|
||||
/* Generator result container */
|
||||
#result-container {
|
||||
background-color: var(--bg-raised) !important;
|
||||
|
||||
Reference in New Issue
Block a user