From f09d0f12d3806948c39dc39ab136cdab2da86e7f Mon Sep 17 00:00:00 2001 From: Victoria Wang Date: Fri, 17 Oct 2014 19:27:31 -0700 Subject: [PATCH] Responsive css fixes --- sass/_project-sass/_project-Base.scss | 2 +- sass/_project-sass/_project-Header.scss | 6 ++++-- sass/_project-sass/_project-Main.scss | 10 ++++++++-- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/sass/_project-sass/_project-Base.scss b/sass/_project-sass/_project-Base.scss index 056a7329..fd9c5097 100644 --- a/sass/_project-sass/_project-Base.scss +++ b/sass/_project-sass/_project-Base.scss @@ -47,7 +47,7 @@ a{ } } -.header-Outro .col-50{ +.header-Outro .col{ @media (max-device-width:480px), screen and (max-width:800px){ float:none; padding:0; diff --git a/sass/_project-sass/_project-Header.scss b/sass/_project-sass/_project-Header.scss index 5345573f..65ee856d 100644 --- a/sass/_project-sass/_project-Header.scss +++ b/sass/_project-sass/_project-Header.scss @@ -47,6 +47,9 @@ } .hp { .header-Outro { + .row>.col { + padding-left: 0; + } .col.intro { width: 53%; } @@ -59,7 +62,7 @@ .intro-text { color: #B8D375; font-size: .9em; - margin-bottom: 1.6em; + margin-bottom: 1.8em; a { color: #B8D375; @@ -140,7 +143,6 @@ overflow:hidden; position:absolute; top: -40px; - width:95%; @media (max-device-width:480px), screen and (max-width:800px){ height:auto; diff --git a/sass/_project-sass/_project-Main.scss b/sass/_project-sass/_project-Main.scss index 18436786..ddfebe24 100644 --- a/sass/_project-sass/_project-Main.scss +++ b/sass/_project-sass/_project-Main.scss @@ -13,7 +13,11 @@ } } .content, .footer-Content { - padding: 20px 2.5%; + padding: 20px 3%; + + @media screen and (min-width:1300px){ + padding: 20px 0; + } } .single-Col{ max-width:800px; @@ -790,8 +794,10 @@ a.tag:hover { } .section h2 { font-size: 1.7em; - text-align:center; + text-align: center; line-height: 150%; + max-width: 800px; + margin: 0 auto; } .section h3 { font-size: 1.4em;