Files
tplate/web/styles/header/header.css

41 lines
771 B
CSS

header {
display: flex;
align-items: baseline;
margin: .5rem 0;
}
header a {
text-decoration: none;
}
header a[href="/"] {
background: linear-gradient(90deg, var(--dark-color), var(--light-color));
background-clip: text;
-webkit-text-fill-color: transparent;
font-size: 1.25em;
}
header a[here] {
text-shadow: 0 0 10px var(--revert-color);
}
header nav {
display: flex;
justify-content: space-between;
flex: 1;
overflow-x: auto;
margin: 0 -1rem 0 .2rem;
padding: 0 1rem 0 .8rem;
gap: 1rem;
white-space: nowrap;
scrollbar-color: var(--code-color) transparent;
scrollbar-width: thin;
mask-image: linear-gradient(to right, black 50%, hsla(0, 0%, 0%, 0.6) 100%);
}
header div {
display: flex;
margin: 0.5rem 0;
gap: 1rem;
}