Permalink
Browse files

background photo only on homepage now

  • Loading branch information...
1 parent 31af3bd commit 8a326e98ebc3c56ec454214f00a841e318145e3c @kimballfrank kimballfrank committed Nov 3, 2012
Showing with 51 additions and 16 deletions.
  1. +38 −4 webapp/public/css/kitchenly.css
  2. +5 −4 webapp/views/index.jade
  3. +1 −1 webapp/views/layout.jade
  4. +7 −7 webapp/views/search.jade
@@ -12,9 +12,25 @@ body.has-bg-photo {
-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='myBackground.jpg', sizingMethod='scale')";*/
}
+.bg-img {
+ position: absolute;
+ z-index: -1;
+ min-width: 420px;
+ width: 100%;
+ height: 100%;
+ background: url('../img/cooking-woman.jpg')no-repeat center center fixed;
+ -webkit-background-size: cover;
+ -moz-background-size: cover;
+ -o-background-size: cover;
+ background-size: cover;
+ /*filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='.myBackground.jpg', sizingMethod='scale');
+ -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='myBackground.jpg', sizingMethod='scale')";*/
+}
+
.site-header {
background: #A02654;
height: 68px;
+
}
.kitchenly-branding {
@@ -62,7 +78,11 @@ h2.description {
}
#user-nav {
- margin-top: 15px;
+ margin-top: 16px;
+}
+
+#user-nav li {
+ margin-left: 9px;
}
#user-nav li a {
@@ -112,11 +132,15 @@ h4.result-title {
margin-right: 7px;
}
-#navbar-main {
- margin-top: 24px;
+#navbar-main {
clear: both;
}
+#navbar-secondary {
+ clear: both;
+ margin-top: 20px;
+}
+
#navbar-main .navbar-inner {
padding-right: 0px;
}
@@ -153,12 +177,22 @@ h4.result-title {
background: #2B2B29;
margin-left: 0px;
padding: 20px;
- margin-bottom: 20px;
+ margin-bottom: 68px;
}
#guest-number-picker .btn{
width: 160px;
text-align: left;
+}
+
+a.social-link {
+text-decoration: none;
+font-size: 30px;
+color: #fff;
+}
+
+a:hover.social-link {
+ color: #44A1E1;
}
@@ -1,6 +1,6 @@
//h1= title
//p Deving #{title}
-
+div.bg-img
header.site-header
div.container
h1.kitchenly-branding.tk-mic-32-new-web.pull-left
@@ -11,8 +11,6 @@ header.site-header
a.sign-up-link(href='/') Sign Up
li.pull-left
a.sign-in-link(href='/') Login
-
-
div.page-contain.container
div.homepage-feature.span5
@@ -52,7 +50,10 @@ div.page-contain.container
a(href="#") 8 Guests
button.btn.btn-primary.btn-large.pull-left(type="submit") Search for Dinner
-
+div.rule
+div.footer
+ a.ss-icon.ss-social.social-link(href="#") facebook
+ a.ss-icon.ss-social.social-link(href="#") twitter
block scripts
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="scripts/vendor/jquery/jquery-1.7.1.min.js"><\/script>')</script>
@@ -13,4 +13,4 @@ html.no-js
<script type="text/javascript" src="//use.typekit.net/jnr8raz.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
- body.has-bg-photo!= body
+ body!= body
@@ -4,20 +4,20 @@ header.site-header(role="page-header")
a(href="/") kitchen.ly
div.page-contain.container
- div.navbar.navbar-inverse
+ div#navbar-secondary.navbar.navbar-inverse
div.navbar-inner
form.navbar-form.pull-left
- div.input-append.pull-left
- input#appendedInput.span3(type="text", placeholder="What city do you want to eat in?")
+ div#city-picker.input-append.pull-left
+ input#appendedInput.span4(type="text", placeholder="What city do you want to eat in?")
span.add-on
i.icon-map-marker
- div.input-append.pull-left
- input#appendedInput.span3(type="text", placeholder="When do you want to eat?")
+ div#date-picker.input-append.pull-left
+ input#appendedInput.span4(type="text", placeholder="When do you want to eat?")
span.add-on
i.icon-calendar
- div.btn-group.pull-left
+ div#guest-number-picker.btn-group.pull-left
button.btn.dropdown-toggle(data-toggle="dropdown") 2 guests
i.icon-user
ul.dropdown-menu
@@ -38,7 +38,7 @@ div.page-contain.container
li
a(href="#") 8 Guests
- button.btn.btn-primary.pull-left(type="submit") Search for Dinner
+ button.btn.btn-primary.pull-left(type="submit") Search for Dinner
div.search-results-contain
div.map

0 comments on commit 8a326e9

Please sign in to comment.