Files
havox/projects/cellular_automata/static/css/main.5cae1eb5.css
2026-03-31 22:19:53 +01:00

174 lines
2.7 KiB
CSS

#root,
body,
html {
margin: 0;
min-height: 100%;
}
body {
background: radial-gradient(
circle at top,
#eef4ff 0,
#f8fbff 55%,
#eef2f7 100%
);
color: #0f172a;
font-family:
Segoe UI,
sans-serif;
}
.cell {
border: 1px solid #1f2937;
box-sizing: border-box;
margin: 0;
padding: 0;
}
.dead {
background: #000;
}
.alive {
background: #fff;
}
.board {
border: 1px solid #94a3b8;
cursor: crosshair;
display: inline-block;
-webkit-user-select: none;
user-select: none;
}
.row {
display: flex;
}
.horizontal-slider {
margin: auto;
width: 100%;
}
.example-thumb {
background: #fff;
border: 5px solid #3774ff;
border-radius: 100%;
box-shadow: 0 0 2px 0 #00000070;
cursor: pointer;
display: block;
position: absolute;
z-index: 100;
}
.example-thumb.active {
background-color: grey;
}
.example-track {
background: #ddd;
position: relative;
}
.example-track.example-track-0 {
background: #83a9ff;
}
.horizontal-slider .example-track {
height: 4px;
top: 20px;
}
.horizontal-slider .example-thumb {
height: 10px;
line-height: 38px;
outline: none;
top: 12px;
width: 10px;
}
.radioGroup {
grid-gap: 0.45rem;
display: grid;
gap: 0.45rem;
}
.radioOption {
align-items: center;
color: #1e293b;
cursor: pointer;
display: flex;
font-size: 0.92rem;
gap: 0.5rem;
}
.radioOption input {
accent-color: #2f7df6;
margin: 0;
}
.title {
margin: 2rem 0 1.25rem;
text-align: center;
}
.title h1 {
color: #0f172a;
font-size: 2.2rem;
letter-spacing: 0.03em;
margin: 0;
}
.title p {
color: #475569;
font-size: 0.95rem;
margin: 0.35rem 0 0;
}
.body {
align-items: flex-start;
display: flex;
gap: 1.25rem;
justify-content: center;
margin: 0 auto 1.75rem;
max-width: 980px;
padding: 0 1rem;
}
.gameBoard {
padding: 0.6rem;
}
.controlPanel,
.gameBoard {
background: #fff;
border: 1px solid #d5deea;
border-radius: 12px;
box-shadow: 0 12px 28px #0f172a1a;
}
.controlPanel {
color: #1e293b;
padding: 1rem;
width: 270px;
}
.panelSection {
margin-bottom: 1rem;
}
.panelSection h3 {
color: #334155;
font-size: 0.95rem;
margin: 0 0 0.5rem;
}
.buttonRow {
grid-gap: 0.5rem;
display: grid;
gap: 0.5rem;
grid-template-columns: repeat(3, 1fr);
margin-bottom: 1.1rem;
}
.controlButton {
background: #f8fafc;
border: 1px solid #cbd5e1;
border-radius: 8px;
color: #1e293b;
cursor: pointer;
font-weight: 500;
padding: 0.45rem 0.35rem;
}
.controlButton:hover {
background: #eef2f8;
}
.sliderContainer {
grid-gap: 0.25rem;
display: grid;
gap: 0.25rem;
}
.sliderContainer span {
color: #334155;
font-size: 0.95rem;
}
.fpsValue {
color: #64748b;
font-size: 0.85rem;
margin: 0.3rem 0 0;
}
/*# sourceMappingURL=main.5cae1eb5.css.map*/