Files
fwdme.dev/style.css
callum 2c456a1279 first
2026-03-10 17:05:22 +00:00

158 lines
2.5 KiB
CSS

*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
:root {
--color-bg: #0f0f0f;
--color-text: #e8e8e8;
--color-muted: #888;
--color-accent: #6ee7b7;
--font-sans: system-ui, sans-serif;
}
@media (prefers-color-scheme: light) {
:root {
--color-bg: #fafafa;
--color-text: #111;
--color-muted: #666;
}
}
html {
font-family: var(--font-sans);
background: var(--color-bg);
color: var(--color-text);
line-height: 1.6;
}
body {
min-height: 100dvh;
display: flex;
flex-direction: column;
}
/* Nav */
header {
padding: 1.5rem 2rem;
border-bottom: 1px solid color-mix(in srgb, var(--color-text) 10%, transparent);
}
nav {
max-width: 960px;
margin: 0 auto;
}
.logo {
font-weight: 600;
text-decoration: none;
color: var(--color-accent);
}
/* Main */
main {
flex: 1;
max-width: 960px;
margin: 0 auto;
padding: 4rem 2rem;
width: 100%;
}
.hero h1 {
font-size: clamp(2rem, 6vw, 4rem);
line-height: 1.1;
margin-bottom: 1rem;
}
.hero p {
color: var(--color-muted);
font-size: 1.125rem;
}
/* Services */
.services {
margin-top: 4rem;
}
.section-title {
font-size: 1rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--color-muted);
margin-bottom: 1rem;
}
.section-note {
color: var(--color-muted);
font-size: 0.875rem;
margin-bottom: 1rem;
}
.service-card.delegated {
opacity: 0.7;
}
.service-grid {
list-style: none;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
gap: 1rem;
}
.service-card {
padding: 1.5rem;
border: 1px solid color-mix(in srgb, var(--color-text) 12%, transparent);
border-radius: 8px;
display: flex;
flex-direction: column;
gap: 0.5rem;
transition: border-color 0.2s;
}
.service-card:hover {
border-color: var(--color-accent);
}
.service-card h2 {
font-size: 1rem;
font-weight: 600;
}
.service-card p {
color: var(--color-muted);
font-size: 0.875rem;
flex: 1;
}
.service-link {
color: var(--color-accent);
text-decoration: none;
font-size: 0.875rem;
font-weight: 500;
align-self: flex-start;
}
.service-link:hover {
text-decoration: underline;
}
/* Footer */
footer {
padding: 1.5rem 2rem;
text-align: center;
color: var(--color-muted);
font-size: 0.875rem;
border-top: 1px solid color-mix(in srgb, var(--color-text) 10%, transparent);
}
footer a {
color: var(--color-muted);
text-decoration: underline;
}
footer a:hover {
color: var(--color-text);
}