70 lines
2.2 KiB
CSS
70 lines
2.2 KiB
CSS
html, body {
|
|
margin: 0;
|
|
padding: 0;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
font-family: "Courier New", ui-monospace, monospace;
|
|
background-color: #040305;
|
|
background-image:
|
|
radial-gradient(circle at 50% 42%, rgba(74, 14, 25, 0.52) 0, rgba(15, 5, 9, 0.72) 39%, #030204 100%),
|
|
linear-gradient(rgba(118, 37, 51, 0.055) 1px, transparent 1px),
|
|
linear-gradient(90deg, rgba(118, 37, 51, 0.055) 1px, transparent 1px);
|
|
background-size: auto, 32px 32px, 32px 32px;
|
|
}
|
|
body::before {
|
|
content: "";
|
|
position: fixed;
|
|
inset: 0;
|
|
pointer-events: none;
|
|
opacity: 0.24;
|
|
background-image:
|
|
repeating-linear-gradient(0deg, transparent 0 3px, rgba(255,255,255,0.018) 3px 4px),
|
|
linear-gradient(90deg, rgba(50,153,166,0.035), transparent 18%, transparent 82%, rgba(181,30,53,0.05)),
|
|
radial-gradient(circle at 20% 30%, rgba(130,18,30,0.15), transparent 28%),
|
|
radial-gradient(circle at 80% 70%, rgba(47,118,128,0.08), transparent 30%);
|
|
}
|
|
body::after {
|
|
content: "";
|
|
position: fixed;
|
|
inset: 0;
|
|
pointer-events: none;
|
|
opacity: 0.18;
|
|
background:
|
|
radial-gradient(ellipse at 3% 8%, rgba(126,8,23,0.8) 0 7px, transparent 9px),
|
|
radial-gradient(ellipse at 97% 18%, rgba(96,5,16,0.72) 0 11px, transparent 14px),
|
|
radial-gradient(ellipse at 6% 91%, rgba(116,7,19,0.65) 0 13px, transparent 16px),
|
|
linear-gradient(180deg, rgba(105,6,18,0.3), transparent 9%, transparent 90%, rgba(74,3,12,0.3));
|
|
mix-blend-mode: screen;
|
|
}
|
|
#wrap {
|
|
position: relative;
|
|
isolation: isolate;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
#game {
|
|
image-rendering: pixelated;
|
|
image-rendering: crisp-edges;
|
|
background: #090608;
|
|
border: 2px solid #692131;
|
|
outline: 1px solid rgba(71, 150, 161, 0.24);
|
|
outline-offset: 5px;
|
|
clip-path: polygon(0 8px, 8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px));
|
|
box-shadow:
|
|
0 0 0 9px rgba(7, 3, 5, 0.84),
|
|
0 20px 80px rgba(0, 0, 0, 0.82),
|
|
0 0 70px rgba(110, 11, 28, 0.38),
|
|
0 0 130px rgba(35, 94, 103, 0.12);
|
|
cursor: crosshair;
|
|
}
|
|
|
|
@media (max-width: 700px) {
|
|
#game {
|
|
outline-offset: 2px;
|
|
box-shadow: 0 8px 38px rgba(0,0,0,0.84), 0 0 38px rgba(96,8,18,0.38);
|
|
}
|
|
}
|