Intial somewhat working version
This commit is contained in:
175
web/styles.css
Normal file
175
web/styles.css
Normal file
@@ -0,0 +1,175 @@
|
||||
:root {
|
||||
color-scheme: dark;
|
||||
font-family: "Segoe UI", Arial, sans-serif;
|
||||
background: #141717;
|
||||
color: #eef3ef;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.shell {
|
||||
width: min(1120px, calc(100vw - 32px));
|
||||
margin: 0 auto;
|
||||
padding: 28px 0;
|
||||
}
|
||||
|
||||
.topbar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 20px;
|
||||
padding: 0 0 22px;
|
||||
border-bottom: 1px solid #33403b;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 28px;
|
||||
font-weight: 650;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 16px;
|
||||
font-weight: 650;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
|
||||
.topbar p,
|
||||
article span,
|
||||
dt {
|
||||
color: #aab8b0;
|
||||
}
|
||||
|
||||
.actions {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
button {
|
||||
appearance: none;
|
||||
border: 1px solid #60736a;
|
||||
border-radius: 6px;
|
||||
background: #24302b;
|
||||
color: #f3fff7;
|
||||
min-width: 84px;
|
||||
height: 38px;
|
||||
font: inherit;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
button:hover {
|
||||
background: #314139;
|
||||
}
|
||||
|
||||
.status-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
gap: 12px;
|
||||
margin: 22px 0;
|
||||
}
|
||||
|
||||
article,
|
||||
.shader-list,
|
||||
.meter {
|
||||
border: 1px solid #33403b;
|
||||
border-radius: 8px;
|
||||
background: #1b211f;
|
||||
}
|
||||
|
||||
article {
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
article span {
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
article strong {
|
||||
display: block;
|
||||
min-height: 26px;
|
||||
font-size: 20px;
|
||||
font-weight: 650;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.workbench {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 340px;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.shader-list,
|
||||
.meter {
|
||||
padding: 18px;
|
||||
}
|
||||
|
||||
.shader {
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
padding: 14px;
|
||||
border: 1px solid #3c4b45;
|
||||
border-radius: 6px;
|
||||
background: #202925;
|
||||
}
|
||||
|
||||
.shader header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
label {
|
||||
display: grid;
|
||||
grid-template-columns: 120px 1fr 52px;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
color: #cdd8d1;
|
||||
}
|
||||
|
||||
input[type="range"] {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
dl {
|
||||
display: grid;
|
||||
grid-template-columns: 120px 1fr;
|
||||
gap: 10px 12px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
dd {
|
||||
margin: 0;
|
||||
font-weight: 650;
|
||||
}
|
||||
|
||||
#error {
|
||||
min-height: 24px;
|
||||
margin-top: 18px;
|
||||
color: #ffb4a8;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
@media (max-width: 820px) {
|
||||
.topbar,
|
||||
.workbench {
|
||||
grid-template-columns: 1fr;
|
||||
display: grid;
|
||||
}
|
||||
|
||||
.status-grid {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user