Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Adds better social icons and tightens up the CSS

  • Loading branch information...
commit 1d5a1776080d241af10df6f817b31e1c87d23b9a 1 parent 0ea8c5d
@TheDahv TheDahv authored
View
6 package.json
@@ -10,8 +10,8 @@
"mongoose-auth": "= 0.0.11",
"underscore": ">= 1.1.6",
"markdown": ">= 0.2.1",
- "passport":"*",
- "passport-twitter":"*",
- "passport-github":"*"
+ "passport":"= 0.1.5",
+ "passport-twitter":"= 0.1.0",
+ "passport-github":"= 0.1.0"
}
}
View
BIN  public/images/github.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  public/images/twitter.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
42 public/stylesheets/style.styl
@@ -34,6 +34,11 @@ article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section
display block
+image-shadow()
+ -moz-box-shadow 0px 3px 3px #666
+ -webkit-box-shadow 0px 3px 3px #666
+ box-shadow 0px 3px 3px #666
+
body
background-color #f3f4eb;
font-family 'Arvo', arial, serif
@@ -95,17 +100,6 @@ header
a
color #f4ac00
-#other_logins
- height 200px
- width 500px
- margin-top 20px
- display block
- margin 0 auto
-
-.loginMethod
- margin-left 100px
- float left
-
/* Calendar area */
#calendar_container
text-align center
@@ -140,11 +134,20 @@ nav ul
margin 0 auto
text-align center
- img
- -moz-box-shadow 0px 3px 3px #666
- -webkit-box-shadow 0px 3px 3px #666
- box-shadow 0px 3px 3px #666
+#other_logins
+ height 200px
+ width 500px
+ margin-top 20px
+ display block
+ margin 0 auto
+
+#login_methods
+ text-align center
+ margin 0 auto
+.loginMethod
+ display inline-block
+ margin 0 50px
#content_text
text-align left
@@ -155,6 +158,7 @@ nav ul
#home_image
float right
margin-left 16px
+ image-shadow()
#motto
padding-top 16px
@@ -192,9 +196,10 @@ nav ul
-moz-box-shadow 0px 3px 3px #666
-webkit-box-shadow 0px 3px 3px #666
box-shadow 0px 3px 3px #666
-
-.vcard .photo
- float left
+ img
+ float left
+ image-shadow()
+
.vcard .name
float left
vertical-align middle
@@ -219,6 +224,7 @@ form
text-align left
img
float right
+ image-shadow()
label
font-size .8em
.projects_list
View
18 views/sessions/login.jade
@@ -5,13 +5,11 @@
#other_logins
h1 Log In
- p Already have an account with one of these fine providers? Hit the button to log in or create a new account with Beer&&Code.
- .loginMethod
- a(href='/login/twitter')
- img(src='/images/twitter.png', alt='log in with twitter')
- .loginMethod
- a(href='/login/github')
- img(src='/images/github.png', alt='log in with github')
-
-div
- TODO: Hook this up to twitter: I can't believe _favorite provider here_ isn't listed!
+ #login_methods
+ .loginMethod
+ a(href='/login/twitter')
+ img(src='/images/twitter.png', alt='log in with twitter')
+ .loginMethod
+ a(href='/login/github')
+ img(src='/images/github.png', alt='log in with github')
+ br(style='clear: both;')
Please sign in to comment.
Something went wrong with that request. Please try again.