Template:EmuPerformance/styles.css
From Handhelds Wiki
Jump to navigationJump to search
.emu-badge {
display: inline-block;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
font-weight: 600;
font-size: 0.85em;
padding: 3px 9px;
margin: 0 5px 5px 0;
border-radius: 12px;
color: white;
text-align: center;
cursor: default;
box-shadow: 0 2px 5px rgba(0,0,0,0.12);
user-select: none;
transition: background-color 0.3s ease, box-shadow 0.3s ease;
min-width: 48px;
}
/* Good = Green */
.emu-badge.good {
background-color: #28a745; /* Bootstrap-like green */
box-shadow: 0 2px 8px rgba(40,167,69,0.5);
}
/* Moderate = Yellow */
.emu-badge.mid {
background-color: #ffc107; /* Bootstrap-like yellow */
color: #212529; /* dark text for contrast */
box-shadow: 0 2px 8px rgba(255,193,7,0.5);
}
/* Unplayable = Red */
.emu-badge.bad {
background-color: #dc3545; /* Bootstrap-like red */
box-shadow: 0 2px 8px rgba(220,53,69,0.5);
}
/* Optional: Slight hover glow for all badges */
.emu-badge:hover {
box-shadow: 0 0 10px rgba(0,0,0,0.3);
}