Skip to content

Commit 04b9550

Browse files
committed
WIP
1 parent 3cdec6c commit 04b9550

File tree

2 files changed

+7
-45
lines changed

2 files changed

+7
-45
lines changed

src/css/landing-page.css

Lines changed: 4 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -268,36 +268,6 @@
268268
}
269269
}
270270

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-
301271
/* Adjusted CSS for Tabbed "Ten Minutes" Content */
302272
.doc.landing-page-capella .tabs {
303273
margin: 2rem 0 2rem 0;
@@ -348,6 +318,10 @@
348318
margin: 20px auto;
349319
}
350320

321+
.doc.landing-page-capella .card-container .sectionbody {
322+
display: contents;
323+
}
324+
351325
.doc.landing-page-capella .card-box {
352326
width: 30%;
353327
margin: 1.66%;
@@ -402,11 +376,6 @@
402376
/* Screen size considerations */
403377

404378
@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-
410379
.doc.landing-page-capella .tabs {
411380
margin: 2rem 0;
412381
width: 100%;
@@ -436,11 +405,6 @@
436405
}
437406

438407
@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-
444408
.doc.landing-page-capella .tabs {
445409
margin: 2rem 0;
446410
width: 100%;
@@ -470,11 +434,6 @@
470434
}
471435

472436
@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-
478437
.doc.landing-page-capella .tabs {
479438
margin: 2rem 0;
480439
width: 100%;

src/partials/body-landing-page-capella.hbs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
<main class="capella-article" data-ceiling="topbar">
1414
<article class="doc landing-page-capella">
1515
{{{page.contents}}}
16+
<div class="ending-image">
17+
<img src="./_images/lineplus.svg" />
18+
</div>
1619
</article>
1720
</main>
1821
</div>

0 commit comments

Comments
 (0)