Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
Removed trailing whitespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Bourgeous authored and Mike Bourgeous committed Jan 16, 2012
1 parent 2ffed62 commit 392bb72
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions index.html
Expand Up @@ -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 {
Expand Down Expand Up @@ -136,7 +136,7 @@

</head>
<body>

<div id="sopa-box">
<div id="sopabox-box"></div>
<p id="sopabox-text">STOP SOPA!</p>
Expand All @@ -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
Expand All @@ -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') {
Expand Down Expand Up @@ -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';
Expand Down

0 comments on commit 392bb72

Please sign in to comment.