portofolio/css/main.css
2026-04-10 13:12:07 +07:00

49 lines
754 B
CSS

/* ===== BASIC RESET ===== */
body {
margin: 0;
line-height: 1.6;
}
header {
position: sticky;
top: 0;
background: #fff;
border-bottom: 1px solid #ddd;
padding: 10px 20px;
}
nav a {
margin-right: 15px;
text-decoration: none;
color: #333;
}
section {
padding: 6.5em 5ch;
width: 100%;
}
h1, h2 {
margin-top: 0;
}
.project {
border: 1px solid #ddd;
padding: 15px;
margin-bottom: 10px;
cursor: pointer;
}
.project-details {
margin-top: 10px;
}
.visible {
display: block;
}
footer {
text-align: center;
padding: 20px;
border-top: 1px solid #ddd;
}