Skip to content

Commit a62b646

Browse files
committed
update styling to fix spacing, sizing issues
1 parent c1948e2 commit a62b646

2 files changed

Lines changed: 42 additions & 18 deletions

File tree

ims-apis.html

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@
6464
href="wp-includes/css/homepage.css" />
6565
<link rel="stylesheet" href="wp-includes/css/nav.css" />
6666
<link rel="stylesheet" href="wp-includes/css/dropnav.css" />
67-
<link href="wp-includes/css/pages/apis.css" rel="stylesheet" />
6867
<link rel="stylesheet" href="wp-includes/css/page.css" />
6968

7069
<!-- Hotjar Tracking Code for ibm.com/demos & githhub -->
@@ -112,7 +111,8 @@
112111
name="IBM z/OS Connect"
113112
image="wp-content/icons/icon_zos_connect.svg"
114113
section="Innovate"
115-
desc="Create and deploy RESTful APIs that access IMS™ applications and data in minutes with point and click Eclipse tooling."></hero-section>
114+
desc="Create and deploy RESTful APIs that access IMS™ applications and data in minutes with point and click Eclipse tooling.">
115+
</hero-section>
116116

117117
<!-- =========================== Call APIs from Z =========================== -->
118118
<section class="white-bg pure-g">
@@ -130,8 +130,8 @@ <h2>Call APIs from Z</h2>
130130
</a>
131131
</div>
132132
<div class="pure-u-1">
133-
<div class="pure-g pure-g-pad">
134-
<div class="pure-u-1 pure-u-lg-1-2">
133+
<div class="pure-g pure-g-pad-wd">
134+
<div class="pure-u-1 pure-u-md-1-2">
135135
<h4>Designed for DevOps</h4>
136136
<p>
137137
Drive agility across your development teams with parallel
@@ -148,7 +148,7 @@ <h4>Designed for DevOps</h4>
148148
>Learn more →</a
149149
>
150150
</div>
151-
<div class="pure-u-1 pure-u-lg-1-2">
151+
<div class="pure-u-1 pure-u-md-1-2">
152152
<h4>Monitor end-to-end API requests</h4>
153153
<p>
154154
Keep all your IBM z/OS Connect APIs running smoothly using tools
@@ -169,7 +169,7 @@ <h4>Monitor end-to-end API requests</h4>
169169
Learn more about Splunk and IBM z/OS Connect →</a
170170
>
171171
</div>
172-
<div class="pure-u-1 pure-u-lg-1-2">
172+
<div class="pure-u-1 pure-u-md-1-2">
173173
<h4>Enterprise-ready security</h4>
174174
<p>
175175
Scale to over 100m API requests per day across highly available
@@ -186,7 +186,7 @@ <h4>Enterprise-ready security</h4>
186186
>Learn more →</a
187187
>
188188
</div>
189-
<div class="pure-u-1 pure-u-lg-1-2">
189+
<div class="pure-u-1 pure-u-md-1-2">
190190
<h4>Active 3rd party ecosystem</h4>
191191
<p>
192192
IBM z/OS Connect is pluggable and extensible, offering 3rd party
@@ -276,7 +276,7 @@ <h2>Case studies</h2>
276276
</div>
277277
<div class="pure-u-1 pure-u-md-3-4">
278278
<div class="pure-g pure-g-pad">
279-
<div class="pure-u-1 pure-u-sm-1-2">
279+
<div class="pure-u-1 pure-u-lg-1-2">
280280
<h3>
281281
Efficient, low-risk modernization of core banking applications
282282
</h3>
@@ -287,7 +287,7 @@ <h3>
287287
<div>
288288
<img
289289
src="wp-content/Icon_Atruvia_z OS ConnectPage.svg"
290-
alt="Atruvia logo" />
290+
alt="Atruvia logo" class="pure-pad-v"/>
291291
</div>
292292
<a
293293
target="_blank"
@@ -297,7 +297,7 @@ <h3>
297297
Read the case study →</a
298298
>
299299
</div>
300-
<div class="pure-u-1 pure-u-sm-1-2">
300+
<div class="pure-u-1 pure-u-lg-1-2">
301301
<img
302302
src="wp-content/images/atruvia-casestudy.png"
303303
alt="Buildings"
@@ -314,8 +314,8 @@ <h3>
314314
<h2>On-demand webinars</h2>
315315
</div>
316316
<div class="pure-u-1 pure-u-md-3-4">
317-
<div class="pure-g pure-g-pad">
318-
<div class="pure-u-1 pure-u-sm-1-2">
317+
<div class="pure-g pure-g-pad-btm">
318+
<div class="pure-u-1 pure-u-lg-1-2">
319319
<div class="pure-g">
320320
<div class="pure-u-1-5 pure-u-md-1">
321321
<img
@@ -340,7 +340,7 @@ <h3>A look at APIs on IBM Z</h3>
340340
</div>
341341
</div>
342342
</div>
343-
<div class="pure-u-1 pure-u-sm-1-2">
343+
<div class="pure-u-1 pure-u-lg-1-2">
344344
<div class="pure-g">
345345
<div class="pure-u-1-5 pure-u-md-1">
346346
<img
@@ -375,10 +375,10 @@ <h3>
375375
<hr />
376376
</div>
377377
<!-- =========================== Communities =========================== -->
378-
<div class="pure-u-1 pure-u-md-1-4 section-header">
378+
<div class="pure-u-1 pure-u-lg-1-4 section-header">
379379
<h2>Communities</h2>
380380
</div>
381-
<div class="pure-u-1 pure-u-md-3-4">
381+
<div class="pure-u-1 pure-u-lg-3-4">
382382
<div class="pure-g pure-g-pad">
383383
<div class="pure-u-1 pure-u-sm-1-2">
384384
<div class="pure-g">

