Skip to content

Commit fc419cf

Browse files
committed
update banner
1 parent e5a24e1 commit fc419cf

2 files changed

Lines changed: 36 additions & 18 deletions

File tree

index.html

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -87,23 +87,17 @@
8787
<main id="content" class="main-content">
8888

8989
<!-- =========================== Banner =========================== -->
90-
<section class="blue-bg banner">
91-
<img src="wp-content/Icon_02_IMS GoldPage.svg" alt="">
92-
<p><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> </p>
93-
<p><a href="https://forms.office.com/r/GVb90wUSXf" target="_blank" rel="noopener noreferrer">IMS modernization survey →</a> </p>
90+
<section class="blue-bg home-banner">
91+
<div>
92+
<img src="wp-content/Icon_02_IMS GoldPage.svg" alt="">
93+
<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>
94+
</div>
95+
<div>
96+
<img src="wp-content/Icon_02_IMS GoldPage.svg" alt="">
97+
<a href="https://forms.office.com/r/GVb90wUSXf" target="_blank" rel="noopener noreferrer">IMS modernization survey →</a>
98+
</div>
9499
</section>
95100

96-
<!-- Banner notification - Two Items -->
97-
<div class="banner-notification pure-g">
98-
<span class="pure-u-1">
99-
<div class="banner-container">
100-
<img src="wp-content/Icon_02_IMS GoldPage.svg" alt="Blog">
101-
<p class="banner-text-left"><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> </p>
102-
<p class="banner-text-right"><a href="https://forms.office.com/r/GVb90wUSXf" target="_blank" rel="noopener noreferrer">IMS modernization survey →</a> </p>
103-
</div>
104-
</span>
105-
</div>
106-
107101
<!-- - Update the Advocacy content block in the Engage section on the homepage -->
108102

109103
<!-- Welcome banner -->

wp-includes/css/page.css

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -404,13 +404,37 @@ h6 {
404404

405405
/* Banner */
406406
/* -------------------------------------------------------- */
407-
.banner {
407+
.home-banner-g {
408+
padding: 1em;
409+
}
410+
411+
.home-banner {
408412
display: flex;
409413
flex-flow: row wrap;
414+
align-items: center;
415+
padding: 2em 2em;
416+
background-color: #0072c3;
410417
}
411418

412-
.banner:last-child {
413-
flex-grow: 1;
419+
.home-banner div {
420+
display: flex;
421+
align-items: center;
422+
gap: 1em;
423+
}
424+
425+
.home-banner > div:first-of-type {
426+
margin-right: auto;
427+
}
428+
429+
430+
.home-banner img {
431+
filter: invert(100%);
432+
}
433+
434+
.home-banner a {
435+
color: var(--white);
436+
font-weight: bold;
437+
font-size: var(--plex-18);
414438
}
415439

416440
/* Custom styling */

0 commit comments

Comments
 (0)