332 lines
5.9 KiB
CSS
332 lines
5.9 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
body {
|
|
background: #050505;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
min-height: 100vh;
|
|
font-family: "Courier New", monospace;
|
|
overflow: hidden;
|
|
}
|
|
#game-container {
|
|
width: 100vw;
|
|
height: 100vh;
|
|
position: relative;
|
|
background: #0a0a0a;
|
|
border: 2px solid #00ff41;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
box-shadow:
|
|
0 0 30px rgba(0, 255, 65, 0.2),
|
|
inset 0 0 60px rgba(0, 255, 65, 0.05);
|
|
}
|
|
#game-canvas {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: block;
|
|
}
|
|
#game-container::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: repeating-linear-gradient(
|
|
0deg,
|
|
transparent,
|
|
transparent 2px,
|
|
rgba(0, 255, 65, 0.03) 2px,
|
|
rgba(0, 255, 65, 0.03) 4px
|
|
);
|
|
pointer-events: none;
|
|
z-index: 10;
|
|
}
|
|
#ui-overlay {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
padding: 12px 16px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
z-index: 5;
|
|
background: rgba(0, 0, 0, 0.7);
|
|
border-bottom: 1px solid #00ff41;
|
|
}
|
|
.ui-text {
|
|
color: #00ff41;
|
|
font-size: 28px;
|
|
text-shadow: 0 0 8px #00ff41;
|
|
letter-spacing: 1px;
|
|
}
|
|
#input-display {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
display: flex;
|
|
background: rgba(0, 0, 0, 0.85);
|
|
border-top: 1px solid #00ff41;
|
|
z-index: 5;
|
|
}
|
|
#input-local {
|
|
flex: 1;
|
|
padding: 14px 16px;
|
|
border-right: 1px solid #00ff41;
|
|
text-align: center;
|
|
}
|
|
#input-chat {
|
|
flex: 1;
|
|
padding: 14px 16px;
|
|
text-align: center;
|
|
}
|
|
#typed-text {
|
|
color: #00ff41;
|
|
font-size: 20px;
|
|
min-height: 28px;
|
|
letter-spacing: 2px;
|
|
text-shadow: 0 0 10px #00ff41;
|
|
}
|
|
#chat-text {
|
|
color: #00cc33;
|
|
font-size: 16px;
|
|
min-height: 28px;
|
|
letter-spacing: 1px;
|
|
text-shadow: 0 0 8px #00cc33;
|
|
opacity: 0.8;
|
|
}
|
|
#start-screen,
|
|
#gameover-screen {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
background: rgba(5, 5, 5, 0.95);
|
|
z-index: 20;
|
|
text-align: center;
|
|
}
|
|
.screen-title {
|
|
color: #00ff41;
|
|
font-size: 64px;
|
|
margin-bottom: 12px;
|
|
text-shadow: 0 0 20px #00ff41;
|
|
letter-spacing: 4px;
|
|
}
|
|
.screen-subtitle {
|
|
color: #00cc33;
|
|
font-size: 28px;
|
|
margin-bottom: 30px;
|
|
opacity: 0.8;
|
|
}
|
|
#player-stats {
|
|
margin-bottom: 20px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
width: 80%;
|
|
}
|
|
.stats-section-title {
|
|
color: #00ff41;
|
|
font-size: 28px;
|
|
letter-spacing: 3px;
|
|
margin-bottom: 10px;
|
|
text-shadow: 0 0 10px #00ff41;
|
|
}
|
|
.stats-row {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 4px 12px;
|
|
margin-bottom: 4px;
|
|
border-left: 2px solid #00ff41;
|
|
opacity: 0.8;
|
|
}
|
|
.stats-top1 {
|
|
font-size: 48px;
|
|
font-weight: bold;
|
|
color: #00ff41;
|
|
border-left-width: 4px;
|
|
opacity: 1;
|
|
text-shadow: 0 0 16px #00ff41;
|
|
}
|
|
.stats-crown {
|
|
font-size: 1.2em;
|
|
filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.7));
|
|
}
|
|
.stats-top2 {
|
|
font-size: 40px;
|
|
font-weight: 600;
|
|
color: #00dd33;
|
|
opacity: 0.9;
|
|
text-shadow: 0 0 10px #00dd33;
|
|
}
|
|
.stats-top3 {
|
|
font-size: 36px;
|
|
color: #00bb22;
|
|
text-shadow: 0 0 8px #00bb22;
|
|
}
|
|
.stats-place {
|
|
min-width: 28px;
|
|
}
|
|
.stats-name {
|
|
text-align: left;
|
|
margin-left: 8px;
|
|
margin-right: 10vw;
|
|
}
|
|
.stats-kills {
|
|
min-width: 24px;
|
|
text-align: right;
|
|
}
|
|
.stats-mazila {
|
|
margin-top: 40px;
|
|
font-size: 28px;
|
|
color: #ff4444;
|
|
text-shadow:
|
|
0 0 12px #ff4444,
|
|
0 0 24px rgba(255, 68, 68, 0.4);
|
|
}
|
|
.mazila-title {
|
|
font-weight: bold;
|
|
color: #ff6666;
|
|
text-shadow: 0 0 16px #ff6666;
|
|
}
|
|
.mazila-count {
|
|
color: #cc2222;
|
|
}
|
|
.hidden {
|
|
display: none !important;
|
|
}
|
|
.glitch {
|
|
animation: glitch 0.3s ease-in-out;
|
|
}
|
|
@keyframes glitch {
|
|
0%,
|
|
100% {
|
|
transform: translate(0);
|
|
}
|
|
20% {
|
|
transform: translate(-3px, 2px);
|
|
}
|
|
40% {
|
|
transform: translate(3px, -2px);
|
|
}
|
|
60% {
|
|
transform: translate(-2px, -1px);
|
|
}
|
|
80% {
|
|
transform: translate(2px, 1px);
|
|
}
|
|
}
|
|
|
|
/* index.html */
|
|
#channel-form {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
background: rgba(5, 5, 5, 0.95);
|
|
z-index: 20;
|
|
text-align: center;
|
|
gap: 16px;
|
|
}
|
|
#channel-form .screen-title {
|
|
font-size: 40px;
|
|
text-shadow: 0 0 40px #00ff41;
|
|
}
|
|
#channel-form .screen-subtitle {
|
|
font-size: 18px;
|
|
color: #00ff41;
|
|
opacity: 1;
|
|
margin-bottom: 8px;
|
|
}
|
|
#channel-form input {
|
|
background: transparent;
|
|
border: 2px solid #00ff41;
|
|
color: #00ff41;
|
|
font-size: 22px;
|
|
padding: 12px 20px;
|
|
width: 300px;
|
|
text-align: center;
|
|
outline: none;
|
|
text-shadow: 0 0 12px #00ff41;
|
|
box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
|
|
}
|
|
#channel-form input:focus {
|
|
box-shadow: 0 0 30px rgba(0, 255, 65, 0.4);
|
|
}
|
|
#settings-panel {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
margin-bottom: 12px;
|
|
}
|
|
.settings-label {
|
|
color: #00cc33;
|
|
font-size: 14px;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
opacity: 0.9;
|
|
text-shadow: 0 0 6px #00ff41;
|
|
}
|
|
.settings-label:hover {
|
|
opacity: 1;
|
|
}
|
|
.settings-label input[type="checkbox"] {
|
|
width: 16px;
|
|
height: 16px;
|
|
accent-color: #00ff41;
|
|
cursor: pointer;
|
|
}
|
|
#channel-form button {
|
|
background: transparent;
|
|
border: 2px solid #00ff41;
|
|
color: #00ff41;
|
|
font-size: 18px;
|
|
padding: 10px 40px;
|
|
cursor: pointer;
|
|
text-shadow: 0 0 12px #00ff41;
|
|
box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
|
|
transition: all 0.15s;
|
|
min-width: 260px;
|
|
}
|
|
#channel-form button:hover {
|
|
background: rgba(0, 255, 65, 0.1);
|
|
box-shadow: 0 0 30px rgba(0, 255, 65, 0.4);
|
|
}
|
|
#game-link {
|
|
margin-top: 8px;
|
|
color: #00ff41;
|
|
font-size: 16px;
|
|
min-height: 20px;
|
|
text-shadow: 0 0 8px #00ff41;
|
|
}
|
|
#game-link.copied {
|
|
color: #00ff41;
|
|
text-shadow: 0 0 12px #00ff41;
|
|
}
|
|
#channel-form .obs-note {
|
|
margin-top: 24px;
|
|
color: #00ff41;
|
|
font-size: 16px;
|
|
opacity: 0.8;
|
|
line-height: 1.6;
|
|
text-shadow: 0 0 6px #00ff41;
|
|
}
|