Skip to content

Commit 4fd1b75

Browse files
committed
More tweaks
1 parent 03d664f commit 4fd1b75

File tree

2 files changed

+16
-83
lines changed

2 files changed

+16
-83
lines changed

src/css/landing-page.css

Lines changed: 12 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -275,36 +275,21 @@
275275
}
276276

277277
.doc.landing-page-capella .tabs .tablist > ul li {
278-
align-content: space-around;
279-
justify-content: space-between;
280-
flex-wrap: wrap;
281278
margin-right: 1rem;
282279
}
283280

284-
.doc.landing-page-capella .tablist.ulist {
285-
display: flex;
286-
justify-content: center;
287-
}
288-
289281
.doc.landing-page-capella .tabpanel {
290-
display: flex;
291282
padding: 2em 1.25em;
292283
}
293284

294285
.doc.landing-page-capella .tabs.responsive .tabpanel {
295-
flex-direction: column;
296286
padding: 2rem 4rem 2rem 1rem;
297-
width: 50%;
298287
}
299288

300289
.doc.landing-page-capella .tabs.responsive .tabpanel .paragraph > p > a {
301290
font-weight: var(--weight-semibold);
302291
}
303292

304-
.doc.landing-page-capella .tabpanel > .tabs-image {
305-
width: 50%;
306-
}
307-
308293
/* CSS for How Do You Want To Start Building Today? section */
309294
.doc.landing-page-capella .centered > h2 {
310295
text-align: center;
@@ -364,37 +349,34 @@
364349
text-decoration: underline;
365350
}
366351

352+
.doc.landing-page-capella .opening-image {
353+
width: 10em; /* Adjust as needed */
354+
height: auto;
355+
display: block;
356+
margin: -50px;
357+
position: relative;
358+
top: 150px; /* Adjust this value to control the amount of overlap */
359+
z-index: -1;
360+
}
361+
367362
.doc.landing-page-capella .ending-image {
368363
width: 100%; /* Adjust as needed */
369364
height: auto;
370365
display: block;
371-
margin: 0 auto;
366+
margin: -100px auto;
372367
position: relative;
373368
top: 150px; /* Adjust this value to control the amount of overlap */
374369
z-index: 1;
375370
}
376371

377372
/* Screen size considerations */
378373

379-
@media screen and (min-width: 340px) and (max-width: 499px) {
374+
@media screen and (max-width: 499px) {
380375
.doc.landing-page-capella .tabs {
381376
margin: 2rem 0;
382377
width: 100%;
383378
}
384379

385-
.doc.landing-page-capella .tabpanel {
386-
display: block;
387-
}
388-
389-
.doc.landing-page-capella .tabs.responsive .tabpanel {
390-
flex-direction: column;
391-
width: 100%;
392-
}
393-
394-
.doc.landing-page-capella .tabpanel > .tabs-image {
395-
width: 250px;
396-
}
397-
398380
.doc.landing-page-capella .card-container {
399381
flex-direction: column;
400382
width: 100%;
@@ -406,54 +388,12 @@
406388
}
407389

408390
@media screen and (min-width: 500px) and (max-width: 700px) {
409-
.doc.landing-page-capella .tabs {
410-
margin: 2rem 0;
411-
width: 100%;
412-
}
413-
414-
.doc.landing-page-capella .tabpanel {
415-
display: block;
416-
}
417-
418-
.doc.landing-page-capella .tabs.responsive .tabpanel {
419-
flex-direction: column;
420-
width: 100%;
421-
}
422-
423-
.doc.landing-page-capella .tabpanel > .tabs-image {
424-
width: 275px;
425-
}
426-
427-
.doc.landing-page-capella .card-container {
428-
flex-direction: column;
429-
width: 100%;
430-
}
431-
432391
.doc.landing-page-capella .card-box {
433392
width: 100%;
434393
}
435394
}
436395

437396
@media screen and (min-width: 701px) and (max-width: 1699px) {
438-
.doc.landing-page-capella .tabs {
439-
margin: 2rem 0;
440-
width: 100%;
441-
}
442-
443-
.doc.landing-page-capella .tabpanel {
444-
display: block;
445-
padding: 2em 1.25em;
446-
}
447-
448-
.doc.landing-page-capella .tabs.responsive .tabpanel {
449-
flex-direction: column;
450-
width: 100%;
451-
}
452-
453-
.doc.landing-page-capella .tabpanel > .tabs-image {
454-
width: 50%;
455-
}
456-
457397
.doc.landing-page-capella .card-container {
458398
width: 100%;
459399
}
@@ -464,14 +404,6 @@
464404
}
465405

466406
@media screen and (min-width: 1700px) {
467-
.doc.landing-page-capella .tabs.responsive .tabpanel {
468-
width: 50%;
469-
}
470-
471-
.doc.landing-page-capella .tabpanel > .tabs-image {
472-
width: 50%;
473-
}
474-
475407
.doc.landing-page-capella .card-box {
476408
width: 30%;
477409
}

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@
1212
{{/if}}
1313
<main class="capella-article" data-ceiling="topbar">
1414
<article class="doc landing-page-capella">
15+
<img class="opening-image" src="{{{uiRootPath}}}/img/stars.svg" />
16+
1517
{{{page.contents}}}
16-
<div class="ending-image">
17-
<img src="{{{uiRootPath}}}/img/lineplus.svg" />
18-
</div>
18+
19+
<img class="ending-image" src="{{{uiRootPath}}}/img/lineplus.svg" />
1920
</article>
2021
</main>
2122
</div>

0 commit comments

Comments
 (0)