158 lines
2.3 KiB
CSS
158 lines
2.3 KiB
CSS
:root {
|
|
--bg: #1e1e2e;
|
|
--bg-alt: #2a2a3a;
|
|
--bg-alt-2: #4a4a5a;
|
|
--fg: #e0e0e0;
|
|
--accent: #8aadf4;
|
|
--muted: #a0a0a0;
|
|
--border: #3a3a4a;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
background: var(--bg);
|
|
color: var(--fg);
|
|
font-family: "Inter", "Segoe UI", system-ui, sans-serif;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.container {
|
|
width: min(70rem, calc(100% - 2rem));
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.hero {
|
|
border-bottom: 1px solid var(--border);
|
|
padding: 5rem 0 4rem;
|
|
}
|
|
|
|
.hero h1 {
|
|
margin: 0;
|
|
font-size: clamp(2.5rem, 6vw, 4rem);
|
|
font-weight: 700;
|
|
color: var(--accent);
|
|
}
|
|
|
|
.subtitle {
|
|
margin-top: 0.5rem;
|
|
color: var(--muted);
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.intro {
|
|
max-width: 42rem;
|
|
margin-top: 2rem;
|
|
font-size: 1.05rem;
|
|
}
|
|
|
|
.links {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 1rem;
|
|
margin-top: 2rem;
|
|
}
|
|
|
|
main {
|
|
padding: 3rem 0;
|
|
}
|
|
|
|
section + section {
|
|
margin-top: 4rem;
|
|
}
|
|
|
|
h2 {
|
|
margin-bottom: 1.5rem;
|
|
color: var(--accent);
|
|
font-size: 1.8rem;
|
|
}
|
|
|
|
.project-grid {
|
|
display: grid;
|
|
gap: 1.5rem;
|
|
grid-template-columns: repeat(
|
|
auto-fit,
|
|
minmax(18rem, 1fr)
|
|
);
|
|
}
|
|
|
|
.project-card {
|
|
background: var(--bg-alt);
|
|
border: 1px solid var(--border);
|
|
border-radius: 10px;
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
.project-card h3 {
|
|
margin-top: 0;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.project-card p {
|
|
margin-bottom: 1.25rem;
|
|
}
|
|
|
|
.project-links {
|
|
display: flex;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.article-list {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.article-list li {
|
|
background: var(--bg-alt);
|
|
border: 1px solid var(--border);
|
|
border-radius: 10px;
|
|
padding: 1.25rem;
|
|
}
|
|
|
|
.article-list li + li {
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.article-list p {
|
|
margin-bottom: 0;
|
|
color: var(--muted);
|
|
}
|
|
|
|
a,
|
|
a:visited {
|
|
color: var(--accent);
|
|
text-decoration: none;
|
|
border-bottom: 1px dashed var(--accent);
|
|
}
|
|
|
|
a:hover {
|
|
border-bottom-style: solid;
|
|
}
|
|
|
|
footer {
|
|
border-top: 1px solid var(--border);
|
|
margin-top: 4rem;
|
|
padding: 2rem 0;
|
|
color: var(--muted);
|
|
}
|
|
|
|
@media (max-width: 700px) {
|
|
.hero {
|
|
padding-top: 3rem;
|
|
}
|
|
|
|
.links {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
}
|
|
}
|
|
|