ese-website/_includes/header.css

60 lines
958 B
CSS
Raw Normal View History

2024-09-20 17:10:24 +02:00
header {
display: flex;
position: sticky;
top: 0;
2024-09-23 14:37:40 +02:00
min-height: 9rem;
2024-09-20 17:10:24 +02:00
padding: 2rem 0;
backdrop-filter: blur(5px);
background-color: rgba(255,255,255,.92);
box-shadow: 0 3px 15px hsla(0,0%,39.2%,.12);
}
.header-container {
display: flex;
justify-content: space-between;
align-items: center;
}
2024-09-20 18:39:35 +02:00
#header-logo img {
max-height: 60px;
display: block;
}
2024-09-20 17:10:24 +02:00
#mainNav ul {
margin: 0;
padding: 0;
}
#mainNav li {
2024-09-23 14:37:40 +02:00
display: inline-block;
margin-left: 1.9rem;
2024-09-20 17:10:24 +02:00
}
#mainNav a {
position: relative;
font-size: 16px;
font-family: Aileron;
font-weight: 500;
line-height: 2;
text-transform: uppercase;
color: var(--color-text);
text-decoration: none;
}
#mainNav a::after {
content: "";
position: absolute;
background: var(--color-primary);
opacity: 0;
bottom: -4px;
left: 0;
right: 0;
height: 2px;
transition: opacity .3s ease-out;
}
2024-09-24 15:39:40 +02:00
#mainNav a:hover::after,
#mainNav .nav-active a::after {
2024-09-20 17:10:24 +02:00
opacity: 1;
}