.
This commit is contained in:
@@ -34,6 +34,23 @@
|
||||
/* Top Trumps card styles */
|
||||
.toptrump-card{max-width:320px;border-radius:10px;overflow:hidden;background:var(--card-bg);color:var(--text);box-shadow:0 6px 18px rgba(0,0,0,0.12);border:1px solid rgba(0,0,0,0.06)}
|
||||
.toptrump-card .hero-image{height:180px;background-size:cover;background-position:center}
|
||||
/* Hero image: make the dinosaur image larger, cover the banner and remove shadow */
|
||||
.toptrump-card .hero-image img.card-hero-img{
|
||||
display:block;
|
||||
margin:8px auto 0;
|
||||
width:92%;
|
||||
height:140px;
|
||||
object-fit:cover;
|
||||
border-radius:6px;
|
||||
box-shadow:none;
|
||||
}
|
||||
/* Background picker thumbnails */
|
||||
.background-picker{margin-top:0.5rem}
|
||||
.background-picker .bg-options{display:flex;gap:0.5rem;flex-wrap:wrap}
|
||||
.background-picker .bg-option{width:64px;height:48px;border:1px solid rgba(0,0,0,0.06);display:flex;align-items:center;justify-content:center;cursor:pointer;background:#fff;color:#222;padding:4px;border-radius:4px}
|
||||
.background-picker .bg-option img{max-width:100%;max-height:100%;display:block;border-radius:2px}
|
||||
.background-picker .bg-option.selected{outline:2px solid var(--accent);box-shadow:0 2px 6px rgba(0,0,0,0.08)}
|
||||
.background-picker .bg-option[role="button"]{font-size:0.8rem;padding:6px 8px}
|
||||
.toptrump-card .title-band{background:var(--accent);color:#072027;padding:0.6rem 0.75rem;text-align:center;font-weight:700;font-size:1.05rem}
|
||||
.toptrump-card .card-body{padding:0.75rem}
|
||||
.toptrump-card .stat-row{display:flex;align-items:center;gap:0.75rem;padding:0.25rem 0}
|
||||
|
||||
Reference in New Issue
Block a user