UNPKG

grapes-andrewdingus

Version:

GRAPES OS static site — CDN-ready via unpkg

120 lines (103 loc) 2.41 kB
@import url("https://fonts.googleapis.com/css2?family=Space+Mono&display=swap"); body { background-color: #07070e; } body.body { padding-bottom: 0 !important; } .main { grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(5, 1fr); position: relative; width: 80%; min-height: 60vh; margin: 10rem auto 3rem; transform: none; } .leaderboard-title { text-align: center; color: #a78bfa; font-size: 7.5rem; font-weight: 600; margin: 0; margin-top: 3rem; cursor: default; } .score-card { display: flex; flex-direction: row; margin-top: 35px; margin-bottom: 35px; border-radius: 20px; font-family: "Space Mono", monospace; background: rgba(139, 92, 246, 0.15); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); border: 1px solid rgba(139, 92, 246, 0.3); width: 65%; transform: translate(27.5%, 0); padding: 15px; padding-left: 1.5rem; justify-content: space-between; transition: all 0.25s ease-in-out; box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4); } .score-card:hover { box-shadow: 0 8px 32px rgba(139, 92, 246, 0.25), 0 4px 16px rgba(0, 0, 0, 0.4); border-color: rgba(139, 92, 246, 0.5); transform: translate(27.5%, -2px); } .game-icon { width: 200px; height: 200px; border-radius: 14px; transition: all 0.25s cubic-bezier(0.05, 0.75, 0.12, 0.97); } .game-icon:hover { transform: scale(1.025); } .game-icon:active { transform: scale(0.975); } .card-text-align { display: flex; flex-direction: column; justify-content: space-between; } .card-text { color: rgba(240, 240, 248, 0.9); margin: 0; min-width: 20rem; cursor: default; } .game-icon-container { width: 200px; height: 200px; } .submit-score { margin-top: 2rem; font-size: 4rem; font-weight: 700; margin-bottom: 2rem; background: rgba(139, 92, 246, 0.2); backdrop-filter: blur(16px); border: 1px solid rgba(139, 92, 246, 0.35); color: #f0f0f8; border-radius: 999px; max-width: max-content; padding: 0 30px; transition: all 0.25s cubic-bezier(0.05, 0.75, 0.12, 0.97); box-shadow: 0 4px 20px rgba(139, 92, 246, 0.2); } .submit-score:hover { transform: scale(0.97); box-shadow: 0 8px 28px rgba(139, 92, 246, 0.35); } .submit-score:active { transform: scale(0.94); } .center-container { display: flex; align-items: center; justify-content: center; }