2024-08-09 15:44:57 +07:00
|
|
|
body {
|
|
|
|
font-family: "Arial", sans-serif;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
header {
|
|
|
|
background-color: #4CAF50;
|
|
|
|
padding: 20px;
|
|
|
|
text-align: center;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar {
|
|
|
|
display: flex;
|
2024-11-15 15:02:52 +07:00
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
padding: 1rem 3.2rem;
|
2024-08-09 15:44:57 +07:00
|
|
|
}
|
|
|
|
|
2024-11-15 15:02:52 +07:00
|
|
|
.navbar .nav-links {
|
|
|
|
display: flex;
|
|
|
|
gap: 32px;
|
2024-08-09 15:44:57 +07:00
|
|
|
}
|
|
|
|
|
2024-11-15 15:02:52 +07:00
|
|
|
.navbar .nav-links a {
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
padding: 0.4rem;
|
|
|
|
font-size: 1.1rem;
|
2024-08-09 15:44:57 +07:00
|
|
|
color: #000;
|
2024-11-15 15:02:52 +07:00
|
|
|
text-decoration: none;
|
2024-08-09 15:44:57 +07:00
|
|
|
}
|
|
|
|
|
2024-11-15 15:02:52 +07:00
|
|
|
.navbar .nav-links a::after {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
bottom: -5px;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
margin: 0 auto;
|
|
|
|
width: 0;
|
|
|
|
height: 2px;
|
|
|
|
background-color: black;
|
|
|
|
transition: all 0.3s ease-in-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar .nav-links a:is(:hover, .active)::after {
|
|
|
|
width: 40%;
|
2024-08-09 15:44:57 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
main {
|
|
|
|
padding: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
footer {
|
2024-11-15 17:22:44 +07:00
|
|
|
margin-top: 8rem;
|
|
|
|
color: gray;
|
2024-08-09 15:44:57 +07:00
|
|
|
text-align: center;
|
2024-11-15 17:22:44 +07:00
|
|
|
padding: 1.2rem 0;
|
2024-08-09 15:44:57 +07:00
|
|
|
width: 100%;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*# sourceMappingURL=style.css.map */
|