Skip to content

Commit d98d0f9

Browse files
committed
clean up code
1 parent 7471a84 commit d98d0f9

2 files changed

Lines changed: 24 additions & 26 deletions

File tree

ims-internship-2025.html

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -385,16 +385,18 @@ <h3>Two learning tracks</h3>
385385
<div class="pure-u-1 pure-u-md-2-5">
386386
<h2>Don't miss this opportunity to expand your IMS skills!</h2>
387387
</div>
388-
<div class="pure-u-1 pure-u-md-3-5">
388+
<div class="pure-u-1 pure-u-md-3-5 pure-g">
389389
<h4>Space is limited- Reserve your spot today!</h4>
390-
<a
391-
target="_blank"
392-
aria-label="Register now for the IMS Internship"
393-
href="https://www.ibm.com/it-infrastructure/us-en/resources/campaignmail/z/ims/eventsignup.html"
394-
rel="noopener noreferrer"
395-
>
396-
<em>Register now</em>
397-
</a>
390+
<div class="pure-u-1 pure-u-md-1-2 pure-u-xl-1-4">
391+
<a class="button-primary"
392+
onfocus="closeNavMenu()"
393+
target="_blank"
394+
aria-label="Register now for the IMS Internship"
395+
href="https://www.ibm.com/it-infrastructure/us-en/resources/campaignmail/z/ims/eventsignup.html"
396+
rel="noopener noreferrer">
397+
Register now
398+
</a>
399+
</div>
398400
</div>
399401
</section>
400402

@@ -445,7 +447,7 @@ <h4>What topics will be covered?</h4>
445447
<i>link to tentative schedule</i>
446448
</p>
447449
</div>
448-
<div class="pure-u-1 pure-u-md-1-2">
450+
<div class="pure-u-1">
449451
<h4>Still have questions? Contact Amanda Stephens: <a href="mailto:amanda.stephens@ibm.com"><em>amanda.stephens@ibm.com</em></a></h4>
450452
</div>
451453
</div>

wp-includes/css/page.css

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,7 @@
7171

7272
.dark-gray-bg a {
7373
color: var(--light-blue-02);
74-
font-size: var(--plex-18);
7574
}
76-
7775
/* -------------------------------------------------------- */
7876

7977
/* Icons */
@@ -96,7 +94,7 @@
9694
.button-primary {
9795
color: var(--white) !important;
9896
background-color: var(--blue);
99-
padding: var(--plex-16) var(--plex-24);
97+
padding: 1em 1.5em;
10098
box-sizing: border-box;
10199
line-height: var(--plex-24);
102100
width: 100%;
@@ -105,13 +103,10 @@
105103
.button-primary:hover {
106104
background-color: var(--light-blue-01);
107105
}
108-
109106
/* -------------------------------------------------------- */
110107

111-
112108
/* Main */
113109
/* -------------------------------------------------------- */
114-
115110
.main-content p {
116111
font-size: var(--plex-18);
117112
line-height: var(--plex-24);
@@ -120,7 +115,6 @@
120115
.main-content h2 {
121116
font-size: var(--plex-36);
122117
}
123-
124118
/* -------------------------------------------------------- */
125119

126120
/* Hero section */
@@ -148,27 +142,26 @@
148142
}
149143

150144
.hero a {
151-
max-width: var(--plex-180);
152-
margin-top: var(--plex-20);
145+
max-width: 11.25em;
146+
margin-top: 1.25em;
153147
}
154148

155149
.hero-container {
156150
padding: 3em;
157-
position: relative;
158151
}
159152
/* -------------------------------------------------------- */
160153

161-
/* Content container */
154+
/* Content containers */
162155
/* -------------------------------------------------------- */
163-
.content-container {
156+
/* Targets all sections after hero */
157+
.main-content section:not(:first-child) {
164158
padding: 4em;
165-
position: relative;
166-
}
159+
}
167160

161+
/* For pure grid units requiring paddings */
168162
.content-grid > div {
169163
padding: 1.2em;
170164
}
171-
172165
/* -------------------------------------------------------- */
173166

174167
/* Media queries */
@@ -177,7 +170,10 @@
177170
.main-content h2 {
178171
font-size: var(--plex-28);
179172
}
180-
173+
174+
.content-grid > div {
175+
padding: 0.4em;
176+
}
181177
}
182178
/* -------------------------------------------------------- */
183179

0 commit comments

Comments
 (0)