|
268 | 268 | }
|
269 | 269 | }
|
270 | 270 |
|
271 |
| -/* CSS for top section: H1, H2, and Capella Stars image */ |
272 |
| -.doc.landing-page-capella .top-row { |
273 |
| - display: flex; |
274 |
| - flex-direction: row; |
275 |
| - padding: 1rem; |
276 |
| - margin-bottom: 2rem; |
277 |
| - margin-top: -1rem; |
278 |
| -} |
279 |
| - |
280 |
| -.doc.landing-page-capella .top-row > .positioned-image { |
281 |
| - flex-direction: row; |
282 |
| - width: 35%; |
283 |
| - min-width: 300px; |
284 |
| - height: auto; |
285 |
| - position: relative; |
286 |
| - margin-top: -2.5rem; /* Adjust to position image right below the div */ |
287 |
| - margin-left: 1rem; /* Adjust to position image to the right of the div */ |
288 |
| -} |
289 |
| - |
290 |
| -.doc.landing-page-capella .top-row > .top-row-text-container { |
291 |
| - flex-direction: column; |
292 |
| - padding-right: 1rem; |
293 |
| - position: relative; |
294 |
| -} |
295 |
| - |
296 |
| -.doc.landing-page-capella .top-row > .top-row-text-container > h1 { |
297 |
| - font-weight: 600; |
298 |
| - margin-top: 1rem; |
299 |
| -} |
300 |
| - |
301 | 271 | /* Adjusted CSS for Tabbed "Ten Minutes" Content */
|
302 | 272 | .doc.landing-page-capella .tabs {
|
303 | 273 | margin: 2rem 0 2rem 0;
|
|
348 | 318 | margin: 20px auto;
|
349 | 319 | }
|
350 | 320 |
|
| 321 | +.doc.landing-page-capella .card-container .sectionbody { |
| 322 | + display: contents; |
| 323 | +} |
| 324 | + |
351 | 325 | .doc.landing-page-capella .card-box {
|
352 | 326 | width: 30%;
|
353 | 327 | margin: 1.66%;
|
|
402 | 376 | /* Screen size considerations */
|
403 | 377 |
|
404 | 378 | @media screen and (min-width: 340px) and (max-width: 499px) {
|
405 |
| - .doc.landing-page-capella .top-row > .positioned-image { |
406 |
| - min-width: 130px; |
407 |
| - margin-top: -37.5rem; /* Adjust to position image right below the div */ |
408 |
| - } |
409 |
| - |
410 | 379 | .doc.landing-page-capella .tabs {
|
411 | 380 | margin: 2rem 0;
|
412 | 381 | width: 100%;
|
|
436 | 405 | }
|
437 | 406 |
|
438 | 407 | @media screen and (min-width: 500px) and (max-width: 700px) {
|
439 |
| - .doc.landing-page-capella .top-row > .positioned-image { |
440 |
| - min-width: 130px; |
441 |
| - margin-top: -29rem; /* Adjust to position image right below the div */ |
442 |
| - } |
443 |
| - |
444 | 408 | .doc.landing-page-capella .tabs {
|
445 | 409 | margin: 2rem 0;
|
446 | 410 | width: 100%;
|
|
470 | 434 | }
|
471 | 435 |
|
472 | 436 | @media screen and (min-width: 701px) and (max-width: 1699px) {
|
473 |
| - .doc.landing-page-capella .top-row > .positioned-image { |
474 |
| - min-width: 150px; |
475 |
| - margin-top: -15rem; /* Adjust to position image right below the div */ |
476 |
| - } |
477 |
| - |
478 | 437 | .doc.landing-page-capella .tabs {
|
479 | 438 | margin: 2rem 0;
|
480 | 439 | width: 100%;
|
|
0 commit comments