Template:EmuPerformance/styles.css: Difference between revisions
From Handhelds Wiki
Jump to navigationJump to search
HandheldWiki (talk | contribs) No edit summary |
HandheldWiki (talk | contribs) No edit summary |
||
| Line 3: | Line 3: | ||
font-family: "Consolas", "Courier New", monospace, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; | font-family: "Consolas", "Courier New", monospace, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; | ||
font-weight: 700; | font-weight: 700; | ||
font-size: 0. | font-size: 0.95em; /* slightly bigger font */ | ||
padding: 2px | padding: 2px 5px; /* less horizontal padding = shorter buttons */ | ||
margin: 0 6px 6px 0; | margin: 0 6px 6px 0; | ||
border-radius: 14px; | border-radius: 14px; | ||
| Line 13: | Line 13: | ||
user-select: none; | user-select: none; | ||
transition: background-color 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease; | transition: background-color 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease; | ||
min-width: | min-width: 40px; /* reduced min width */ | ||
line-height: 1.3; | line-height: 1.3; | ||
vertical-align: middle; | vertical-align: middle; | ||
background-image: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(0, 0, 0, 0.1)); | background-image: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(0, 0, 0, 0.1)); | ||
} | } | ||
Revision as of 19:33, 16 May 2025
.emu-badge {
display: inline-block;
font-family: "Consolas", "Courier New", monospace, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
font-weight: 700;
font-size: 0.95em; /* slightly bigger font */
padding: 2px 5px; /* less horizontal padding = shorter buttons */
margin: 0 6px 6px 0;
border-radius: 14px;
color: white;
text-align: center;
cursor: default;
box-shadow: 0 1.5px 4px rgba(0, 0, 0, 0.1);
user-select: none;
transition: background-color 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
min-width: 40px; /* reduced min width */
line-height: 1.3;
vertical-align: middle;
background-image: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(0, 0, 0, 0.1));
}