Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

Commit

Permalink
typographical tweaks to "Amp Your Firefox" promo (bug 878320)
Browse files Browse the repository at this point in the history
  • Loading branch information
cvan committed Jun 10, 2013
1 parent 39df884 commit adf7591
Showing 1 changed file with 35 additions and 13 deletions.
48 changes: 35 additions & 13 deletions media/css/impala/promos.less
Expand Up @@ -532,39 +532,61 @@
}
}

// This is for the "Amp Your Firefox" promo. It'd be nice to use this elsewhere.
@font-face {
font-family: "OpenSansWeb";
src: url("../../css/mkt/fonts/OpenSans-Light-webfont.woff") format("woff");
font-weight: 300;
font-style: normal;
}

#promos #amp-your-firefox {
background: url(../../img/zamboni/discovery_pane/promos/amp_your_firefox.png) 100% 0 no-repeat #FF592D;
padding: 28px 350px 48px 28px;
.border-box();
background: url(../../img/zamboni/discovery_pane/promos/amp_your_firefox.png) 100% 0 no-repeat #FF592D;
font-family: OpenSansWeb, "Open Sans", "Lucida Grande", "Lucida Sans", @sans-stack;
font-weight: 300;
height: 271px;

padding: 28px 350px 48px 28px;
hgroup, .wrap {
padding-left: 10px;
width: 350px;
}
hgroup {
margin: 0 auto;
width: 340px;
}
.wrap {
margin: 12px auto;
}
h2 {
color: #fff;
font-size: 42px;
font-weight: normal;
font-family: inherit;
font-size: 44px;
font-weight: 300;
line-height: 1em;
text-shadow: none;
}
.wrap {
margin: 12px auto;
width: 340px;
}
p {
color: #fff;
font-size: 18px;
line-height: 1.2em;
}
a {
color: #fff;
display: block;
font-size: 22px;
// Big click target :)
margin: -200px -20px;
padding: 200px 20px;
position: relative;
text-decoration: none;
}
a:after {
content: " »";
text-shadow: 0 -1px 1px #666;
z-index: 1;
&:hover {
text-shadow: 0 -1px 1px #000;
}
&:after {
content: " »";
}
}
}

Expand Down

0 comments on commit adf7591

Please sign in to comment.