From d315a33600642d220d64759f8d3909b8a1a8ef3c Mon Sep 17 00:00:00 2001 From: ec2-user Date: Sun, 20 Nov 2011 03:41:20 +0000 Subject: [PATCH] styling fixes, login, removed donate temp --- public/assets/css/screen.css | 43 +++++++++++++++++- public/index.html | 85 +++++------------------------------- public/javascripts/main.js | 2 +- 3 files changed, 53 insertions(+), 77 deletions(-) diff --git a/public/assets/css/screen.css b/public/assets/css/screen.css index bf2b71a..c2a3e5d 100755 --- a/public/assets/css/screen.css +++ b/public/assets/css/screen.css @@ -314,7 +314,8 @@ body { margin-bottom: 0; } .content { - background-color: #fff; } + background-color: #fff; + padding: 1em 3%; } /* 2.`navigation ============================================== */ @@ -569,3 +570,43 @@ body { .centered-rt-parent { margin: 0 auto; } + + + + +#messages { + text-align: center; + background: #adf; + color: black; + font-weight: bold; + padding: 0.5em 0; +} + +div.school { + + cursor: pointer; cursor: hand; + margin: 1%; + padding: 2%; + border: solid 1px #888; + -moz-border-radius: 0.20em; + -webkit-border-radius: 0.20em; + -webkit-box-shadow: 0 0.2em 0.3em rgba(0, 0, 0, .1); + -moz-box-shadow: 0 0.2em 0.3em rgba(0, 0, 0, .1); + /* + */ +} + +div.school div.name { + font-weight: bold; + font-size: 120%; + margin: 0 0; +} + +div.school div.desc { + font-size: 90%; + color: #888; + font-style: italic; + margin: 0 0; +} + + diff --git a/public/index.html b/public/index.html index 9a5d778..60cdacb 100755 --- a/public/index.html +++ b/public/index.html @@ -6,8 +6,6 @@ - - @@ -26,11 +24,10 @@
-
@@ -54,83 +50,22 @@
- - - +
- - - - -

Welcome to FinalsClub! Collaborate. Learn. Share.

diff --git a/public/javascripts/main.js b/public/javascripts/main.js index 6607b07..0795f37 100644 --- a/public/javascripts/main.js +++ b/public/javascripts/main.js @@ -46,7 +46,7 @@ var router = { function render(pageId, response) { if (user.name) { - $('.username').text(user.name); + $('.username').text("Hi, "+user.name+"!"); $("#login_status").show(); $('#login_link').text('Logout').attr('href', '/logout'); $('#register_link').hide(); -- 2.25.1