Research-Stack/3-Mathematical-Models/genetics/parametric-learn/src/style.css

99 lines
1.5 KiB
CSS

html,
body,
#app {
margin: 0;
height: 100%;
background: #16171d;
overflow: hidden;
}
#app canvas {
display: block;
}
#hud {
position: fixed;
top: 12px;
left: 14px;
font: 13px ui-monospace, Consolas, monospace;
color: #c084fc;
background: rgba(22, 23, 29, 0.6);
padding: 6px 10px;
border-radius: 6px;
display: flex;
align-items: center;
gap: 10px;
}
#hud button,
#hud select,
#hud a {
font: inherit;
color: #c084fc;
background: rgba(192, 132, 252, 0.12);
border: 1px solid rgba(192, 132, 252, 0.35);
border-radius: 4px;
padding: 2px 8px;
cursor: pointer;
text-decoration: none;
}
#hud a:hover {
background: rgba(192, 132, 252, 0.2);
}
#hud select option {
color: #16171d;
background: #f4f3ec;
}
#hud button:hover:not(:disabled) {
background: rgba(192, 132, 252, 0.2);
}
#hud button:disabled {
opacity: 0.35;
cursor: default;
}
#info {
position: fixed;
top: 56px;
left: 14px;
max-width: 440px;
font: 14px/1.55 system-ui, -apple-system, sans-serif;
color: #d1d0d8;
background: rgba(22, 23, 29, 0.94);
border: 1px solid rgba(192, 132, 252, 0.3);
padding: 16px 20px;
border-radius: 8px;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
#info[hidden] {
display: none;
}
#info p {
margin: 0 0 10px;
}
#info p:last-child {
margin-bottom: 0;
}
#info code {
font: 12.5px ui-monospace, Consolas, monospace;
background: rgba(192, 132, 252, 0.14);
color: #e8d4ff;
padding: 1px 5px;
border-radius: 3px;
}
#info .truth {
color: #9b95a3;
}
#info .pred {
color: #c084fc;
}