muddle/samples/shadcn-porter/dist.previous/_muddle/styles.css
2026-10-23 09:12:49 -04:00

97 lines
1.7 KiB
CSS

:root {
--background: #ffffff;
--foreground: #09090b;
--card: #ffffff;
--card-foreground: #09090b;
--border: #e4e4e7;
--primary: #18181b;
--primary-foreground: #fafafa;
--muted-foreground: #71717a;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
background: var(--background);
color: var(--foreground);
font-family: ui-sans-serif, system-ui, sans-serif;
}
.porter {
display: grid;
gap: 1.5rem;
width: min(100% - 2rem, 64rem);
margin: 0 auto;
padding: clamp(2rem, 9vw, 7rem) 0;
}
.porter__intro,
.porter__item {
padding: clamp(1.25rem, 4vw, 3rem);
}
.porter__intro h1 {
max-width: 44rem;
margin: 0;
font-size: clamp(2.75rem, 7vw, 5.75rem);
line-height: 0.95;
letter-spacing: -0.07em;
}
.porter__intro p,
.porter__item p {
max-width: 39rem;
color: var(--muted-foreground);
line-height: 1.65;
}
.porter__grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 1rem;
}
.porter__item {
min-height: 15rem;
display: grid;
align-content: space-between;
gap: 2rem;
}
.porter__item h2 {
margin: 0;
font-size: 1.35rem;
}
.rounded-xl {
border-radius: 0.75rem;
}
.border {
border: 1px solid var(--border);
}
.bg-card {
background: var(--card);
}
.text-card-foreground {
color: var(--card-foreground);
}
.shadow {
box-shadow:
0 1px 3px rgb(0 0 0 / 0.1),
0 1px 2px rgb(0 0 0 / 0.06);
}
.muddle-react {
display: inline-flex;
width: fit-content;
align-items: center;
justify-content: center;
border: 0;
border-radius: 0.375rem;
background: var(--primary);
color: var(--primary-foreground);
padding: 0.55rem 0.9rem;
font: inherit;
font-weight: 500;
cursor: pointer;
}
.muddle-react:hover {
opacity: 0.9;
}
@media (max-width: 48rem) {
.porter__grid {
grid-template-columns: 1fr;
}
}