.
This commit is contained in:
@@ -41,6 +41,13 @@
|
||||
.toptrump-card .stat-bar{flex:1;height:12px;background:rgba(255,255,255,0.06);border-radius:8px;overflow:hidden}
|
||||
.toptrump-card .stat-fill{height:100%;background:linear-gradient(90deg,var(--accent),#ffdd57);}
|
||||
.toptrump-card .fact-list{margin-top:0.5rem;padding-left:1rem}
|
||||
/* Star rating visuals */
|
||||
.star { font-size:0.95rem; display:inline-block; line-height:1; margin-left:2px; }
|
||||
.star.full { color:#ffdd57; }
|
||||
.star.empty { color:rgba(255,255,255,0.25); }
|
||||
.star.half { color:rgba(255,255,255,0.25); position:relative; display:inline-block; }
|
||||
.star.half::before { content: '★'; color:#ffdd57; position:absolute; left:0; top:0; width:50%; overflow:hidden; display:inline-block; }
|
||||
.stat-value { text-align:right; min-width:6.5rem }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
Reference in New Issue
Block a user