feat: add first pass of navbar

This commit is contained in:
Devin Haska 2024-02-05 15:42:32 -08:00
parent b702a3878d
commit df1c7a795f
7 changed files with 4900 additions and 13 deletions

View file

@ -0,0 +1,9 @@
.navbar {
backdrop-filter: blur(3px);
background-color: color-mix(in srgb, var(--color-bg) 60%, transparent);
background-image: linear-gradient(var(--color-bg) 20%, transparent);
padding-block: 1.5rem;
position: sticky;
top: 0;
z-index: 1;
}

View file

@ -0,0 +1,51 @@
.site-logo {
gap: 0.5rem;
}
.site-logo .logo {
background-color: var(--color-light);
border-radius: 50%;
width: 52px;
height: 52px;
border-color: var(--color-dark);
border-width: 1px;
border-style: solid;
box-shadow: 0 2px 0 var(--color-dark);
}
.site-logo .wordmark {
text-decoration: none;
}
.site-logo .wordmark > span {
text-shadow:
-1px 1px 0 var(--shadow-color),
0 1px 0 var(--shadow-color),
-1px -1px 0 var(--shadow-color),
1px -1px 0 var(--shadow-color),
1px 1px 0 var(--shadow-color),
-1px 2px 0 var(--shadow-color),
0px 2px 0 var(--shadow-color),
1px 2px 0 var(--shadow-color),
-1px 3px 0 var(--shadow-color),
0px 3px 0 var(--shadow-color),
1px 3px 0 var(--shadow-color);
color: white;
font-family: var(--font-family-display);
font-size: 1.5rem;
letter-spacing: -0.05em;
transition: transform var(--transition-duration);
}
.site-logo .wordmark > span:hover {
transform: translateY(-2px);
}
.site-logo .wordmark > :nth-child(1) {
--shadow-color: var(--color-dark);
}
.site-logo .wordmark > :nth-child(2) {
--shadow-color: var(--color-primary-faded);
z-index: 1;
}

View file

@ -0,0 +1,16 @@
.flex {
display: flex;
}
.flex-col {
display: flex;
flex-direction: column;
}
.items-center {
align-items: center;
}
.justify-center {
justify-content: center;
}

4803
src/assets/images/logo.svg Normal file

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 286 KiB