Moved nav, rebranded lunch run me to lunch run|me

This commit is contained in:
Ben Ramey
2014-05-15 18:17:13 -05:00
parent 1b34e64790
commit 898e869859
8 changed files with 92 additions and 36 deletions

View File

@@ -15,13 +15,39 @@ body {
background-color: rgba(0,0,0,0.8); background-color: rgba(0,0,0,0.8);
box-shadow: 0px 0px 20px #000; box-shadow: 0px 0px 20px #000;
margin-top: 40px; margin-top: 40px;
position: relative;
.logo {
position: absolute;
top: -40px;
font-size: 1em;
background: rgba(0,0,0,0.8);
right: 20px;
a {
display: block;
padding: 10px 40px;
color: inherit;
&:hover {
text-decoration: none;
}
}
}
h1 { h1 {
margin: 0;
padding: 20px 0 10px 0;
.glyphicon { .glyphicon {
vertical-align: text-bottom; vertical-align: text-bottom;
margin-right: 10px; margin-right: 10px;
font-size: 1.2em; font-size: 1.2em;
} }
} }
h2 {
color: #ddd;
}
p,ul {
color: #ccc;
}
} }
} }

View File

@@ -16,14 +16,10 @@
&#cta { &#cta {
padding: 0; padding: 0;
} }
&#copyright { &#home-nav {
p { background: none;
margin: 0; padding: 0;
font-size: 0.9em;
} }
padding: 15px;
}
.btn-block { .btn-block {
padding: 20px; padding: 20px;
font-size: 3em; font-size: 3em;

View File

@@ -1,5 +1,7 @@
nav { nav {
margin-bottom: 20px; &.navbar {
border: none;
}
a { a {
color: #fff; color: #fff;
&:hover { &:hover {
@@ -9,4 +11,23 @@ nav {
margin-right: 10px; margin-right: 10px;
} }
} }
#main-nav {
padding: 0;
}
ul.nav li {
background: rgba(0,0,0,0.8);
margin-right: 4px;
a:hover {
background: rgba(0,0,0,1);
color: white;
}
}
}
#home-page nav {
li#home-link {
display: none;
}
li#startrun-link {
display: none;
}
} }

View File

@@ -4,7 +4,7 @@
#logo.pod #logo.pod
h1 h1
| lunch run | lunch run
span.text-muted  me span.text-muted |me
.row .row
.col-xs-12.col-sm-6 .col-xs-12.col-sm-6
#welcome.pod #welcome.pod
@@ -21,3 +21,7 @@
a.btn.btn-block(ng-click='createRun()') a.btn.btn-block(ng-click='createRun()')
| start a run   | start a run  
span.glyphicon.glyphicon-chevron-right span.glyphicon.glyphicon-chevron-right
.row
.col-xs-12.col-sm-6
#home-nav.pod
include includes/nav

View File

@@ -1,26 +1,22 @@
nav.navbar(role='navigation') nav.navbar(role='navigation')
.container-fluid
.navbar-header .navbar-header
button.navbar-toggle(type='button',data-toggle='collapse',data-target='main-nav') button.navbar-toggle(type='button',data-toggle='collapse',data-target='main-nav')
span.sr-only Toggle navigation span.sr-only Toggle navigation
span.icon-bar span.icon-bar
span.icon-bar span.icon-bar
span.icon-bar span.icon-bar
a.navbar-brand(href='/')
| lunch run
span.text-muted  me
.collapse.navbar-collapse#main-nav .collapse.navbar-collapse#main-nav
ul.nav.navbar-nav ul.nav.navbar-nav
li li#home-link
a(href='/') a(href='/')
span.glyphicon.glyphicon-home span.glyphicon.glyphicon-home
| home | home
li li#about-link
a(href='/about') a(href='/about')
span.glyphicon.glyphicon-info-sign span.glyphicon.glyphicon-question-sign
| about | about
li li#startrun-link
a(href='/#/run/create') a(href='/#/run/create')
span.glyphicon.glyphicon-chevron-right span.glyphicon.glyphicon-chevron-right
| start a run! | start a run!

View File

@@ -1,6 +1,11 @@
.interior .interior
include ../includes/nav .logo
a(href='/')
| lunch run
span.text-muted |me
h1 h1
block pagetitle block pagetitle
block interiorcontent block interiorcontent
include ../includes/nav

View File

@@ -1,6 +1,7 @@
extends interior-page-layout extends interior-page-layout
block pagetitle block pagetitle
span.glyphicon.glyphicon-question-sign
| about lunchrun.me | about lunchrun.me
block interiorcontent block interiorcontent
@@ -31,8 +32,15 @@ block interiorcontent
p p
| You can keep track of recent updates listed over there under "Recent updates". | You can keep track of recent updates listed over there under "Recent updates".
h2 Background images
p
| All of the backgrounds have been graciously provided by Elaine Davis. They all
| belong to her 100%!
p Thanks Elaine!
.col-xs-12.col-sm-4 .col-xs-12.col-sm-4
h2 Recent updates h2 Recent updates
ul ul
li [5/15/14] Moved nav, "rebranded" lunch run me to lunch run|me
li [5/13/14] Added meta tags li [5/13/14] Added meta tags
li [5/13/14] Added validation messaging to create-run form li [5/13/14] Added validation messaging to create-run form

View File

@@ -1,4 +1,4 @@
title Lunch Run Me! title lunch run|me
meta(charset='utf-8') meta(charset='utf-8')
meta(http-equiv="X-UA-Compatible",content="IE-edge") meta(http-equiv="X-UA-Compatible",content="IE-edge")
meta(name="viewport",content="width=device-width,initial-scale=1") meta(name="viewport",content="width=device-width,initial-scale=1")