From acd0f1a65c1e0152f22e08c08c0857464b5ecb7d Mon Sep 17 00:00:00 2001 From: Lisa Passing Date: Wed, 8 Apr 2015 13:06:35 +0200 Subject: [PATCH] align sign in button on centered pages --- app/styles/app/landing.sass | 7 +------ app/styles/app/layouts/top.sass | 7 ++++++- app/templates/top.hbs | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app/styles/app/landing.sass b/app/styles/app/landing.sass index 8a157c56..68e30627 100644 --- a/app/styles/app/landing.sass +++ b/app/styles/app/landing.sass @@ -1,7 +1,5 @@ .top.landing-page .topbar, -.wrapper.centered .topbar, -.wrapper.centered #top .cta p, -.top.landing-page .cta p +.wrapper.centered .topbar margin: 0 auto max-width: 1024px @@ -21,9 +19,6 @@ border: 2px solid #73c78d color: #fff -.wrapper.centered .topbar - max-width: 1024px - .wrapper.centered #top, .wrapper.centered .topbar, .wrapper.non-centered .topbar diff --git a/app/styles/app/layouts/top.sass b/app/styles/app/layouts/top.sass index a9fdb8c9..6baadea3 100644 --- a/app/styles/app/layouts/top.sass +++ b/app/styles/app/layouts/top.sass @@ -10,7 +10,7 @@ $top-height: 55px font-size: 16px color: #71AE76 text-align: right - padding-right: 20px + padding-right: 1rem background-color: #fff p @@ -30,6 +30,9 @@ $top-height: 55px width: 20px height: 12px +.centered .cta + padding-right: 0 + .logo position: relative margin: 0 1.5rem 0 1.3rem @@ -115,6 +118,8 @@ $top-height: 55px > li display: inline-block margin-right: 1rem + .centered & > li.signed-out + margin-right: 0 a height: $top-height line-height: $top-height + 2px diff --git a/app/templates/top.hbs b/app/templates/top.hbs index aeb14e4a..2ead6df7 100644 --- a/app/templates/top.hbs +++ b/app/templates/top.hbs @@ -74,7 +74,7 @@ {{#if showCta}}
-

+

Help make Open Source a better place and start building better software today!