Skip to content
Browse files

Removed trailing whitespace.

  • Loading branch information...
1 parent 2ffed62 commit 392bb72ccc30bc93c051ec6e8f8537a84b9afd78 Mike Bourgeous committed Jan 15, 2012
Showing with 6 additions and 6 deletions.
  1. +6 −6 index.html
View
12 index.html
@@ -49,7 +49,7 @@
#sopa-box #sopabox-text {
font-size: 100px;
color: transparent;
- text-shadow: black 0px -45.2px 19px;
+ text-shadow: black 0px -45.2px 19px;
}
#sopa-box #sopabox-link a {
@@ -136,7 +136,7 @@
</head>
<body>
-
+
<div id="sopa-box">
<div id="sopabox-box"></div>
<p id="sopabox-text">STOP SOPA!</p>
@@ -156,7 +156,7 @@
*
* Fork it on GitHub: https://github.com/zachstronaut/stop-sopa
*/
-
+
/**
* Modified by Mike Bourgeous - still in the public domain.
* https://github.com/nitrogenlogic/stop-sopa
@@ -175,7 +175,7 @@
spot = document.getElementById('sopabox-spot');
box = document.getElementById('sopabox-box');
pagelink = document.getElementById('stop-sopa-link');
-
+
if (typeof box.style.webkitBoxShadow == 'string') {
boxProperty = 'webkitBoxShadow';
} else if (typeof box.style.MozBoxShadow == 'string') {
@@ -219,11 +219,11 @@
var ym = (e.clientY - Math.floor(window.innerHeight / 3)) * 0.4;
var d = Math.round(Math.sqrt(xm*xm + ym*ym) / 5);
text.style.textShadow = -xm + 'px ' + -ym + 'px ' + (d + 10) + 'px black';
-
+
if (boxProperty) {
box.style[boxProperty] = -xm + 'px ' + (16 - ym) + 'px ' + (d + 30) + 'px 16px black';
}
-
+
xm = e.clientX - Math.floor(window.innerWidth / 2);
ym = e.clientY - Math.floor(window.innerHeight / 2);
spot.style.backgroundPosition = xm + 'px ' + ym + 'px';

0 comments on commit 392bb72

Please sign in to comment.
Something went wrong with that request. Please try again.