Files
Trilium/apps/website2/src/components/Header.css

45 lines
693 B
CSS
Raw Normal View History

2025-09-26 23:32:09 +03:00
header {
padding: 1em;
position: sticky;
top: 0;
background: rgba(255, 255, 255, 0.75);
box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
backdrop-filter: blur(20px);
z-index: 1000;
}
header .content-wrapper {
display: flex;
align-items: center;
justify-items: center;
gap: 1em;
2025-09-26 23:32:09 +03:00
}
header > .content-wrapper,
section.hero-section > .content-wrapper {
min-width: 80vw;
}
header img {
width: 48px;
height: 48px;
}
header img+span {
font-size: 1.1em;
}
header nav {
flex-grow: 1;
display: flex;
justify-content: flex-end;
gap: 1em;
}
header nav a {
text-decoration: none;
}
header nav a.active {
font-weight: bold;
2025-09-26 23:32:09 +03:00
}