Skip to content

Commit cd89fb5

Browse files
committed
Fix mission hero visual motion
1 parent b1a283e commit cd89fb5

45 files changed

Lines changed: 892 additions & 249 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎src/components/Header.astro‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,16 +92,20 @@ import Logo from './Logo.astro';
9292
.brand {
9393
display: inline-flex;
9494
align-items: center;
95-
gap: 0.7rem;
95+
gap: 0;
9696
min-width: max-content;
97+
position: relative;
9798
}
9899
.brand:hover :global(.brand__logo) {
99100
color: var(--accent-deep);
100101
}
101102
:global(.brand__logo) {
103+
position: absolute;
104+
top: 50%;
105+
right: calc(100% + 0.7rem);
102106
width: 2.125rem;
103107
height: 2.125rem;
104-
flex: 0 0 2.125rem;
108+
transform: translateY(-50%);
105109
color: var(--fg);
106110
transition: color 0.2s var(--ease-out);
107111
}

0 commit comments

Comments
 (0)