diff --git a/public/css/style.css b/public/css/style.css index a48f4e2..4c78b5b 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -83,7 +83,7 @@ button { font-family: inherit; cursor: pointer; } .wanted-reward { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; } #hud-right { flex: 1; display: flex; flex-direction: column; gap: 10px; } -.score-box { font-size: 20px; font-weight: 800; color: var(--ink); } +.score-box { font-size: 20px; font-weight: 800; color: var(--ink); align-self: flex-start; transform-origin: left center; } .score-box #score { color: var(--pink-soft); } .score-box.bump { animation: bump 0.28s ease; } @keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.35); color: var(--ok); } 100% { transform: scale(1); } }