Skip to content

Commit dfb0b24

Browse files
committed
jquery.com: Update new header to use grid from framework for layout instead of bespoke CSS.
1 parent 662f66c commit dfb0b24

File tree

1 file changed

+6
-29
lines changed

1 file changed

+6
-29
lines changed

themes/jquery.com/style.css

Lines changed: 6 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -12,28 +12,14 @@ a,
1212
color: #333;
1313
}
1414

15-
16-
#banner-secondary {
17-
background: #222;
18-
position: relative;
19-
}
2015
#banner-secondary a {
2116
color: #b3b3b3;
2217
}
2318
#banner-secondary h3 {
2419
color: #7ACEF4;
2520
margin-bottom:0.5em;
2621
}
27-
#banner-secondary .features-box {
28-
width:60%;
29-
float: right;
30-
}
31-
.feature-box {
32-
float:left;
33-
width: 33%;
34-
text-align: center;
35-
padding: 0% 2%;
36-
}
22+
3723
#banner-secondary .features-box p {
3824
font-size: .8em;
3925
line-height: 1em;
@@ -45,6 +31,7 @@ a,
4531
height: 107px;
4632
overflow: hidden;
4733
}
34+
4835
.lightweight-footprint .feature-box-image {
4936
background: url('i/feature-sprites.png') 0px 0px no-repeat;
5037
}
@@ -55,15 +42,6 @@ a,
5542
background: url('i/feature-sprites.png') -278px 0px no-repeat;
5643
}
5744

58-
59-
#banner-secondary .downloads-box {
60-
float: right;
61-
width: 40%;
62-
text-align: center;
63-
}
64-
#banner-secondary .downloads-box h2 {
65-
color: #71D1FF;
66-
}
6745
#banner-secondary .downloads-box span.download {
6846
background: url('i/download.png') 0px 0px;
6947
width: 44px;
@@ -84,19 +62,18 @@ a,
8462
margin-left:5%;
8563
margin-bottom:1em;
8664
}
87-
#banner-secondary .download-main > a {
88-
background: #D18F4F;
89-
color: #FFF;
65+
66+
#content #banner-secondary .download-main > a {
9067
display:block;
91-
padding: 0.1em;
68+
padding: 0 0 .5em 0;
9269
font-size: 2em;
9370
width: 100%;
9471
text-align:center;
9572
text-decoration: none;
9673
}
9774

9875

99-
#banner-secondary .download-main > a span {
76+
#banner-secondary .download-main > a span {
10077
margin-top: 0.2em;
10178
display: block;
10279
font-size: 0.4em;

0 commit comments

Comments
 (0)