|
331 | 331 | font-weight: var(--weight-semibold);
|
332 | 332 | }
|
333 | 333 |
|
| 334 | +.doc.landing-page-capella .tabpanel > .tabs-image { |
| 335 | + width: 500px; |
| 336 | +} |
| 337 | + |
334 | 338 | /* CSS for How Do You Want To Start Building Today? section */
|
335 | 339 | .doc.landing-page-capella .centered > h2 {
|
336 | 340 | text-align: center;
|
|
393 | 397 | z-index: 1;
|
394 | 398 | }
|
395 | 399 |
|
| 400 | +/* Screen size considerations */ |
| 401 | + |
| 402 | +@media screen and (min-width: 340px) and (max-width: 430px) { |
| 403 | + .doc.landing-page-capella .top-row > .positioned-image { |
| 404 | + min-width: 130px; |
| 405 | + margin-top: -37.5rem; /* Adjust to position image right below the div */ |
| 406 | + } |
| 407 | + |
| 408 | + .doc.landing-page-capella .tabs { |
| 409 | + margin: 2rem 0; |
| 410 | + width: 100%; |
| 411 | + } |
| 412 | + |
| 413 | + .doc.landing-page-capella .tabpanel { |
| 414 | + display: block; |
| 415 | + } |
| 416 | + |
| 417 | + .doc.landing-page-capella .tabpanel > .text-tabs-container { |
| 418 | + flex-direction: column; |
| 419 | + width: 100%; |
| 420 | + } |
| 421 | + |
| 422 | + .doc.landing-page-capella .tabpanel > .tabs-image { |
| 423 | + width: 250px; |
| 424 | + } |
| 425 | + |
| 426 | + .doc.landing-page-capella .card-container { |
| 427 | + flex-direction: column; |
| 428 | + width: 100%; |
| 429 | + } |
| 430 | + |
| 431 | + .doc.landing-page-capella .card-box { |
| 432 | + width: 100%; |
| 433 | + } |
| 434 | +} |
| 435 | + |
| 436 | +@media screen and (min-width: 500px) and (max-width: 700px) { |
| 437 | + .doc.landing-page-capella .top-row > .positioned-image { |
| 438 | + min-width: 130px; |
| 439 | + margin-top: -29rem; /* Adjust to position image right below the div */ |
| 440 | + } |
| 441 | + |
| 442 | + .doc.landing-page-capella .tabs { |
| 443 | + margin: 2rem 0; |
| 444 | + width: 100%; |
| 445 | + } |
| 446 | + |
| 447 | + .doc.landing-page-capella .tabpanel { |
| 448 | + display: block; |
| 449 | + } |
| 450 | + |
| 451 | + .doc.landing-page-capella .tabpanel > .text-tabs-container { |
| 452 | + flex-direction: column; |
| 453 | + width: 100%; |
| 454 | + } |
| 455 | + |
| 456 | + .doc.landing-page-capella .tabpanel > .tabs-image { |
| 457 | + width: 275px; |
| 458 | + } |
| 459 | + |
| 460 | + .doc.landing-page-capella .card-container { |
| 461 | + flex-direction: column; |
| 462 | + width: 100%; |
| 463 | + } |
| 464 | + |
| 465 | + .doc.landing-page-capella .card-box { |
| 466 | + width: 100%; |
| 467 | + } |
| 468 | +} |
| 469 | + |
| 470 | +@media screen and (min-width: 768px) and (max-width: 1280px) { |
| 471 | + .doc.landing-page-capella .top-row > .positioned-image { |
| 472 | + min-width: 150px; |
| 473 | + margin-top: -15rem; /* Adjust to position image right below the div */ |
| 474 | + } |
| 475 | + |
| 476 | + .doc.landing-page-capella .tabs { |
| 477 | + margin: 2rem 0; |
| 478 | + width: 100%; |
| 479 | + } |
| 480 | + |
| 481 | + .doc.landing-page-capella .tabpanel { |
| 482 | + display: block; |
| 483 | + padding: 2em 1.25em; |
| 484 | + } |
| 485 | + |
| 486 | + .doc.landing-page-capella .tabpanel > .text-tabs-container { |
| 487 | + flex-direction: column; |
| 488 | + width: 100%; |
| 489 | + } |
| 490 | + |
| 491 | + .doc.landing-page-capella .tabpanel > .tabs-image { |
| 492 | + width: 50%; |
| 493 | + } |
| 494 | + |
| 495 | + .doc.landing-page-capella .card-container { |
| 496 | + width: 100%; |
| 497 | + } |
| 498 | + |
| 499 | + .doc.landing-page-capella .card-box { |
| 500 | + width: 46%; |
| 501 | + } |
| 502 | +} |
| 503 | + |
396 | 504 | /* CSS for nav filter */
|
397 | 505 | .nav.tutorials-filter .nav-menu {
|
398 | 506 | padding: 20px;
|
|
0 commit comments