Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

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

Merged
merged 1 commit into from over 2 years ago

2 participants

Dave Gregory Estelle Weyl
Dave Gregory

No description provided.

Estelle Weyl estelle merged commit af263bb into from January 17, 2012
Estelle Weyl estelle closed this January 17, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Jan 18, 2012
Dave Gregory Added rotation so the banner looks stamped on b36deda
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  stopsopa2.js
4  stopsopa2.js
@@ -13,8 +13,8 @@ var stopsopa = {
13 13
         for (var i in pageAry) {
14 14
             pageAry[i].setAttribute("style", "background:white;height:100%;font-family:Arial, sans-serif;");
15 15
         }
16  
-        //stopsopa.pagebody.setAttribute("style", "background:white;height:100%;");
17  
-        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;");
  16
+        stopsopa.pagebody.setAttribute("style", "background:white;height:100%;");
  17
+        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);");
18 18
         stopsopa.pagebody.innerHTML = "";
19 19
         footer.setAttribute("style", "background:black;color:yellow;font-size:15px;position:absolute;bottom:0;width:100%;text-align:center;display:block;padding:10px;");
20 20
         footer.setAttribute("href", "http://www.mozilla.org/sopa/");
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.