Skip to content

Commit 3d6f66c

Browse files
committed
jQuery.org: Update styles for member join page and add Projects link to header
Closes gh-310
1 parent 7482192 commit 3d6f66c

File tree

2 files changed

+32
-5
lines changed

2 files changed

+32
-5
lines changed

themes/jquery.org/style.css

Lines changed: 31 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -205,11 +205,8 @@ ul.flex-direction-nav {
205205
}
206206

207207
.member-level {
208-
width: 48%;
209-
float: left;
210-
display: inline;
211-
margin-right: 2%;
212-
background: url(../jquery/images/dark-grey-tile.png);
208+
margin-bottom: 20px;
209+
background-color: #222;
213210
position: relative;
214211
overflow: hidden;
215212
}
@@ -248,6 +245,23 @@ ul.flex-direction-nav {
248245
background: url(images/icn-hero.png) center top no-repeat;
249246
}
250247

248+
.corporate-level {
249+
margin-bottom: 20px;
250+
position: relative;
251+
padding: 15px;
252+
color: #f3f3f3;
253+
}
254+
255+
.corporate-level .corporate-header {
256+
min-height: 75px;
257+
}
258+
259+
.corporate-level .corporate-header img {
260+
position: absolute;
261+
left: 50%;
262+
margin-left: -150px;
263+
}
264+
251265
#content .member-level h3 {
252266
background-color: rgba(0, 0, 0, 0.66);
253267
color: #ffffff;
@@ -257,6 +271,18 @@ ul.flex-direction-nav {
257271
font-weight: bold;
258272
}
259273

274+
.member-level .corporate-level p {
275+
float: none;
276+
}
277+
278+
.member-level .corporate-level p strong {
279+
color: #f3f3f3;
280+
}
281+
282+
#content .member-level .corporate-level ul {
283+
margin-bottom: 10px;
284+
}
285+
260286
.errors li {
261287
color: #a00;
262288
}

themes/jquery/menu-header.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ function menu_header_sizzlejs_com() {
8888
function menu_header_jquery_org() {
8989
return array(
9090
'https://jquery.org/' => 'Home',
91+
'https://jquery.org/projects/' => 'Projects',
9192
'https://jquery.org/join/' => 'Join',
9293
'https://jquery.org/members/' => 'Members',
9394
'https://jquery.org/sponsors/' => 'Sponsors',

0 commit comments

Comments
 (0)