wp-includes/css/page.css

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -321,12 +321,23 @@ a {
321321
.pure-g-pad-v > div {
322322
padding: 2em 4em 2em 0em;
323323
}
324+
/* For pure grid units requiring wider padding */
325+
.pure-g-pad-wd > div {
326+
padding: 3em 3em 0em 0em;
327+
}
328+
.pure-g-pad-btm > div {
329+
padding: 1.2em 1.2em 2em 1.2em;
330+
}
324331

325332
/* For individual pure grid units requiring paddings */
326333
.pure-pad {
327334
padding: 1.2em;
328335
}
329336

337+
.pure-pad-v {
338+
padding: 1.2em 0;
339+
}
340+
330341
.pure-pad-r {
331342
padding: 1.2em 1.2em 1.2em 0em;
332343
}
@@ -546,7 +557,7 @@ a {
546557

547558
.img-md {
548559
width: 100%;
549-
max-width: 20em;
560+
padding: 1em 0;
550561
}
551562

552563
/* Index hero */
@@ -599,10 +610,15 @@ a {
599610
.pure-g-pad > div {
600611
padding: 0.4em;
601612
}
602-
603613
.pure-g-pad-v > div {
604614
padding: 0.4em;
605615
}
616+
.pure-g-pad-wd > div {
617+
padding: 2em 0.4em 0em 0em;
618+
}
619+
.pure-g-pad-btm > div {
620+
padding: 0.4em;
621+
}
606622

607623
/* Decrease highlight link padding for smaller screens */
608624
.highlight-link {
@@ -647,7 +663,7 @@ a {
647663
}
648664
}
649665

650-
/* 1024px and 768px screen sizes */
666+
/* 768px to 1024px screen sizes */
651667
@media screen and (min-width: 48em) and (max-width: 64em) {
652668
.pure-u-xl-11-24 > .gif {
653669
display: block;
@@ -669,6 +685,14 @@ a {
669685
height: 100%;
670686
margin: 1em 1em 0em 1em;
671687
}
688+
689+
.img-md {
690+
width: 100%;
691+
max-height: 17em;
692+
padding: 0;
693+
object-fit: cover;
694+
object-position: bottom;
695+
}
672696
}
673697
/* -------------------------------------------------------- */
674698

0 commit comments

Comments
 (0)