Skip to content

Commit 32842d2

Browse files
committed
jquerymobile.com: deduplicate banner styles
* Fix margin being incorrect. It currently obscures part of the site navigation due to margin-top:20px, whereas ``#banner-secondary` uses a different amount based on the viewport width, which in turn corresponds to the content area padding being the same amount as well. * Fix link being dark green instead of light blue (as taken care of by `#banner-secondary a`).
1 parent 7b0e201 commit 32842d2

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

themes/jquerymobile.com/style.css

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -29,24 +29,8 @@ a, .title, .entry-title { color: #108040; }
2929
padding-right: 362px;
3030
}
3131

32-
#banner-jquery-mobile-no-support {
33-
background-image: url(../jquery/images/dark-grey-tile.png);
34-
color: #fff;
32+
.banner-jquery-mobile-no-support {
3533
text-align: center;
36-
margin: -25px;
37-
padding: 20px;
38-
}
39-
40-
#banner-jquery-mobile-no-support h2 {
41-
color: #fff;
42-
font-size: 36px;
43-
line-height: 42px;
44-
}
45-
46-
#banner-jquery-mobile-no-support p {
47-
font: 22px/26px "Helvetica Neue", Helvetica, Arial, Geneva, sans-serif;
48-
padding-left: 15%;
49-
padding-right: 15%;
5034
}
5135

5236
.content-full #content #banner-secondary h1 {

0 commit comments

Comments
 (0)