- Create static site structure in site/ directory - Add landing page, blog index, and first blog post - Include Open Graph meta tags for social sharing - Add GitHub Actions workflow for GitHub Pages deployment - Include brand assets (OG image, favicon) - Add README with setup and DNS instructions Co-Authored-By: Paperclip <noreply@paperclip.ing>
310 lines
4.9 KiB
CSS
310 lines
4.9 KiB
CSS
/* Reset and base styles */
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
:root {
|
|
--color-primary: #2563eb;
|
|
--color-primary-dark: #1d4ed8;
|
|
--color-text: #1f2937;
|
|
--color-text-light: #6b7280;
|
|
--color-bg: #ffffff;
|
|
--color-bg-light: #f9fafb;
|
|
--color-border: #e5e7eb;
|
|
--font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
--font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
|
|
}
|
|
|
|
html {
|
|
font-size: 16px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
body {
|
|
font-family: var(--font-sans);
|
|
color: var(--color-text);
|
|
background-color: var(--color-bg);
|
|
}
|
|
|
|
a {
|
|
color: var(--color-primary);
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
code {
|
|
font-family: var(--font-mono);
|
|
font-size: 0.9em;
|
|
background-color: var(--color-bg-light);
|
|
padding: 0.2em 0.4em;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
pre {
|
|
background-color: var(--color-bg-light);
|
|
padding: 1rem;
|
|
border-radius: 8px;
|
|
overflow-x: auto;
|
|
margin: 1.5rem 0;
|
|
}
|
|
|
|
pre code {
|
|
background: none;
|
|
padding: 0;
|
|
}
|
|
|
|
/* Container */
|
|
.container {
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
padding: 0 1.5rem;
|
|
}
|
|
|
|
/* Header */
|
|
header {
|
|
background-color: var(--color-bg);
|
|
border-bottom: 1px solid var(--color-border);
|
|
padding: 1rem 0;
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 100;
|
|
}
|
|
|
|
header .container {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.logo {
|
|
font-size: 1.5rem;
|
|
font-weight: 700;
|
|
color: var(--color-text);
|
|
}
|
|
|
|
.logo:hover {
|
|
text-decoration: none;
|
|
}
|
|
|
|
nav {
|
|
display: flex;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
nav a {
|
|
color: var(--color-text-light);
|
|
font-weight: 500;
|
|
}
|
|
|
|
nav a:hover {
|
|
color: var(--color-primary);
|
|
text-decoration: none;
|
|
}
|
|
|
|
/* Hero section */
|
|
.hero {
|
|
padding: 4rem 0;
|
|
text-align: center;
|
|
background-color: var(--color-bg-light);
|
|
}
|
|
|
|
.hero h1 {
|
|
font-size: 2.5rem;
|
|
font-weight: 800;
|
|
line-height: 1.2;
|
|
margin-bottom: 1.5rem;
|
|
color: var(--color-text);
|
|
}
|
|
|
|
.hero p {
|
|
font-size: 1.25rem;
|
|
color: var(--color-text-light);
|
|
max-width: 600px;
|
|
margin: 0 auto 2rem;
|
|
}
|
|
|
|
.cta {
|
|
display: flex;
|
|
gap: 1rem;
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.btn {
|
|
display: inline-block;
|
|
padding: 0.75rem 1.5rem;
|
|
border-radius: 8px;
|
|
font-weight: 600;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.btn-primary {
|
|
background-color: var(--color-primary);
|
|
color: white;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background-color: var(--color-primary-dark);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.btn-secondary {
|
|
background-color: white;
|
|
color: var(--color-text);
|
|
border: 1px solid var(--color-border);
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
background-color: var(--color-bg-light);
|
|
text-decoration: none;
|
|
}
|
|
|
|
/* Features section */
|
|
.features {
|
|
padding: 4rem 0;
|
|
}
|
|
|
|
.features h2 {
|
|
text-align: center;
|
|
font-size: 2rem;
|
|
margin-bottom: 3rem;
|
|
}
|
|
|
|
.feature-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
|
gap: 2rem;
|
|
}
|
|
|
|
.feature {
|
|
padding: 1.5rem;
|
|
background-color: var(--color-bg-light);
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.feature h3 {
|
|
font-size: 1.25rem;
|
|
margin-bottom: 0.75rem;
|
|
color: var(--color-text);
|
|
}
|
|
|
|
.feature p {
|
|
color: var(--color-text-light);
|
|
}
|
|
|
|
/* Why section */
|
|
.why {
|
|
padding: 4rem 0;
|
|
background-color: var(--color-bg-light);
|
|
}
|
|
|
|
.why h2 {
|
|
font-size: 2rem;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.why ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
}
|
|
|
|
.why li {
|
|
padding: 1rem 0;
|
|
border-bottom: 1px solid var(--color-border);
|
|
}
|
|
|
|
.why li:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
/* Blog post */
|
|
.blog-post {
|
|
padding: 3rem 0;
|
|
}
|
|
|
|
.post-header {
|
|
margin-bottom: 2rem;
|
|
padding-bottom: 1rem;
|
|
border-bottom: 1px solid var(--color-border);
|
|
}
|
|
|
|
.post-header h1 {
|
|
font-size: 2.5rem;
|
|
font-weight: 800;
|
|
line-height: 1.2;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.post-header time {
|
|
color: var(--color-text-light);
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.post-content {
|
|
font-size: 1.1rem;
|
|
line-height: 1.8;
|
|
}
|
|
|
|
.post-content h2 {
|
|
font-size: 1.5rem;
|
|
font-weight: 700;
|
|
margin: 2rem 0 1rem;
|
|
color: var(--color-text);
|
|
}
|
|
|
|
.post-content p {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.post-content ul,
|
|
.post-content ol {
|
|
margin-bottom: 1.5rem;
|
|
padding-left: 1.5rem;
|
|
}
|
|
|
|
.post-content li {
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.post-content strong {
|
|
font-weight: 600;
|
|
color: var(--color-text);
|
|
}
|
|
|
|
/* Footer */
|
|
footer {
|
|
background-color: var(--color-bg-light);
|
|
padding: 2rem 0;
|
|
margin-top: 4rem;
|
|
border-top: 1px solid var(--color-border);
|
|
}
|
|
|
|
footer p {
|
|
text-align: center;
|
|
color: var(--color-text-light);
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
/* Responsive */
|
|
@media (max-width: 768px) {
|
|
.hero h1 {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.hero p {
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.post-header h1 {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.post-content {
|
|
font-size: 1rem;
|
|
}
|
|
} |