Restructure hero: SVG full-width block, copy flows below
Removes the absolute-positioned overlay layout. The drone AI vision SVG now sits as a full-width block element sized by CSS height (clamp 360px–640px), with the Build/Share/Deploy copy in normal document flow beneath it. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
15
style.css
15
style.css
@@ -235,9 +235,6 @@ img { display: block; max-width: 100%; }
|
||||
.hero {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
min-height: clamp(640px, 90vh, 940px);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.hero-bg {
|
||||
@@ -247,10 +244,16 @@ img { display: block; max-width: 100%; }
|
||||
}
|
||||
|
||||
.drone-vision-bg {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
pointer-events: none;
|
||||
width: 100%;
|
||||
line-height: 0;
|
||||
}
|
||||
|
||||
.drone-vision-bg svg {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: clamp(360px, 48vw, 640px);
|
||||
}
|
||||
|
||||
html.dark .drone-vision-bg svg { filter: invert(1); }
|
||||
|
||||
Reference in New Issue
Block a user