55 background : var (--ifm-background-surface-color );
66 z-index : 100 ;
77 animation : fade-in 0.3s ease-out;
8+ height : max-content;
89}
910
1011/* Dark mode: Use darker background for better contrast with cards */
@@ -18,17 +19,18 @@ html[data-theme='dark'] .overlayContainer {
1819 overflow-y : auto;
1920 display : flex;
2021 flex-direction : column;
22+ margin-top : 80px ;
2123}
2224
2325/* Tablet and up */
24- @media (width > = 768px) {
26+ @media (width > = 768px) {
2527 .overlayContent {
2628 padding : 1.6rem ;
2729 }
2830}
2931
3032/* Desktop and up */
31- @media (width > = 997px) {
33+ @media (width > = 997px) {
3234 .overlayContent {
3335 padding : 2.4rem ;
3436 }
@@ -42,14 +44,14 @@ html[data-theme='dark'] .overlayContainer {
4244}
4345
4446/* Tablet and up */
45- @media (width > = 768px) {
47+ @media (width > = 768px) {
4648 .header {
4749 padding : 2.4rem 0 1.2rem ;
4850 }
4951}
5052
5153/* Desktop and up */
52- @media (width > = 997px) {
54+ @media (width > = 997px) {
5355 .header {
5456 padding : 4rem 0 1.6rem ;
5557 }
@@ -90,7 +92,7 @@ html[data-theme='dark'] .overlayContainer {
9092}
9193
9294/* Tablet and up */
93- @media (width > = 768px) {
95+ @media (width > = 768px) {
9496 .closeButton {
9597 top : 2.4rem ;
9698 font-size : 1.5rem ;
@@ -99,7 +101,7 @@ html[data-theme='dark'] .overlayContainer {
99101}
100102
101103/* Desktop and up */
102- @media (width > = 997px) {
104+ @media (width > = 997px) {
103105 .closeButton {
104106 font-size : 1.6rem ;
105107 padding : 0.8rem 1.2rem ;
@@ -124,14 +126,14 @@ html[data-theme='dark'] .overlayContainer {
124126}
125127
126128/* Tablet and up */
127- @media (width > = 768px) {
129+ @media (width > = 768px) {
128130 .stepHeader {
129131 padding : 2rem 0 3rem ;
130132 }
131133}
132134
133135/* Desktop and up */
134- @media (width > = 997px) {
136+ @media (width > = 997px) {
135137 .stepHeader {
136138 padding : 2rem 0 4rem ;
137139 }
@@ -146,7 +148,7 @@ html[data-theme='dark'] .overlayContainer {
146148}
147149
148150/* Tablet and up */
149- @media (width > = 768px) {
151+ @media (width > = 768px) {
150152 .sectionTitle {
151153 font-size : 2.2rem ;
152154 margin : 0 0 2rem ;
@@ -155,7 +157,7 @@ html[data-theme='dark'] .overlayContainer {
155157}
156158
157159/* Desktop and up */
158- @media (width > = 997px) {
160+ @media (width > = 997px) {
159161 .sectionTitle {
160162 font-size : 2.4rem ;
161163 line-height : 1.2 ;
@@ -171,14 +173,14 @@ html[data-theme='dark'] .overlayContainer {
171173}
172174
173175/* Tablet and up */
174- @media (width > = 768px) {
176+ @media (width > = 768px) {
175177 .sectionDescription {
176178 font-size : 1.5rem ;
177179 }
178180}
179181
180182/* Desktop and up */
181- @media (width > = 997px) {
183+ @media (width > = 997px) {
182184 .sectionDescription {
183185 font-size : 1.6rem ;
184186 }
@@ -195,13 +197,13 @@ html[data-theme='dark'] .overlayContainer {
195197 flex : 1 ;
196198}
197199
198- @media (width > = 997px) {
200+ @media (width > = 997px) {
199201 .cardsWrapper {
200202 grid-template-columns : repeat (2 , 1fr );
201203 }
202204}
203205
204- @media (width > = 1440px) {
206+ @media (width > = 1440px) {
205207 .cardsWrapper {
206208 grid-template-columns : repeat (3 , 1fr );
207209 }
@@ -261,15 +263,15 @@ html[data-theme='dark'] .overlayContainer {
261263}
262264
263265/* Tablet and up */
264- @media (width > = 768px) {
266+ @media (width > = 768px) {
265267 .cardInner {
266268 padding : 2.4rem ;
267269 min-height : 18rem ;
268270 }
269271}
270272
271273/* Desktop and up */
272- @media (width > = 997px) {
274+ @media (width > = 997px) {
273275 .cardInner {
274276 padding : 3.2rem ;
275277 min-height : 20rem ;
@@ -301,13 +303,13 @@ html[data-theme='dark'] .overlayContainer {
301303 color : var (--color-palette , var (--general-gray-mid ));
302304}
303305
304- @media (width > = 997px) {
306+ @media (width > = 997px) {
305307 .cardShape {
306308 width : 14.2rem ;
307309 }
308310}
309311
310- @media (width > = 1440px) {
312+ @media (width > = 1440px) {
311313 .cardShape {
312314 width : 13rem ;
313315 }
@@ -328,7 +330,7 @@ html[data-theme='dark'] .overlayContainer {
328330 position : relative;
329331}
330332
331- @media (width <= 996px) {
333+ @media (width <= 996px) {
332334 .cardFooter {
333335 flex-direction : column;
334336 align-items : flex-start;
@@ -353,14 +355,14 @@ html[data-theme='dark'] .overlayContainer {
353355}
354356
355357/* Tablet and up */
356- @media (width > = 768px) {
358+ @media (width > = 768px) {
357359 .cardTitle {
358360 font-size : 2rem ;
359361 }
360362}
361363
362364/* Desktop and up */
363- @media (width > = 997px) {
365+ @media (width > = 997px) {
364366 .cardTitle {
365367 font-size : 2.4rem ;
366368 }
@@ -374,20 +376,20 @@ html[data-theme='dark'] .overlayContainer {
374376}
375377
376378/* Tablet and up */
377- @media (width > = 768px) {
379+ @media (width > = 768px) {
378380 .cardDescription {
379381 font-size : 1.5rem ;
380382 }
381383}
382384
383385/* Desktop and up */
384- @media (width > = 997px) {
386+ @media (width > = 997px) {
385387 .cardDescription {
386388 font-size : 1.7rem ;
387389 }
388390}
389391
390- @media (width > = 997px) {
392+ @media (width > = 997px) {
391393 .cardDescription {
392394 max-width : 82% ;
393395 }
@@ -475,14 +477,14 @@ html[data-theme='dark'] .cardDescription {
475477}
476478
477479/* Tablet and up */
478- @media (width > = 768px) {
480+ @media (width > = 768px) {
479481 .quickLinks {
480482 padding-top : 2rem ;
481483 }
482484}
483485
484486/* Desktop and up */
485- @media (width > = 997px) {
487+ @media (width > = 997px) {
486488 .quickLinks {
487489 padding-top : 2.4rem ;
488490 margin-bottom : 2rem ;
@@ -497,15 +499,15 @@ html[data-theme='dark'] .cardDescription {
497499}
498500
499501/* Tablet and up */
500- @media (width > = 768px) {
502+ @media (width > = 768px) {
501503 .quickLinksTitle {
502504 font-size : 1.5rem ;
503505 margin : 0 0 1.4rem ;
504506 }
505507}
506508
507509/* Desktop and up */
508- @media (width > = 997px) {
510+ @media (width > = 997px) {
509511 .quickLinksTitle {
510512 font-size : 1.6rem ;
511513 margin : 0 0 1.6rem ;
@@ -519,15 +521,15 @@ html[data-theme='dark'] .cardDescription {
519521}
520522
521523/* Tablet and up */
522- @media (width > = 768px) {
524+ @media (width > = 768px) {
523525 .linkGrid {
524526 flex-flow : row wrap;
525527 gap : 1rem ;
526528 }
527529}
528530
529531/* Desktop and up */
530- @media (width > = 997px) {
532+ @media (width > = 997px) {
531533 .linkGrid {
532534 gap : 1.2rem ;
533535 }
@@ -536,7 +538,7 @@ html[data-theme='dark'] .cardDescription {
536538/* .quickLink selector moved above to fix specificity */
537539
538540/* Desktop and up */
539- @media (width > = 997px) {
541+ @media (width > = 997px) {
540542 .quickLink {
541543 padding : 1rem 1.6rem ;
542544 font-size : 1.4rem ;
0 commit comments