Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Added css3 rotate to give the banner a "stamped on" look and feel. #3

Merged
merged 1 commit into from

2 participants

Dave Gregory Estelle Weyl
Dave Gregory

No description provided.

Estelle Weyl estelle merged commit af263bb into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 19, 2012
  1. Dave Gregory
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 stopsopa2.js
4 stopsopa2.js
View
@@ -13,8 +13,8 @@ var stopsopa = {
for (var i in pageAry) {
pageAry[i].setAttribute("style", "background:white;height:100%;font-family:Arial, sans-serif;");
}
- //stopsopa.pagebody.setAttribute("style", "background:white;height:100%;");
- div.setAttribute("style", "width:100%;text-align:center;font-size:130px;color:red;text-transform:uppercase;white-space:nowrap;font-family:arial, san-serif;font-weight:bold;background:black;padding:50px 20px;line-height:1.2em;position:absolute;top:50%;margin-top:-100px;");
+ stopsopa.pagebody.setAttribute("style", "background:white;height:100%;");
+ div.setAttribute("style", "width:130%;text-align:center;font-size:130px;color:red;text-transform:uppercase;white-space:nowrap;font-family:arial, san-serif;font-weight:bold;background:black;padding:50px 20px;line-height:1.2em;position:absolute;top:30%;left:-15%;margin-top:-100px;-webkit-transform: rotate(-10deg);-moz-transform: rotate(-10deg);");
stopsopa.pagebody.innerHTML = "";
footer.setAttribute("style", "background:black;color:yellow;font-size:15px;position:absolute;bottom:0;width:100%;text-align:center;display:block;padding:10px;");
footer.setAttribute("href", "http://www.mozilla.org/sopa/");
Something went wrong with that request. Please try again.