navbar looks right at full width
This commit is contained in:
@ -33,12 +33,13 @@ body {
|
|||||||
margin-bottom: 75px;
|
margin-bottom: 75px;
|
||||||
}
|
}
|
||||||
|
|
||||||
footer {
|
.footer {
|
||||||
position: absolute;
|
|
||||||
bottom: 0;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 45px;
|
margin-bottom: 0px;
|
||||||
line-height: 45px;
|
text-align: center;
|
||||||
|
padding:0px;
|
||||||
|
height: 200px;
|
||||||
|
background-color: #4a2b0f;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1, h2 {
|
h1, h2 {
|
||||||
@ -255,10 +256,10 @@ ul {
|
|||||||
background-color: #4a2b0f;
|
background-color: #4a2b0f;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-default .navbar-nav > li > a {
|
.navbar-nav > li > a {
|
||||||
color: #fff;
|
color: #eee;
|
||||||
&:hover {
|
&:hover {
|
||||||
color: #ddd;
|
color: #4a2b0f;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -355,7 +356,7 @@ thead {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.navbar-nav a {
|
.navbar-nav a {
|
||||||
color: #ddd;
|
color: #eee;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
margin-top: -5px;
|
margin-top: -5px;
|
||||||
}
|
}
|
@ -17,8 +17,6 @@ html
|
|||||||
.container
|
.container
|
||||||
include partials/flash
|
include partials/flash
|
||||||
block content
|
block content
|
||||||
|
|
||||||
include partials/footer
|
|
||||||
!= js('application')
|
!= js('application')
|
||||||
script.
|
script.
|
||||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||||
|
@ -1,21 +1,23 @@
|
|||||||
.visible-xs.visible-sm
|
.footer.nav.navbar.navbar-nav.visible-xs.visible-sm
|
||||||
nav.navbar.navbar-bottom.nav.navbar-nav
|
ul
|
||||||
ul.text-center
|
li
|
||||||
|
a(href='/') Challenges
|
||||||
|
- if (cc && cc[1] < 1)
|
||||||
li
|
li
|
||||||
a(href='/') Challenges
|
a(href='/challenges/1') Chat
|
||||||
- if (cc && cc[1] < 1)
|
- else
|
||||||
li
|
|
||||||
a(href='/challenges/1') Chat
|
|
||||||
- else
|
|
||||||
li
|
|
||||||
a(href='http://chat.freecodecamp.com') Chat
|
|
||||||
- if (cc && cc[2] < 1)
|
|
||||||
li
|
|
||||||
a(href='/challenges/2') Forum
|
|
||||||
- else
|
|
||||||
li
|
|
||||||
a(href='http://forum.freecodecamp.com') Forum
|
|
||||||
li
|
li
|
||||||
a(href='/learn-to-code') Buzz
|
a(href='http://chat.freecodecamp.com') Chat
|
||||||
|
- if (cc && cc[2] < 1)
|
||||||
li
|
li
|
||||||
a(href='/account') Account
|
a(href='/challenges/2') Forum
|
||||||
|
- else
|
||||||
|
li
|
||||||
|
a(href='http://forum.freecodecamp.com') Forum
|
||||||
|
li
|
||||||
|
a(href='/learn-to-code') About
|
||||||
|
if user
|
||||||
|
li
|
||||||
|
a(href='/profile') [ #{user.points} ]
|
||||||
|
if !user
|
||||||
|
a.btn.signup-btn.btn-nav.btn-sm(href='/login') Sign in
|
@ -20,15 +20,16 @@ nav.navbar.navbar-fixed-top
|
|||||||
li
|
li
|
||||||
a(href='http://forum.freecodecamp.com') Forum
|
a(href='http://forum.freecodecamp.com') Forum
|
||||||
li
|
li
|
||||||
a(href='/learn-to-code') Buzz
|
a(href='/learn-to-code') About
|
||||||
li
|
if user
|
||||||
a(href='/account') Account
|
li
|
||||||
|
a(href='/profile') [ #{user.points} ]
|
||||||
if !user
|
if !user
|
||||||
a.btn.signup-btn.btn-nav.btn-sm(href='/login') Sign in
|
a.btn.signup-btn.btn-nav.btn-sm(href='/login') Sign in
|
||||||
else
|
else
|
||||||
if user.profile.picture
|
if user.profile.picture
|
||||||
img.profile-picture.float-right(src='#{user.profile.picture}')
|
a(href='/profile')
|
||||||
| [ #{user.points} ]
|
img.profile-picture.float-right(src='#{user.profile.picture}')
|
||||||
else
|
else
|
||||||
img.profile-picture.float-right(src='#{user.gravatar(60)}')
|
a(href='/profile')
|
||||||
| [ #{user.points} ]
|
img.profile-picture.float-right(src='#{user.gravatar(60)}')
|
Reference in New Issue
Block a user