ritterkraft commited on
Commit
a6aaa57
·
verified ·
1 Parent(s): 207499e

Show full hero GIF without cropping

Browse files
Files changed (1) hide show
  1. styles.css +5 -5
styles.css CHANGED
@@ -88,15 +88,15 @@ main {
88
  border-radius: 14px;
89
  background: rgba(2,4,5,0.45);
90
  box-shadow: 0 30px 120px rgba(0,0,0,0.5);
91
- object-fit: cover;
92
  opacity: 0.86;
93
  filter: saturate(1.08) contrast(1.05);
94
  animation: float 10s ease-in-out infinite;
95
  }
96
 
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);
@@ -542,7 +542,7 @@ code {
542
 
543
  @media (max-width: 980px) {
544
  .screen { width: min(100vw - 28px, 1380px); }
545
- .asset-a { width: 76vw; height: 42svh; right: -7vw; top: 9svh; opacity: 0.56; }
546
  .hero-panel { position: relative; right: auto; bottom: auto; width: 100%; margin-bottom: 80px; }
547
  .hero-copy { padding-bottom: 28px; }
548
  .model-stage, .pipeline { grid-template-columns: 1fr; }
@@ -553,7 +553,7 @@ code {
553
 
554
  @media (max-width: 640px) {
555
  h1 { font-size: clamp(48px, 17vw, 78px); }
556
- .asset-a { width: 92vw; height: 34svh; right: -22vw; top: 10svh; opacity: 0.42; }
557
  .command-wrap { grid-template-columns: 1fr; }
558
  .model-tabs { grid-template-columns: 1fr; }
559
  .pipeline-art { min-height: 420px; }
 
88
  border-radius: 14px;
89
  background: rgba(2,4,5,0.45);
90
  box-shadow: 0 30px 120px rgba(0,0,0,0.5);
91
+ object-fit: contain;
92
  opacity: 0.86;
93
  filter: saturate(1.08) contrast(1.05);
94
  animation: float 10s ease-in-out infinite;
95
  }
96
 
97
  .asset-a {
98
+ width: min(54vw, 860px);
99
+ height: auto;
100
  right: 5vw;
101
  top: 17svh;
102
  transform: rotateX(5deg) rotateY(-14deg) rotateZ(2deg);
 
542
 
543
  @media (max-width: 980px) {
544
  .screen { width: min(100vw - 28px, 1380px); }
545
+ .asset-a { width: 82vw; height: auto; right: -8vw; top: 9svh; opacity: 0.56; }
546
  .hero-panel { position: relative; right: auto; bottom: auto; width: 100%; margin-bottom: 80px; }
547
  .hero-copy { padding-bottom: 28px; }
548
  .model-stage, .pipeline { grid-template-columns: 1fr; }
 
553
 
554
  @media (max-width: 640px) {
555
  h1 { font-size: clamp(48px, 17vw, 78px); }
556
+ .asset-a { width: 104vw; height: auto; right: -28vw; top: 10svh; opacity: 0.42; }
557
  .command-wrap { grid-template-columns: 1fr; }
558
  .model-tabs { grid-template-columns: 1fr; }
559
  .pipeline-art { min-height: 420px; }