Erste Version
This commit is contained in:
82
bottlesort/style.css
Normal file
82
bottlesort/style.css
Normal file
@@ -0,0 +1,82 @@
|
||||
:root {
|
||||
--bg: #1f1b27;
|
||||
--panel: #352f44;
|
||||
--panel-border: #8f7a5f;
|
||||
--text: #f5deb3;
|
||||
--accent: #c7f464;
|
||||
--danger: #ff6b6b;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
min-height: 100vh;
|
||||
background:
|
||||
radial-gradient(circle at 20% 10%, #3d2d60 0%, transparent 35%),
|
||||
radial-gradient(circle at 80% 80%, #2e6f65 0%, transparent 30%),
|
||||
var(--bg);
|
||||
color: var(--text);
|
||||
font-family: "Courier New", Courier, monospace;
|
||||
}
|
||||
|
||||
.layout {
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
justify-content: center;
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.hud {
|
||||
border: 4px solid var(--panel-border);
|
||||
background: var(--panel);
|
||||
padding: 10px 12px;
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin: 0 0 8px;
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.hud-row {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 12px;
|
||||
margin: 6px 0;
|
||||
}
|
||||
|
||||
button {
|
||||
border: 2px solid var(--panel-border);
|
||||
background: #1a2533;
|
||||
color: var(--text);
|
||||
font-family: inherit;
|
||||
padding: 6px 10px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
button:hover {
|
||||
border-color: var(--accent);
|
||||
}
|
||||
|
||||
.help {
|
||||
margin: 8px 0 0;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
#status.error {
|
||||
color: var(--danger);
|
||||
}
|
||||
|
||||
#status.success {
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
#gameCanvas {
|
||||
border: 4px solid var(--panel-border);
|
||||
image-rendering: pixelated;
|
||||
background: #223322;
|
||||
max-width: calc(100vw - 32px);
|
||||
height: auto;
|
||||
}
|
||||
Reference in New Issue
Block a user