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

83 lines
1.3 KiB
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,
#startScreen {
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, select {
font-size: 16px;
padding: 8px 10px;
margin-top: 8px;
width: 100%;
}
label {
display: block;
margin-top: 10px;
font-weight: 700;
}
.inline-option {
display: flex;
align-items: center;
gap: 8px;
}
.inline-option input {
width: auto;
margin: 0;
}
.error {
color: #c62828;
min-height: 20px;
}
ol { padding-left: 22px; }
.play-again-row {
display: grid;
grid-template-columns: 1fr;
gap: 8px;
margin-top: 10px;
}
.heart {
display: inline-block;
margin-right: 2px;
}
.heart-active { color: #f2c94c; }
.heart-lost { color: #111; }