website/site/css/style.css

159 lines
2.1 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
background: #fff;
color: #333;
line-height: 1.6;
}
header {
padding: 4rem 2rem;
max-width: 800px;
margin: 0 auto;
border-bottom: 1px solid #eee;
}
header h1 {
font-size: 2rem;
font-weight: 600;
margin-bottom: 0.5rem;
}
.subtitle {
color: #666;
font-size: 1rem;
}
nav {
margin-top: 2rem;
display: flex;
gap: 2rem;
}
nav a {
color: #333;
text-decoration: none;
font-size: 0.95rem;
}
nav a:hover {
color: #666;
}
h1 {
font-size: 2rem;
font-weight: 600;
}
main {
max-width: 800px;
margin: 0 auto;
padding: 4rem 2rem;
}
section {
margin-bottom: 4rem;
}
h2 {
font-size: 1.2rem;
font-weight: 600;
margin-bottom: 1.5rem;
border-bottom: 1px solid #eee;
padding-bottom: 0.5rem;
}
p {
margin-bottom: 1rem;
}
a {
color: #333;
}
a:hover {
color: #666;
}
ul {
margin-left: 2rem;
margin-bottom: 1rem;
}
li {
margin-bottom: 0.5rem;
}
.project {
margin-bottom: 2rem;
}
.project h3 {
font-size: 1rem;
font-weight: 600;
margin-bottom: 0.3rem;
}
.project p {
color: #666;
font-size: 0.95rem;
}
.project a {
color: #333;
text-decoration: underline;
}
.project a:hover {
color: #666;
}
/* Link wrapper for projects */
.project-link {
text-decoration: none;
color: inherit;
display: block;
transition: all 0.2s;
}
.project-link:hover .project {
opacity: 0.8;
}
.button-group {
display: flex;
gap: 1rem;
margin-top: 2rem;
flex-wrap: wrap;
}
.button {
display: inline-block;
padding: 0.75rem 1.5rem;
background: #f5f5f5;
border: 1px solid #ddd;
border-radius: 0.25rem;
text-decoration: none;
color: #333;
font-size: 0.95rem;
transition: all 0.2s;
}
.button:hover {
background: #e8e8e8;
border-color: #333;
}
footer {
border-top: 1px solid #eee;
padding: 2rem;
text-align: center;
color: #999;
font-size: 0.9rem;
}