Skip to content

Commit 0a353ae

Browse files
committed
jquery.com: Add sprite/styles for basic Who's Using section of new home page, remove legacy sprite
1 parent 7f33293 commit 0a353ae

File tree

3 files changed

+28
-0
lines changed

3 files changed

+28
-0
lines changed
-13.6 KB
Binary file not shown.
27.2 KB
Loading

themes/jquery.com/style.css

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

15+
/* Home Page */
16+
1517
#banner-secondary a,
1618
#banner-secondary a:hover {
1719
color: #b3b3b3;
@@ -26,6 +28,7 @@ a,
2628
line-height: 1em;
2729
padding: 0;
2830
}
31+
2932
.feature-box-image {
3033
margin: 0 auto 1em auto;
3134
width: 120px;
@@ -99,12 +102,37 @@ a,
99102

100103
#sidebar {
101104
padding-top: 0;
105+
margin-bottom: 20px;
102106
}
103107

104108
#sidebar li a {
105109
display: inline;
106110
}
107111

112+
#content #whos-using li {
113+
background: none;
114+
}
115+
116+
#whos-using li a {
117+
background: url('i/whos-using-sprite.png') 0px 0px no-repeat;
118+
display: block;
119+
height: 80px;
120+
text-indent: -9999px;
121+
}
122+
123+
#whos-using li a.mediatemple {
124+
background-position-y: -80px;
125+
}
126+
127+
#whos-using li a.backbone {
128+
background-position-y: -160px;
129+
}
130+
131+
#whos-using li a.wikipedia {
132+
background-position-y: -240px;
133+
}
134+
135+
108136
/* Browser Support */
109137

110138
#support-matrix {

0 commit comments

Comments
 (0)