Skip to content

Commit 3702953

Browse files
committed
homepage hero section grid fix
1 parent 171a3a6 commit 3702953

2 files changed

Lines changed: 31 additions & 13 deletions

File tree

index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,21 +99,21 @@
9999
</section>
100100

101101
<!-- =========================== Hero =========================== -->
102-
<section class="black-bg pure-g">
103-
<div class="pure-u-md-12-24">
104-
<div class="vertical-g homepage-hero">
102+
<section class="black-bg">
103+
<div class="homepage-hero">
104+
<div class="section-header">
105105
<h1>IBM <b>IMS Central</b></h1>
106106
<p>Welcome! IMS™ Central is your hub for all things IMS.</p>
107107
<p>Build your skills, find documentation, get help, and engage with the team.</p>
108-
</div>
109108
</div>
110-
<div class="pure-u-md-12-24 gif">
109+
<div class="gif">
111110
<a href="https://mediacenter.ibm.com/media/Intro+to+IMS+-+What+is+IMSF/0_beoagp8k/139456202"
112111
target="_blank" rel="noopener noreferrer" aria-label="Watch Intro to IMS">
113112
<img src="wp-content/introIMS.png" class="gif-cover" alt="Intro to IMS video preview">
114113
<img src="wp-content/introIMSclip.gif" class="gif-video" alt="Intro to IMS video preview">
115114
</a>
116115
</div>
116+
</div>
117117
</section>
118118

119119
<!-- =========================== Learn =========================== -->

wp-includes/css/page.css

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -333,14 +333,6 @@ h6 {
333333
.hr-container {
334334
padding: 2em 0em 3em 0em;
335335
}
336-
337-
/* Format vertical group */
338-
.vertical-g {
339-
display: flex;
340-
flex-flow: column nowrap;
341-
justify-content: center;
342-
height: 100%;
343-
}
344336
/* -------------------------------------------------------- */
345337

346338
/* Quotations */
@@ -508,8 +500,17 @@ h6 {
508500
}
509501

510502
/* Index hero */
503+
.homepage-hero {
504+
display: flex;
505+
flex-flow: row nowrap;
506+
gap: 2em;
507+
align-items: center;
508+
justify-content: center;
509+
}
510+
511511
.homepage-hero h1 {
512512
font-size: var(--plex-48);
513+
line-height: var(--plex-20);
513514
}
514515

515516
.homepage-hero p {
@@ -554,6 +555,23 @@ h6 {
554555
.dark-gray-bg h4 {
555556
font-size: var(--plex-20) !important;
556557
}
558+
559+
/* Index hero */
560+
.homepage-hero {
561+
flex-flow: row wrap;
562+
}
563+
564+
.homepage-hero .section-header {
565+
display: flex;
566+
flex-flow: column wrap;
567+
justify-content: center;
568+
align-items: center;
569+
padding-right: 0;
570+
}
571+
572+
.homepage-hero h1 {
573+
font-size: var(--plex-36);
574+
}
557575
}
558576

559577
/* 1024px and below screen sizes */

0 commit comments

Comments
 (0)