ritterkraft commited on
Commit
6b28abf
·
verified ·
1 Parent(s): 96fe0fe

Simplify hero to one GIF and one PNG

Browse files
Files changed (2) hide show
  1. index.html +0 -2
  2. styles.css +5 -20
index.html CHANGED
@@ -17,8 +17,6 @@
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
- <img class="asset asset-c" src="https://serve.thelabsource.com/u/4Kb3iS.gif" alt="" />
21
- <img class="asset asset-d" src="https://serve.thelabsource.com/u/yZylMt.gif" alt="" />
22
  </div>
23
 
24
  <div class="hero-copy">
 
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">
styles.css CHANGED
@@ -103,26 +103,12 @@ main {
103
  }
104
 
105
  .asset-b {
106
- width: min(36vw, 560px);
107
- right: 3vw;
108
- top: 9svh;
109
  animation-delay: -3s;
110
  }
111
 
112
- .asset-c {
113
- width: min(35vw, 520px);
114
- right: 8vw;
115
- bottom: 18svh;
116
- animation-delay: -5s;
117
- }
118
-
119
- .asset-d {
120
- width: min(24vw, 340px);
121
- left: 39vw;
122
- bottom: 12svh;
123
- animation-delay: -7s;
124
- }
125
-
126
  .hero::after {
127
  content: "";
128
  position: absolute;
@@ -487,8 +473,7 @@ code {
487
  @media (max-width: 980px) {
488
  .screen { width: min(100vw - 28px, 1380px); }
489
  .asset-a { width: 86vw; height: 52svh; left: 0; top: 9svh; }
490
- .asset-b, .asset-d { display: none; }
491
- .asset-c { width: 58vw; right: 0; bottom: 20svh; }
492
  .hero-panel { position: relative; right: auto; bottom: auto; width: 100%; margin-bottom: 80px; }
493
  .hero-copy { padding-bottom: 28px; }
494
  .model-stage, .pipeline { grid-template-columns: 1fr; }
@@ -498,7 +483,7 @@ code {
498
 
499
  @media (max-width: 640px) {
500
  h1 { font-size: clamp(48px, 17vw, 78px); }
501
- .asset-c { display: none; }
502
  .command-wrap { grid-template-columns: 1fr; }
503
  .model-tabs { grid-template-columns: 1fr; }
504
  .pipeline-art { min-height: 420px; }
 
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 {
113
  content: "";
114
  position: absolute;
 
473
  @media (max-width: 980px) {
474
  .screen { width: min(100vw - 28px, 1380px); }
475
  .asset-a { width: 86vw; height: 52svh; left: 0; top: 9svh; }
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
 
484
  @media (max-width: 640px) {
485
  h1 { font-size: clamp(48px, 17vw, 78px); }
486
+ .asset-b { display: none; }
487
  .command-wrap { grid-template-columns: 1fr; }
488
  .model-tabs { grid-template-columns: 1fr; }
489
  .pipeline-art { min-height: 420px; }