align sign in button on centered pages

This commit is contained in:
Lisa Passing 2015-04-08 13:06:35 +02:00
parent 986d59c70d
commit acd0f1a65c
3 changed files with 8 additions and 8 deletions

View File

@ -1,7 +1,5 @@
.top.landing-page .topbar, .top.landing-page .topbar,
.wrapper.centered .topbar, .wrapper.centered .topbar
.wrapper.centered #top .cta p,
.top.landing-page .cta p
margin: 0 auto margin: 0 auto
max-width: 1024px max-width: 1024px
@ -21,9 +19,6 @@
border: 2px solid #73c78d border: 2px solid #73c78d
color: #fff color: #fff
.wrapper.centered .topbar
max-width: 1024px
.wrapper.centered #top, .wrapper.centered #top,
.wrapper.centered .topbar, .wrapper.centered .topbar,
.wrapper.non-centered .topbar .wrapper.non-centered .topbar

View File

@ -10,7 +10,7 @@ $top-height: 55px
font-size: 16px font-size: 16px
color: #71AE76 color: #71AE76
text-align: right text-align: right
padding-right: 20px padding-right: 1rem
background-color: #fff background-color: #fff
p p
@ -30,6 +30,9 @@ $top-height: 55px
width: 20px width: 20px
height: 12px height: 12px
.centered .cta
padding-right: 0
.logo .logo
position: relative position: relative
margin: 0 1.5rem 0 1.3rem margin: 0 1.5rem 0 1.3rem
@ -115,6 +118,8 @@ $top-height: 55px
> li > li
display: inline-block display: inline-block
margin-right: 1rem margin-right: 1rem
.centered & > li.signed-out
margin-right: 0
a a
height: $top-height height: $top-height
line-height: $top-height + 2px line-height: $top-height + 2px

View File

@ -74,7 +74,7 @@
{{#if showCta}} {{#if showCta}}
<div class="cta"> <div class="cta">
<p> <p class="row">
<span class="arrow"></span> <span class="arrow"></span>
Help make Open Source a better place and start building better software today! Help make Open Source a better place and start building better software today!
</p> </p>