Загрузить файлы в «Prehistorik»

This commit is contained in:
2026-02-23 21:16:54 +03:00
parent 3870fe54d4
commit deff698041
4 changed files with 171 additions and 0 deletions

46
Prehistorik/style.css Normal file
View File

@@ -0,0 +1,46 @@
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
background: #000;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
font-family: monospace;
overflow: hidden;
}
#wrapper {
position: relative;
display: inline-block;
}
canvas {
display: block;
image-rendering: pixelated;
border: 3px solid #FFD700;
box-shadow: 0 0 40px rgba(255, 165, 0, 0.4);
outline: none;
cursor: default;
}
#focus-overlay {
display: none;
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.72);
color: #FFD700;
font: bold 22px monospace;
text-align: center;
padding-top: 210px;
letter-spacing: 1px;
pointer-events: none;
}
#controls-hint {
color: #666;
font-size: 12px;
text-align: center;
margin-top: 6px;
letter-spacing: 1px;
}