vlcsolutions commited on
Commit
370d8ac
·
verified ·
1 Parent(s): 446d82e

desktop and mobile should show the correct

Browse files
Files changed (2) hide show
  1. index.html +6 -7
  2. style.css +50 -2
index.html CHANGED
@@ -221,20 +221,19 @@
221
  </div>
222
  </header>
223
  <!-- Hero / Banner (right-aligned text) -->
224
- <section class="relative text-white"
225
  style="
226
- height: 346px;
227
  background:
228
  url('https://huggingface.co/spaces/vlcsolutions/inspection-dynamo-pro/resolve/main/images/Inspection%20Management%20-Banner-Nov2025.png')
229
  no-repeat center center / cover;
230
  ">
231
- <div class="max-w-7xl mx-auto h-full flex items-center justify-end px-8">
232
- <div class="max-w-3xl text-right ml-20" data-aos="fade-up">
233
  <!-- Right-aligned heading -->
234
  <h1
235
- class="text-4xl md:text-4xl font-extrabold leading-tight antialiased drop-shadow-[0_3px_10px_rgba(0,0,0,0.45)] mb-6"
236
- style="color:#ffffff; -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; margin-right: -20%;">
237
- Compliance Without Chaos
238
  </h1>
239
 
240
  <!-- Right-aligned subheading -->
 
221
  </div>
222
  </header>
223
  <!-- Hero / Banner (right-aligned text) -->
224
+ <section class="relative text-white bg-[var(--vlc-navy)] md:h-[346px] min-h-[300px]"
225
  style="
 
226
  background:
227
  url('https://huggingface.co/spaces/vlcsolutions/inspection-dynamo-pro/resolve/main/images/Inspection%20Management%20-Banner-Nov2025.png')
228
  no-repeat center center / cover;
229
  ">
230
+ <div class="max-w-7xl mx-auto h-full flex items-center justify-end px-4 md:px-8">
231
+ <div class="max-w-3xl text-right md:ml-20 w-full md:w-auto" data-aos="fade-up">
232
  <!-- Right-aligned heading -->
233
  <h1
234
+ class="text-3xl md:text-4xl font-extrabold leading-tight antialiased drop-shadow-[0_3px_10px_rgba(0,0,0,0.45)] mb-6"
235
+ style="color:#ffffff; -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; md:margin-right: -20%;">
236
+ Compliance Without Chaos
237
  </h1>
238
 
239
  <!-- Right-aligned subheading -->
style.css CHANGED
@@ -33,21 +33,69 @@
33
  /* Hero banner adjustments */
34
  section.relative.text-white {
35
  height: auto;
36
- padding: 3rem 1rem;
 
37
  }
38
 
39
  .max-w-7xl.mx-auto.h-full.flex.items-center.justify-end.px-8 {
40
  justify-content: center;
41
  text-align: center;
42
  padding: 0 1rem;
 
43
  }
44
 
45
  .max-w-3xl.text-right {
46
  text-align: center;
47
- margin-left: 0;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48
  padding: 0 1rem;
49
  }
50
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51
  h1 {
52
  font-size: 16px;
53
  margin-top: 0;
 
33
  /* Hero banner adjustments */
34
  section.relative.text-white {
35
  height: auto;
36
+ min-height: 300px;
37
+ padding: 2rem 1rem;
38
  }
39
 
40
  .max-w-7xl.mx-auto.h-full.flex.items-center.justify-end.px-8 {
41
  justify-content: center;
42
  text-align: center;
43
  padding: 0 1rem;
44
+ height: 100%;
45
  }
46
 
47
  .max-w-3xl.text-right {
48
  text-align: center;
49
+ margin: 0 auto;
50
+ padding: 0;
51
+ width: 100%;
52
+ }
53
+
54
+ .max-w-3xl.text-right h1 {
55
+ font-size: 2rem;
56
+ line-height: 1.2;
57
+ margin-bottom: 1rem;
58
+ }
59
+
60
+ .max-w-3xl.text-right p {
61
+ font-size: 1rem;
62
+ margin-bottom: 1.5rem;
63
+ }
64
+
65
+ .max-w-3xl.text-right a {
66
+ margin: 0 auto;
67
+ }
68
+
69
+ /* Features section */
70
+ .grid.md\:grid-cols-2.gap-10 {
71
+ grid-template-columns: 1fr;
72
+ gap: 1.5rem;
73
+ }
74
+
75
+ /* System capabilities */
76
+ .max-w-6xl.mx-auto.px-4 {
77
  padding: 0 1rem;
78
  }
79
  }
80
+
81
+ /* Desktop styles */
82
+ @media (min-width: 768px) {
83
+ section.relative.text-white {
84
+ height: 346px;
85
+ }
86
+
87
+ .max-w-7xl.mx-auto.h-full.flex.items-center.justify-end.px-8 {
88
+ padding-right: 2rem;
89
+ }
90
+
91
+ .max-w-3xl.text-right {
92
+ margin-right: -5%;
93
+ }
94
+
95
+ .max-w-3xl.text-right h1 {
96
+ margin-right: -20%;
97
+ }
98
+ }
99
  h1 {
100
  font-size: 16px;
101
  margin-top: 0;