Skip to content

Commit

Permalink
CSS tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
MythicalFish committed Feb 1, 2024
1 parent 9eea684 commit ccffe27
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/EventSwitcher/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const EventSwitcher = ({ className, loc }) => {
if (loc?.pathname === '/subscribe-2024/') return null;

return (
<div className="fixed top-20 right-0 md:top-[153px] lg:top-32 z-10">
<div className="fixed top-[130px] right-0 md:top-[160px] z-10">
<div
className={classnames(
'typo-display3 inline-flex items-center bg-gradient-to-r from-blue-600 to-red-300 text-black px-4 py-3 rounded-l-full',
Expand Down
6 changes: 3 additions & 3 deletions src/components/HeroAnimation/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ const HeroAnimation = ({ variant }) => {
style={{
backgroundPosition: 'center center',
backgroundSize: '96px 96px',
backgroundImage: `url(${(variant === 'red') ? CircleRedVisualSrc : CircleVisualSrc})`
backgroundImage: `url(${variant === 'red' ? CircleRedVisualSrc : CircleVisualSrc})`,
}}
className="absolute h-full w-[calc(100%_+_96px)] animate-flow"
className="absolute h-full w-[calc(100%_+_144px)] animate-flow"
/>
<div
className="absolute inset-0"
style={{
background: "radial-gradient(calc(96px * 2.5) at calc(50% + 96px * 3), transparent 70%, rgba(0,0,0,0.75))",
background: 'radial-gradient(calc(96px * 2.5) at calc(50% + 96px * 3), transparent 70%, rgba(0,0,0,0.75))',
}}
/>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/layout/Layout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const Layout = ({ children, location, pageContext }) => {
) : (
<Header hideNav />
)}
<main className="min-h-[calc(100vh_-_64px)] pt-[64px] md:pt-[96px]">{children}</main>
<main className="min-h-[calc(100vh_-_112px)] pt-[64px] md:pt-[144px]">{children}</main>
<CookieBanner />
<Footer />
</LayoutProvider>
Expand Down

0 comments on commit ccffe27

Please sign in to comment.