93 lines
1.5 KiB
CSS
93 lines
1.5 KiB
CSS
/* Header Styles */
|
|
.site-header {
|
|
background-color: white;
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
padding: 16px 0;
|
|
}
|
|
|
|
.header-container {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 0 20px;
|
|
}
|
|
|
|
.logo a {
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
color: #333;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.main-nav ul {
|
|
display: flex;
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.main-nav li {
|
|
margin-left: 24px;
|
|
}
|
|
|
|
.main-nav li:first-child {
|
|
margin-left: 0;
|
|
}
|
|
|
|
.main-nav a {
|
|
color: #555;
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
transition: color 0.2s;
|
|
}
|
|
|
|
.main-nav a:hover {
|
|
color: #6366f1;
|
|
}
|
|
|
|
.auth-section {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.login-button {
|
|
background-color: #6366f1;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 4px;
|
|
padding: 8px 16px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: background-color 0.2s;
|
|
}
|
|
|
|
.login-button:hover {
|
|
background-color: #4f46e5;
|
|
}
|
|
|
|
/* Mobile Responsive Styles */
|
|
@media (max-width: 768px) {
|
|
.header-container {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.main-nav {
|
|
margin: 16px 0;
|
|
}
|
|
|
|
.main-nav ul {
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
}
|
|
|
|
.main-nav li {
|
|
margin: 0 12px;
|
|
}
|
|
|
|
.auth-section {
|
|
margin-top: 16px;
|
|
}
|
|
} |