Files
codevisoft/styles.css
T
2026-08-31 21:59:10 +02:00

154 lines
2.4 KiB
CSS

:root {
--bg: #0d1117;
--bg-alt: #11161d;
--text: #e6edf3;
--text-dim: #9aa7b4;
--accent: #36A9E1;
--border: #1f2732;
--max-width: 960px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
margin: 0;
background: var(--bg);
color: var(--text);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
line-height: 1.6;
}
a {
color: var(--accent);
text-decoration: none;
}
a:hover { text-decoration: underline; }
.container {
max-width: var(--max-width);
margin: 0 auto;
padding: 0 1.5rem;
}
.site-header {
border-bottom: 1px solid var(--border);
position: sticky;
top: 0;
background: rgba(13, 17, 23, 0.9);
backdrop-filter: blur(6px);
z-index: 10;
}
.header-inner {
display: flex;
align-items: center;
justify-content: center;
padding-top: 0.75rem;
padding-bottom: 0.75rem;
}
nav a {
color: var(--text);
margin-left: 1.5rem;
font-weight: 500;
}
nav a:hover { color: var(--accent); text-decoration: none; }
.hero {
text-align: center;
padding: 5rem 0 4rem;
}
.hero-logo {
width: min(800px, 90%);
height: auto;
margin-bottom: 1.5rem;
}
.tagline {
color: var(--text-dim);
font-size: 1.15rem;
margin: 0;
}
.section {
padding: 3.5rem 0;
}
.section.alt {
background: var(--bg-alt);
border-top: 1px solid var(--border);
border-bottom: 1px solid var(--border);
}
.section h2 {
font-size: 1.75rem;
margin-top: 0;
margin-bottom: 1.5rem;
}
.links-inline {
color: var(--text-dim);
}
.portfolio-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 1.5rem;
}
.card {
background: var(--bg);
border: 1px solid var(--border);
border-radius: 10px;
padding: 1.5rem;
}
.card h3 {
margin: 0 0 0.25rem;
}
.card-meta {
color: var(--text-dim);
font-size: 0.85rem;
margin: 0 0 0.75rem;
}
.card-link {
display: inline-block;
margin-top: 0.75rem;
font-weight: 500;
}
.more-link {
margin-top: 2rem;
color: var(--text-dim);
}
.contact-list {
list-style: none;
padding: 0;
margin: 0;
}
.contact-list li {
padding: 0.4rem 0;
}
.site-footer {
border-top: 1px solid var(--border);
padding: 2rem 0;
color: var(--text-dim);
font-size: 0.9rem;
text-align: center;
}
@media (max-width: 600px) {
.header-inner { flex-direction: column; gap: 0.5rem; }
nav a { margin: 0 0.75rem; }
.hero { padding: 3.5rem 0 2.5rem; }
.hero h1 { font-size: 2.1rem; }
}