From e247ab35b45243d1967ec576cb6674de01c543c3 Mon Sep 17 00:00:00 2001 From: Lisa P Date: Thu, 29 Oct 2015 17:43:51 +0100 Subject: [PATCH] responsive tweaks --- app/styles/app/layouts/home-pro.sass | 47 ++++++++++++++++++++++++---- app/templates/pricing.hbs | 18 +++++------ 2 files changed, 50 insertions(+), 15 deletions(-) diff --git a/app/styles/app/layouts/home-pro.sass b/app/styles/app/layouts/home-pro.sass index 8df5a5c8..92125232 100644 --- a/app/styles/app/layouts/home-pro.sass +++ b/app/styles/app/layouts/home-pro.sass @@ -17,6 +17,12 @@ text-decoration: none border-color: transparent + + br + display: none + @media #{$medium-up} + display: block + .wrapper width: 100% padding-bottom: 0 @@ -74,6 +80,7 @@ @extend %h3 font-size: 28px text-align: center + line-height: 1.3 .h3--teal @extend %h3 @@ -254,17 +261,25 @@ .list--plans @extend %list display: flex + flex-wrap: wrap justify-content: space-between margin: 5em 0 + + @media #{$medium-up} [class^="plan--"] - flex: 0 0 230px + flex: 1 0 230px padding: .5em 1.5em 3em + margin-bottom: 2em border: width: 2px color: #E8E8E8 style: solid + @media #{$medium-up} + flex: 0 0 230px + margin-bottom: 0 + .list--check margin: 3em 0 font-size: 16px @@ -339,20 +354,33 @@ text-decoration: none transition: border-color 200ms ease - .section--enterprise .inner display: flex + flex-flow: column wrap justify-content: space-between + @media #{$medium-up} + flex-flow: row wrap .section-text - text-align: right + text-align: center + @media #{$medium-up} + text-align: right + + .section-image + img + display: block + width: 320px + height: auto + margin: auto + @media #{$medium-up} + img + width: 100% .section-text, .section-image flex: 0 0 47% - .list--faq display: flex flex-flow: row wrap @@ -362,9 +390,16 @@ margin: 3em 0 0 list-style: none li - flex: 0 0 48% - padding: 1em 1.5em 0 + flex: 0 0 100% + padding: 1em 1.5em 1.7em margin-bottom: 2em border: solid 1px #E8E8E8 + @media #{$medium-up} + flex: 0 0 48% + + .faq-text + @include linkStyle + margin: 0 + font-size: 16px diff --git a/app/templates/pricing.hbs b/app/templates/pricing.hbs index d10c70d8..aecfe808 100644 --- a/app/templates/pricing.hbs +++ b/app/templates/pricing.hbs @@ -95,39 +95,39 @@