54 lines
797 B
CSS
54 lines
797 B
CSS
body {
|
|
font-family: Arial, sans-serif;
|
|
margin: 0;
|
|
padding: 0;
|
|
background-color: #f4f4f9;
|
|
color: #333;
|
|
}
|
|
|
|
header {
|
|
background-color: #2c3e50;
|
|
color: white;
|
|
padding: 1em 0;
|
|
text-align: center;
|
|
}
|
|
|
|
header h1 {
|
|
margin: 0;
|
|
}
|
|
|
|
nav ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
nav ul li a {
|
|
color: white;
|
|
text-decoration: none;
|
|
padding: 0.5em 1em;
|
|
display: block;
|
|
}
|
|
|
|
nav ul li a:hover {
|
|
background-color: #34495e;
|
|
}
|
|
|
|
main {
|
|
padding: 20px;
|
|
max-width: 800px;
|
|
margin: 20px auto;
|
|
background-color: white;
|
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
section {
|
|
padding: 15px 0;
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
|
|
section:last-child {
|
|
border-bottom: none;
|
|
} |