Permalink
Browse files

add the logo

  • Loading branch information...
1 parent c30b28f commit 298f4705af4f229aefb842d53b23a4aecc032fc0 @dwcares committed Oct 3, 2015
Showing with 7 additions and 5 deletions.
  1. +2 −1 app.js
  2. +5 −4 public/default.css
  3. BIN public/img/chesslogo.jpg
View
@@ -12,6 +12,7 @@ var activeGames = {};
app.get('/', function(req, res) {
res.sendFile(__dirname + '/public/index.html');
+
});
app.get('/dashboard/', function(req, res) {
@@ -20,7 +21,7 @@ app.get('/dashboard/', function(req, res) {
io.on('connection', function(socket) {
console.log('new connection ' + socket);
-
+
socket.on('login', function(userId) {
console.log(userId + ' joining lobby');
socket.userId = userId;
View
@@ -19,6 +19,10 @@ body {
.page.login .logo {
display: block;
background-color: lightgray;
+ background-image: url('/img/chesslogo.jpg');
+ background-size: cover;
+ background-position: center center;
+
margin-bottom: 50px;
width: 350px;
@@ -33,6 +37,7 @@ body {
.page.login input {
margin-bottom: 20px;
+ width: 202px;
height: 25px;
font-size: 12pt;
padding: 2px;
@@ -42,10 +47,6 @@ body {
border-radius: 5px;
}
-.page.lobby {
-
-}
-
.page.lobby h2 {
color: darkgrey;
}
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 298f470

Please sign in to comment.