logicsrc/apps/logicsrc-web/src/styles.css

386 lines
5.3 KiB
CSS

:root {
color: #101418;
background: #f6f7f4;
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
font-size: 16px;
letter-spacing: 0;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
}
a {
color: inherit;
text-decoration: none;
}
.shell {
display: grid;
grid-template-columns: 16rem minmax(0, 1fr);
min-height: 100vh;
}
.rail {
display: flex;
flex-direction: column;
gap: 1.5rem;
padding: 1rem;
border-right: 1px solid #d9ded4;
background: #101418;
color: #f6f7f4;
}
.brand {
display: flex;
align-items: center;
gap: 0.75rem;
}
.brand small {
display: block;
margin-top: 0.15rem;
color: #b5beb2;
}
.mark {
display: grid;
width: 2.5rem;
height: 2.5rem;
place-items: center;
border: 1px solid #5ac8a6;
border-radius: 6px;
color: #5ac8a6;
font-weight: 800;
}
nav {
display: grid;
gap: 0.5rem;
}
nav a {
min-height: 2.35rem;
padding: 0.55rem 0.75rem;
border: 1px solid #263039;
border-radius: 6px;
}
nav a.active,
nav a:hover {
border-color: #3f5049;
background: #1b2329;
}
.workspace {
padding: 1.25rem;
}
.hero,
.band {
width: 100%;
max-width: 72rem;
margin: 0 auto 1rem;
}
.hero {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem);
gap: 1rem;
align-items: end;
padding: 1.25rem 0 0.25rem;
}
.eyebrow,
.section-head p,
.tile p,
.implementation-list p,
.cli-panel p {
color: #58615b;
}
.eyebrow {
margin: 0 0 0.4rem;
font-weight: 800;
}
h1,
h2,
h3,
p {
margin-top: 0;
}
h1 {
margin-bottom: 0.45rem;
font-size: 3rem;
line-height: 1;
}
.lede {
max-width: 52rem;
margin-bottom: 0;
font-size: 1.12rem;
line-height: 1.55;
}
.status-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 0.5rem;
}
.status-grid span {
min-height: 5rem;
padding: 0.75rem;
border: 1px solid #d6ddd2;
border-radius: 8px;
background: #ffffff;
color: #58615b;
}
.status-grid strong {
display: block;
color: #101418;
font-size: 1.4rem;
}
.band {
padding: 1rem 0;
}
.section-head {
display: flex;
align-items: end;
justify-content: space-between;
gap: 1rem;
margin-bottom: 0.8rem;
}
.section-head h2,
.cli-panel h2 {
margin-bottom: 0;
font-size: 1.15rem;
}
.section-head p {
max-width: 34rem;
margin-bottom: 0;
line-height: 1.45;
}
.primitive-grid {
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
gap: 0.75rem;
}
.tile,
.schema-list article,
.cli-panel,
.soon-lead,
.soon-grid article,
.implementation-list article {
border: 1px solid #d6ddd2;
border-radius: 8px;
background: #ffffff;
}
.tile {
min-height: 10rem;
padding: 0.85rem;
}
.tile h3,
.implementation-list h3 {
margin-bottom: 0.35rem;
font-size: 1rem;
}
.tile p,
.implementation-list p,
.cli-panel p {
margin-bottom: 0;
line-height: 1.45;
}
.two-col {
display: grid;
grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 0.9fr);
gap: 1rem;
}
.coming-soon {
padding-top: 1.2rem;
}
.soon-layout {
display: grid;
grid-template-columns: minmax(20rem, 0.95fr) minmax(0, 1.05fr);
gap: 1rem;
}
.soon-lead {
padding: 1rem;
background: #eef7f3;
}
.agentbyte .soon-lead {
background: #f7f3e8;
}
.agentbyte .soon-lead span {
border-color: #e3c878;
color: #735b14;
}
.soon-lead span {
display: inline-block;
margin-bottom: 0.75rem;
padding: 0.35rem 0.5rem;
border: 1px solid #a8d9c9;
border-radius: 999px;
color: #2d6f60;
font-size: 0.9rem;
font-weight: 800;
}
.soon-lead h3 {
margin-bottom: 0.45rem;
font-size: 1.25rem;
}
.soon-lead p {
color: #39443e;
line-height: 1.5;
}
.soon-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 0.75rem;
}
.soon-grid article {
min-height: 8.5rem;
padding: 0.85rem;
}
.soon-grid h3 {
margin-bottom: 0.35rem;
font-size: 1rem;
}
.soon-grid p {
margin-bottom: 0;
color: #58615b;
line-height: 1.45;
}
.schema-list {
display: grid;
gap: 0.5rem;
}
.schema-list article {
display: grid;
gap: 0.35rem;
min-height: 4.2rem;
padding: 0.75rem;
}
code {
overflow-wrap: anywhere;
color: #2d6f60;
}
.cli-panel {
padding: 1rem;
}
pre {
overflow-x: auto;
margin: 0.75rem 0;
padding: 0.85rem;
border-radius: 6px;
background: #101418;
color: #f6f7f4;
}
.implementation-list {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 0.75rem;
}
.implementation-list article {
display: grid;
grid-template-columns: 0.7rem 1fr;
gap: 0.65rem;
min-height: 9rem;
padding: 0.85rem;
}
.implementation-list span {
width: 0.7rem;
height: 0.7rem;
margin-top: 0.25rem;
border-radius: 999px;
background: #f0c56a;
}
@media (max-width: 980px) {
.primitive-grid,
.implementation-list {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.hero,
.soon-layout,
.two-col {
grid-template-columns: 1fr;
}
}
@media (max-width: 720px) {
.shell {
grid-template-columns: 1fr;
}
.rail {
border-right: 0;
}
nav {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
nav a {
text-align: center;
}
.workspace {
padding: 0.9rem;
}
.section-head,
.hero {
align-items: start;
flex-direction: column;
}
.status-grid,
.primitive-grid,
.soon-grid,
.implementation-list {
grid-template-columns: 1fr;
}
h1 {
font-size: 2.4rem;
}
}