Skip to content

Commit 4d477f5

Browse files
committed
banner section updated
1 parent 358c9d9 commit 4d477f5

3 files changed

Lines changed: 23 additions & 18 deletions

File tree

ims-gold.html

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -311,18 +311,14 @@ <h4>To enroll:</h4>
311311
</div>
312312
</section>
313313

314-
<!-- Banner -->
315-
<div class="banner-notification pure-g gold-cta">
314+
<!-- =========================== Banner =========================== -->
315+
<section class="blue-bg cta-banner cta-gold-banner">
316316
<div>
317-
<img src="wp-content/Icon_EMail_White.svg" alt="Contact" />
318-
<p>
319-
For questions contact Amanda Stephens at:
320-
<a href="mailto:amanda.stephens@ibm.com"
321-
><b><em>amanda.stephens@ibm.com</em></b></a
322-
>
323-
</p>
317+
<img src="wp-content/Icon_EMail_White.svg" alt="" />
318+
<h4>Have questions? Contact Amanda Stephens at:</h4>
319+
<a href="mailto:amanda.stephens@ibm.com">amanda.stephens@ibm.com</a>
324320
</div>
325-
</div>
321+
</section>
326322
</main>
327323

328324
<!-- Footer -->

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
<main id="content" class="main-content">
8888

8989
<!-- =========================== Banner =========================== -->
90-
<section class="blue-bg home-banner">
90+
<section class="blue-bg cta-banner">
9191
<div>
9292
<img src="wp-content/icons/icon_trial.svg" alt="" class="icon-invert">
9393
<a href="https://early-access.ibm.com/software/support/trial/cst/welcomepage.wss?siteId=2047&tabId=5718&w=1" target="_blank" rel="noopener noreferrer">New! IBM IMS Z Trial →</a>

wp-includes/css/page.css

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ a {
300300
/* Content containers */
301301
/* -------------------------------------------------------- */
302302
/* Targets all sections after hero */
303-
.main-content section:not(:first-child) {
303+
.main-content section:not(:first-child):not(.cta-banner) {
304304
padding: 4em;
305305
}
306306

@@ -512,34 +512,43 @@ a {
512512

513513
/* Banner */
514514
/* -------------------------------------------------------- */
515-
.home-banner {
515+
.cta-banner {
516516
display: flex;
517517
flex-flow: row wrap;
518518
align-items: center;
519519
padding: 1em 2em;
520520
background-color: #0072c3;
521521
}
522522

523-
.home-banner div {
523+
.cta-banner div {
524524
display: flex;
525525
align-items: center;
526526
gap: 1em;
527527
}
528528

529-
.home-banner > div:first-of-type {
529+
.cta-banner > div:first-of-type {
530530
margin-right: auto;
531531
}
532532

533-
.home-banner a {
533+
.cta-banner h4 {
534+
padding: 0;
535+
margin: 0;
536+
}
537+
538+
.cta-banner a {
534539
color: var(--white);
535540
font-weight: bold;
536541
font-size: var(--plex-20);
537542
}
538543

539-
.home-banner .icon-sm {
544+
.cta-banner .icon-sm {
540545
margin-bottom: 0;
541546
}
542547

548+
.cta-gold-banner {
549+
padding: 1em 4em;
550+
}
551+
543552
/* Custom styling */
544553
/* -------------------------------------------------------- */
545554
/* For links under headers */
@@ -610,7 +619,7 @@ a {
610619
}
611620

612621
/* Decrease section padding for smaller screens */
613-
.main-content section:not(:first-child) {
622+
.main-content section:not(:first-child):not(.cta-banner) {
614623
padding: 2em;
615624
}
616625

0 commit comments

Comments
 (0)