Skip to content

Commit e288494

Browse files
committed
[AV-77311] Adjust screen size considerations for landing page.
1 parent a84464a commit e288494

File tree

1 file changed

+21
-6
lines changed

1 file changed

+21
-6
lines changed

src/css/landing-page.css

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@
332332
}
333333

334334
.doc.landing-page-capella .tabpanel > .tabs-image {
335-
width: 500px;
335+
width: 50%;
336336
}
337337

338338
/* CSS for How Do You Want To Start Building Today? section */
@@ -363,14 +363,15 @@
363363
box-shadow: 5px 10px 29.48px 0 rgba(0, 0, 0, 0.4);
364364
}
365365

366-
.doc.landing-page-capella .card-box > .fa-regular {
366+
.doc.landing-page-capella .card-box > .svg-inline--fa {
367367
color: var(--color-brand-red);
368+
font-size: 2em;
368369
}
369370

370371
.doc.landing-page-capella .card-box > h3 {
371372
margin-block-start: 0;
372-
padding-left: 0;
373-
text-align: center;
373+
padding-left: 1.5em;
374+
text-align: left;
374375
}
375376

376377
.doc.landing-page-capella .card-box > p {
@@ -399,7 +400,7 @@
399400

400401
/* Screen size considerations */
401402

402-
@media screen and (min-width: 340px) and (max-width: 430px) {
403+
@media screen and (min-width: 340px) and (max-width: 499px) {
403404
.doc.landing-page-capella .top-row > .positioned-image {
404405
min-width: 130px;
405406
margin-top: -37.5rem; /* Adjust to position image right below the div */
@@ -467,7 +468,7 @@
467468
}
468469
}
469470

470-
@media screen and (min-width: 768px) and (max-width: 1280px) {
471+
@media screen and (min-width: 701px) and (max-width: 1699px) {
471472
.doc.landing-page-capella .top-row > .positioned-image {
472473
min-width: 150px;
473474
margin-top: -15rem; /* Adjust to position image right below the div */
@@ -501,6 +502,20 @@
501502
}
502503
}
503504

505+
@media screen and (min-width: 1700px) {
506+
.doc.landing-page-capella .tabpanel > .text-tabs-container {
507+
width: 50%;
508+
}
509+
510+
.doc.landing-page-capella .tabpanel > .tabs-image {
511+
width: 50%;
512+
}
513+
514+
.doc.landing-page-capella .card-box {
515+
width: 30%;
516+
}
517+
}
518+
504519
/* CSS for nav filter */
505520
.nav.tutorials-filter .nav-menu {
506521
padding: 20px;

0 commit comments

Comments
 (0)