Use one right-side GIF in hero
Browse files- index.html +0 -1
- styles.css +5 -13
index.html
CHANGED
|
@@ -16,7 +16,6 @@
|
|
| 16 |
<section class="screen hero" aria-labelledby="page-title">
|
| 17 |
<div class="asset-orbit" aria-hidden="true">
|
| 18 |
<img class="asset asset-a" src="https://serve.thelabsource.com/u/FhQgYP.gif" alt="" />
|
| 19 |
-
<img class="asset asset-b" src="https://serve.thelabsource.com/u/ih5dUC.png" alt="" />
|
| 20 |
</div>
|
| 21 |
|
| 22 |
<div class="hero-copy">
|
|
|
|
| 16 |
<section class="screen hero" aria-labelledby="page-title">
|
| 17 |
<div class="asset-orbit" aria-hidden="true">
|
| 18 |
<img class="asset asset-a" src="https://serve.thelabsource.com/u/FhQgYP.gif" alt="" />
|
|
|
|
| 19 |
</div>
|
| 20 |
|
| 21 |
<div class="hero-copy">
|
styles.css
CHANGED
|
@@ -97,16 +97,9 @@ main {
|
|
| 97 |
.asset-a {
|
| 98 |
width: min(48vw, 760px);
|
| 99 |
height: min(42vw, 520px);
|
| 100 |
-
|
| 101 |
-
top:
|
| 102 |
-
transform: rotateX(
|
| 103 |
-
}
|
| 104 |
-
|
| 105 |
-
.asset-b {
|
| 106 |
-
width: min(38vw, 620px);
|
| 107 |
-
right: 4vw;
|
| 108 |
-
top: 14svh;
|
| 109 |
-
animation-delay: -3s;
|
| 110 |
}
|
| 111 |
|
| 112 |
.hero::after {
|
|
@@ -472,8 +465,7 @@ code {
|
|
| 472 |
|
| 473 |
@media (max-width: 980px) {
|
| 474 |
.screen { width: min(100vw - 28px, 1380px); }
|
| 475 |
-
.asset-a { width:
|
| 476 |
-
.asset-b { width: 58vw; right: 0; top: 46svh; }
|
| 477 |
.hero-panel { position: relative; right: auto; bottom: auto; width: 100%; margin-bottom: 80px; }
|
| 478 |
.hero-copy { padding-bottom: 28px; }
|
| 479 |
.model-stage, .pipeline { grid-template-columns: 1fr; }
|
|
@@ -483,7 +475,7 @@ code {
|
|
| 483 |
|
| 484 |
@media (max-width: 640px) {
|
| 485 |
h1 { font-size: clamp(48px, 17vw, 78px); }
|
| 486 |
-
.asset-
|
| 487 |
.command-wrap { grid-template-columns: 1fr; }
|
| 488 |
.model-tabs { grid-template-columns: 1fr; }
|
| 489 |
.pipeline-art { min-height: 420px; }
|
|
|
|
| 97 |
.asset-a {
|
| 98 |
width: min(48vw, 760px);
|
| 99 |
height: min(42vw, 520px);
|
| 100 |
+
right: 5vw;
|
| 101 |
+
top: 17svh;
|
| 102 |
+
transform: rotateX(5deg) rotateY(-14deg) rotateZ(2deg);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 103 |
}
|
| 104 |
|
| 105 |
.hero::after {
|
|
|
|
| 465 |
|
| 466 |
@media (max-width: 980px) {
|
| 467 |
.screen { width: min(100vw - 28px, 1380px); }
|
| 468 |
+
.asset-a { width: 76vw; height: 42svh; right: -7vw; top: 9svh; opacity: 0.56; }
|
|
|
|
| 469 |
.hero-panel { position: relative; right: auto; bottom: auto; width: 100%; margin-bottom: 80px; }
|
| 470 |
.hero-copy { padding-bottom: 28px; }
|
| 471 |
.model-stage, .pipeline { grid-template-columns: 1fr; }
|
|
|
|
| 475 |
|
| 476 |
@media (max-width: 640px) {
|
| 477 |
h1 { font-size: clamp(48px, 17vw, 78px); }
|
| 478 |
+
.asset-a { width: 92vw; height: 34svh; right: -22vw; top: 10svh; opacity: 0.42; }
|
| 479 |
.command-wrap { grid-template-columns: 1fr; }
|
| 480 |
.model-tabs { grid-template-columns: 1fr; }
|
| 481 |
.pipeline-art { min-height: 420px; }
|