@@ -45,7 +45,7 @@ body.cid-training section.call-to-action .main-section .cta-text > * {
45
45
text-align : center;
46
46
/* if max() and min() are available, use them */
47
47
min-width : min (20em , 50vw );
48
- max-width : min (1000px , 50 vw );
48
+ max-width : min (1000px , 80 vw );
49
49
}
50
50
51
51
/*Image Container for further position of image in smaller devices*/
@@ -120,25 +120,38 @@ body.cid-training #get-certified .col-nav a.button {
120
120
body .cid-training section .call-to-action .main-section .cta-image > img {
121
121
width : 7rem ;
122
122
}
123
- body .cid-training section .call-to-action .main-section > div .call-to-action > div {
124
- padding : 0 2rem 0 2rem ;
123
+
124
+ /* Ensure kubestronaut image maintains proper size */
125
+ body .cid-training # cta-kubestronaut .cta-image > img {
126
+ width : 150px ;
127
+ margin : 0 auto;
128
+ display : block;
125
129
}
126
- body .cid-training section .call-to-action .main-section > div .call-to-action div .cta-image {
127
- padding : 0 2rem 0 2rem ;
128
- /* Change display to CSS Grid layout with 2 columns that autofill */
129
- display : grid;
130
- grid-template-columns : repeat (auto-fill, minmax (50% , 1fr ));
130
+ body .cid-training section .call-to-action .main-section > div .call-to-action > div {
131
+ padding : 0 1rem 0 1rem ;
131
132
}
132
- /* Make the CTA text fill 100% of the viewport */
133
- body .cid-training section .call-to-action .main-section > div .call-to-action > div .cta-text {
133
+
134
+
135
+ /* Updated styles for CTA text content at 945px breakpoint */
136
+ body .cid-training # cta-kubestronaut .cta-text ,
137
+ body .cid-training # cta-certification .cta-text {
134
138
width : 100% ;
139
+ max-width : 700px ;
140
+ margin : 0 auto;
141
+ }
142
+
143
+ body .cid-training # cta-kubestronaut .cta-text > * ,
144
+ body .cid-training # cta-certification .cta-text > * {
145
+ text-align : center;
146
+ max-width : 100% ;
147
+ min-width : auto;
135
148
}
136
149
137
150
/* Resize the div that contains the images so that the images wrap 2 at a time
138
151
and have no margin issues */
139
152
153
+ /* sizing here */
140
154
body .cid-training section .call-to-action .main-section > div .call-to-action {
141
- width : 60% ;
142
155
margin : auto;
143
156
padding-top : 20px ;
144
157
}
@@ -149,6 +162,19 @@ body.cid-training #get-certified .col-nav a.button {
149
162
grid-template-columns : repeat (2 , 120px );
150
163
gap : 0 ;
151
164
}
165
+
166
+ /* Special handling for kubestronaut container with single image */
167
+ body .cid-training # cta-kubestronaut .cta-img-container {
168
+ display : flex;
169
+ justify-content : center;
170
+ align-items : center;
171
+ width : 100% ;
172
+ }
173
+
174
+ body .cid-training # cta-kubestronaut .logo-certification {
175
+ padding : 0 ;
176
+ margin : 0 auto;
177
+ }
152
178
153
179
body .cid-training # logo-kcnf {
154
180
grid-column : 1 / span 2 ;
@@ -204,6 +230,10 @@ body.cid-training #get-certified .col-nav a.button {
204
230
}
205
231
body .cid-training .col-container {display : flex; flex-direction : column; }
206
232
body .cid-training .col-container .col-nav : last-child {width : 100% ;}
233
+
234
+ body .cid-training section .call-to-action .main-section > div .call-to-action > div {
235
+ padding : 0 .5rem 0 .5rem ;
236
+ }
207
237
}
208
238
209
239
body .cid-training .button {
@@ -270,4 +300,15 @@ body.cid-training #landscape {
270
300
visibility : visible;
271
301
overflow : hidden;
272
302
width : 100% ;
303
+ }
304
+
305
+ /* center logo grid iframe across all breakpoints*/
306
+ # frameHolder {
307
+ display : flex;
308
+ justify-content : center;
309
+ }
310
+ # iframe-landscape {
311
+ flex : 0 1 80% ;
312
+ max-width : 1200px ;
313
+ min-width : 0 ;
273
314
}
0 commit comments