12abef4076
Write a basic web app with a Rust engine, compiled to WebAssembly, powering a Civet interface. Do linear algebra in the engine using the `nalgebra` crate.
38 lines
550 B
CSS
38 lines
550 B
CSS
body {
|
|
margin-left: 20px;
|
|
margin-top: 20px;
|
|
color: #fcfcfc;
|
|
background-color: #202020;
|
|
}
|
|
|
|
input {
|
|
color: inherit;
|
|
background-color: #020202;
|
|
border: 1px solid #606060;
|
|
min-width: 40px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
#data-panel {
|
|
float: left;
|
|
margin-left: 20px;
|
|
display: grid;
|
|
grid-template-columns: auto auto;
|
|
gap: 10px 10px;
|
|
width: 120px;
|
|
}
|
|
|
|
#data-panel > div {
|
|
text-align: center;
|
|
}
|
|
|
|
#result-display {
|
|
margin-top: 10px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
canvas {
|
|
float: left;
|
|
background-color: #020202;
|
|
border-radius: 10px;
|
|
} |