DinoLand/styles.css
2026-03-03 20:39:07 -06:00

49 lines
868 B
CSS

* { box-sizing: border-box; }
body {
margin: 0;
font-family: Arial, sans-serif;
background: linear-gradient(#6fd3ff, #d7f7ff);
color: #102026;
}
#hud {
position: fixed;
top: 12px;
left: 12px;
right: 12px;
display: flex;
justify-content: space-between;
font-size: 24px;
font-weight: 700;
pointer-events: none;
z-index: 2;
}
#game {
display: block;
margin: 0 auto;
width: min(100vw, 1200px);
height: auto;
border: 2px solid #1b3a47;
background: #b5ecff;
}
#deathScreen {
position: fixed;
inset: 0;
background: rgba(0,0,0,0.65);
display: grid;
place-items: center;
z-index: 4;
}
.panel {
background: #fff;
border-radius: 12px;
padding: 20px;
width: min(92vw, 460px);
}
.hidden { display: none !important; }
button, input {
font-size: 16px;
padding: 8px 10px;
margin-top: 8px;
}
ol { padding-left: 22px; }