circuit-thinking/css/style.css

73 lines
1.2 KiB
CSS
Raw Permalink Normal View History

2026-08-22 01:19:32 +02:00
/* site/css/style.css */
body {
margin: 0;
font-family: 'Inter', sans-serif;
background: #1e1e1e;
color: #e0e0e0;
line-height: 1.6;
}
.site-header {
background: #2c3e50;
padding: 1rem 2rem;
text-align: center;
}
.site-header h1 {
margin: 0;
font-size: 2.5rem;
color: #f39c12;
}
.site-header .subtitle {
margin-top: 0.5rem;
font-size: 1.2rem;
color: #bdc3c7;
}
.content {
max-width: 960px;
margin: 2rem auto;
padding: 0 1rem;
}
.card-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 1.5rem;
margin-top: 2rem;
}
.card {
background: #34495e;
padding: 1.5rem;
border-radius: 4px;
text-decoration: none;
color: inherit;
transition: transform 0.2s;
}
.card:hover {
transform: translateY(-5px);
}
.card h3 {
margin-top: 0;
color: #f39c12;
}
.featured-image {
display: block;
max-width: 100%;
height: auto;
margin: 1rem auto;
}
.featured-work {
margin-top: 3rem;
padding-top: 2rem;
border-top: 1px solid #555;
}
footer {
text-align: center;
padding: 1rem;
font-size: 0.9rem;
color: #777;
}
footer a {
color: #f39c12;
text-decoration: none;
}
footer a:hover {
text-decoration: underline;
}