Theme/src/base/_header.scss

53 lines
905 B
SCSS

:root {
--header-height: 4rem;
}
.#{$ns}header {
background: $primary !important;
color: $on-primary !important;
display: flex;
// justify-content: space-between;
padding: 1rem;
> * {
max-height: 2rem;
margin: 0;
background: $primary;
color: $on-primary;
}
> *:not(:last-child) {
margin-right: 1rem;
}
span {
line-height: 1.5rem;
font-size: 1.5rem;
padding: 0.25rem;
text-overflow: ellipsis;
white-space: nowrap;
}
svg {
height: 2rem;
width: auto;
}
> a {
font-size: 1rem;
text-overflow: ellipsis;
white-space: nowrap;
padding: 0.5rem;
text-decoration: none;
&:hover {
filter: brightness(0.95);
}
&:active {
filter: brightness(1.05);
}
}
}