summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2013-01-24 15:45:44 -0500
committerJules Laplace <jules@okfoc.us>2013-01-24 15:45:44 -0500
commit704c2d7bf8dad10997ae143a575d9432519ff771 (patch)
treefde1374e630d5a66e1126788b6e2b0796d2d82ff
parent8ae0a6a621ccdf300287c6a30aedb863a3184852 (diff)
cursor order
-rw-r--r--app.js2
-rw-r--r--public/stylesheets/style.css1
-rw-r--r--views/index.ejs17
3 files changed, 10 insertions, 10 deletions
diff --git a/app.js b/app.js
index cab9f7a..2b1bfce 100644
--- a/app.js
+++ b/app.js
@@ -158,7 +158,7 @@ io.sockets.on('connection', function (socket) {
});
}
socket.emit('scores', {
- 'scores': scores,
+ 'scores': scores.reverse(),
'users': users
})
});
diff --git a/public/stylesheets/style.css b/public/stylesheets/style.css
index 93585a3..a01b355 100644
--- a/public/stylesheets/style.css
+++ b/public/stylesheets/style.css
@@ -395,6 +395,7 @@ header {
color: #333;
font-family: 'Julius Sans One', sans-serif;
z-index:2;
+ text-shadow: 0 0 5px #fff, 0 0 4px #fff, 0 0 4px #fff, 0 0 4px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 2px #fff, 0 0 1px #fff;
}
.cursor div.name {
left: 29px;
diff --git a/views/index.ejs b/views/index.ejs
index d3fb6af..728be67 100644
--- a/views/index.ejs
+++ b/views/index.ejs
@@ -47,15 +47,14 @@
<p>currently waiting</p>
<ol id="users"></ol>
-->
-<header>
- <h3>high scores</h3>
- <ol id="scores"></ol>
- <% if (!currentUser) { %>
- <a href="/auth/facebook"class="fbutton"></a><br>
- <% } %>
- <a target="_blank" href="http://okfoc.us/"class="okfocus"><img src="/images/okfocus_logo.png" alt="OKFocus"></a>
-
-</header>
+ <header>
+ <h3>high scores</h3>
+ <ol id="scores"></ol>
+ <% if (!currentUser) { %>
+ <a href="/auth/facebook"class="fbutton"></a><br>
+ <% } %>
+ </header>
+ <a target="_blank" href="http://okfoc.us/"class="okfocus"><img src="/images/okfocus_logo.png" alt="OKFocus"></a>
<div id="cursors"></div>
</body>