chore: scaffold Astro site + brand shell (header, footer, layout, motif)
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
This commit is contained in:
commit
6e1888b8ff
14 files changed
+7000
No files matched your search
@@ -0,0 +1,137 @@
|
||||
/* Green Tea. — marketing site global styles */
|
||||
@import './brand.css';
|
||||
|
||||
:root {
|
||||
--base: #0d1117;
|
||||
--panel: #161b22;
|
||||
--matcha: #5fb88a;
|
||||
--matcha-deep: #3fa873;
|
||||
--violet: #7c6cf0;
|
||||
--ink: #e6edf3;
|
||||
--dim: #8b949e;
|
||||
|
||||
--font-heading: 'Zen Maru Gothic', var(--font-body);
|
||||
--font-body:
|
||||
-apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
|
||||
|
||||
--max-width: 1120px;
|
||||
--gutter: 24px;
|
||||
}
|
||||
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
color-scheme: dark;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
background: var(--base);
|
||||
color: var(--ink);
|
||||
font-family: var(--font-body);
|
||||
font-size: 1rem;
|
||||
line-height: 1.7;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
text-rendering: optimizeLegibility;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4 {
|
||||
font-family: var(--font-heading);
|
||||
font-weight: 700;
|
||||
line-height: 1.3;
|
||||
color: var(--ink);
|
||||
margin: 0 0 0.6em;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: clamp(2.25rem, 4vw, 3.25rem);
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: clamp(1.75rem, 3vw, 2.25rem);
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1.375rem;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0 0 1.25em;
|
||||
color: var(--ink);
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--matcha);
|
||||
text-decoration: none;
|
||||
text-underline-offset: 0.2em;
|
||||
}
|
||||
|
||||
a:hover,
|
||||
a:focus-visible {
|
||||
color: var(--matcha-deep);
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
::selection {
|
||||
background: var(--matcha-deep);
|
||||
color: var(--base);
|
||||
}
|
||||
|
||||
.wrap {
|
||||
max-width: var(--max-width);
|
||||
margin: 0 auto;
|
||||
padding: 0 var(--gutter);
|
||||
}
|
||||
|
||||
/* Prose defaults — used by blog posts and long-form content */
|
||||
.prose {
|
||||
max-width: 70ch;
|
||||
}
|
||||
|
||||
.prose p,
|
||||
.prose ul,
|
||||
.prose ol {
|
||||
margin-bottom: 1.4em;
|
||||
}
|
||||
|
||||
.prose h2,
|
||||
.prose h3 {
|
||||
margin-top: 2em;
|
||||
}
|
||||
|
||||
.prose code {
|
||||
background: var(--panel);
|
||||
border-radius: 4px;
|
||||
padding: 0.15em 0.4em;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
.prose pre {
|
||||
background: var(--panel);
|
||||
border-radius: 8px;
|
||||
padding: 1.25em;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.prose pre code {
|
||||
background: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.prose blockquote {
|
||||
border-left: 3px solid var(--matcha-deep);
|
||||
margin: 1.5em 0;
|
||||
padding-left: 1.25em;
|
||||
color: var(--dim);
|
||||
}
|
||||
|
||||
section {
|
||||
padding-block: clamp(3rem, 8vw, 6rem);
|
||||
}
|
||||
Reference in new issue
Block a user