Initial commit
This commit is contained in:
124
client/src/styles.css
Normal file
124
client/src/styles.css
Normal file
@@ -0,0 +1,124 @@
|
||||
:root {
|
||||
color-scheme: dark;
|
||||
font-family: "Courier New", Courier, monospace;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
min-height: 100vh;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
background: radial-gradient(circle at top, #1f2937, #0b1220 50%, #030712);
|
||||
color: #e5e7eb;
|
||||
}
|
||||
|
||||
.app {
|
||||
width: min(860px, 100%);
|
||||
padding: 1rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#appVersion {
|
||||
display: block;
|
||||
color: #94a3b8;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
#deviceSummary {
|
||||
color: #94a3b8;
|
||||
margin: 0 auto 0.75rem;
|
||||
min-height: 2.4rem;
|
||||
}
|
||||
|
||||
#deviceSummary p {
|
||||
margin: 0.15rem 0;
|
||||
}
|
||||
|
||||
.controls {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 0.75rem;
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
.nickname-row {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
.nickname-row label {
|
||||
color: #cbd5e1;
|
||||
}
|
||||
|
||||
.nickname-row input {
|
||||
background: #111827;
|
||||
color: #e5e7eb;
|
||||
border: 1px solid #334155;
|
||||
border-radius: 0.5rem;
|
||||
padding: 0.4rem 0.6rem;
|
||||
width: min(320px, 70vw);
|
||||
}
|
||||
|
||||
button,
|
||||
select {
|
||||
background: #1d4ed8;
|
||||
color: white;
|
||||
border: 1px solid #3b82f6;
|
||||
border-radius: 0.5rem;
|
||||
padding: 0.5rem 0.75rem;
|
||||
}
|
||||
|
||||
button:hover {
|
||||
background: #1e40af;
|
||||
}
|
||||
|
||||
button:disabled {
|
||||
background: #475569;
|
||||
border-color: #64748b;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
canvas {
|
||||
background: #111827;
|
||||
border: 2px solid #60a5fa;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 0 20px rgb(96 165 250 / 35%);
|
||||
}
|
||||
|
||||
#status {
|
||||
height: 2rem;
|
||||
color: #86efac;
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
#instructions {
|
||||
color: #94a3b8;
|
||||
text-align: left;
|
||||
margin: 0.75rem auto;
|
||||
width: fit-content;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
#settingsModal {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
background: rgb(0 0 0 / 70%);
|
||||
display: grid;
|
||||
place-items: center;
|
||||
}
|
||||
|
||||
.modal-content {
|
||||
min-width: 300px;
|
||||
background: #0f172a;
|
||||
border: 1px solid #334155;
|
||||
border-radius: 0.75rem;
|
||||
padding: 1rem;
|
||||
display: grid;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
Reference in New Issue
Block a user