49 lines
745 B
CSS
49 lines
745 B
CSS
.header {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 60px;
|
|
background-color: #ff4b4b;
|
|
color: white;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 0 20px;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
z-index: 1000;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.header-left a {
|
|
color: white;
|
|
font-size: 1.5em;
|
|
font-weight: bold;
|
|
text-decoration: none;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.header-right {
|
|
display: flex;
|
|
gap: 20px;
|
|
margin-right: 10px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.header-link {
|
|
color: white;
|
|
text-decoration: none;
|
|
font-size: 1em;
|
|
transition: color 0.2s;
|
|
}
|
|
|
|
.header-link:hover {
|
|
color: #ddd;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.header-right {
|
|
margin-right: 5px;
|
|
}
|
|
}
|