Permalink
Browse files

navbar

  • Loading branch information...
1 parent dfb2826 commit 106f458748d6abb4333ab238d69f975555e9b778 andrew kim committed Mar 17, 2012
Showing with 45 additions and 1 deletion.
  1. +20 −0 assets/application.sass
  2. +19 −0 public/css/application.css
  3. +6 −1 views/layout.haml
View
@@ -0,0 +1,20 @@
+body
+ padding-top: 40px
+
+#header
+ color: #444
+ h2
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25)
+ float: left
+ .user-info
+ float: right
+ margin-top: 5px
+ span
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25)
+ font-size: 1.1em
+ top: 3px
+ position: relative
+ img
+ height: 23px
+ border: #AAA solid 1px
+
View
@@ -0,0 +1,19 @@
+body {
+ padding-top: 40px; }
+
+#header {
+ color: #444444; }
+ #header h2 {
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
+ float: left; }
+ #header .user-info {
+ float: right;
+ margin-top: 5px; }
+ #header .user-info span {
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
+ font-size: 1.1em;
+ top: 3px;
+ position: relative; }
+ #header .user-info img {
+ height: 23px;
+ border: #aaaaaa solid 1px; }
View
@@ -19,7 +19,12 @@
%title Bible Community Church
%body
- #container.container
+ #header.navbar.navbar-fixed-top
+ .navbar-inner
+ .container-fluid
+ =haml :_top_nav
+
+ #container.container-fluid
=yield
/Le javascript
%script{:src=>"http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"}

0 comments on commit 106f458

Please sign in to comment.