trwnh.com/unified.test.hugo/assets/styles/components/site-header.scss
2024-11-16 16:42:05 -06:00

86 lines
No EOL
2.1 KiB
SCSS

.site-header {
hr {
display: none;
}
.container {
}
.please-wait-warmly {
background: var(--ui-overlay);
padding: 1em;
display: grid;
grid-template-columns: auto 1fr auto;
place-items: center;
gap: 1em;
line-height: 1.15;
letter-spacing: -0.022em;
&:before, &:after {
content: '';
display: inline-block;
width: 3em;
height: 3em;
background-color: hsl(210, 100%, 40%);
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGZpbGw9IndoaXRlIiBkPSJtMTguOSAyMWwtNS40NzUtNS40NzVsMi4xLTIuMUwyMSAxOC45ek01LjEgMjFMMyAxOC45TDkuOSAxMmwtMS43LTEuN2wtLjcuN2wtMS4yNzUtMS4yNzV2Mi4wNWwtLjcuN0wyLjUgOS40NWwuNy0uN2gyLjA1TDQgNy41bDMuNTUtMy41NXEuNS0uNSAxLjA3NS0uNzI1VDkuOCAzdDEuMTc1LjIyNXQxLjA3NS43MjVsLTIuMyAyLjNMMTEgNy41bC0uNy43TDEyIDkuOWwyLjI1LTIuMjVxLS4xLS4yNzUtLjE2Mi0uNTc1dC0uMDYzLS42cTAtMS40NzUgMS4wMTMtMi40ODh0Mi40ODctMS4wMTJxLjM3NSAwIC43MTMuMDc1dC42ODcuMjI1TDE2LjQ1IDUuNzVsMS44IDEuOGwyLjQ3NS0yLjQ3NXEuMTc1LjM1LjIzOC42ODd0LjA2Mi43MTNxMCAxLjQ3NS0xLjAxMiAyLjQ4OHQtMi40ODggMS4wMTJxLS4zIDAtLjYtLjA1dC0uNTc1LS4xNzV6Ii8+PC9zdmc+);
background-size: 75%;
background-repeat: no-repeat;
background-position: center;
border-radius: 100em;
}
&:before {
grid-column: 1;
}
> * {
grid-column: 2;
}
&:after {
grid-column: 3;
}
}
.site-nav {
display: flex;
flex-flow: row wrap;
gap: 0.5em;
}
.site-masthead {
color: inherit;
text-decoration: none;
display: inline-grid;
grid-template-columns: auto 1fr;
gap: 0.5em;
}
.site-icon {
block-size: 3rem;
inline-size: 3rem;
border-radius: 100em;
justify-self: center;
}
.site-masthead__text {
display: flex;
flex-flow: column;
}
.site-title {
font-size: 1.5rem;
font-weight: 900;
line-height: 2rem;
display: inline-grid;
}
.site-tagline {
line-height: 1rem;
}
.main-menu {
flex-grow: 1;
margin: 0;
list-style: none;
text-align: end;
&-item {
margin: 0;
height: 100%;
display: inline-grid;
place-items: center;
.menu-link {
display: inline-grid;
padding-inline: 0.5em;
}
}
}
}