Theme/src/base/_header.scss

52 lines
892 B
SCSS

:root {
--header-height: 4rem;
}
.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: .25rem;
text-overflow: ellipsis;
white-space: nowrap;
}
svg {
height: 2rem;
width: auto;
}
>a {
font-size: 1rem;
text-overflow: ellipsis;
white-space: nowrap;
padding: .5rem;
text-decoration: none;
&:hover {
filter: brightness(.95);
}
&:active {
filter: brightness(1.05);
}
}
}