From d32016f40238a98a215c9fe81436a61ce0fea484 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 22 Nov 2015 22:03:06 +0000 Subject: [PATCH] Mobile optimisations --- static/src/less/homepage.less | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/static/src/less/homepage.less b/static/src/less/homepage.less index bfd9405..7a77c9e 100644 --- a/static/src/less/homepage.less +++ b/static/src/less/homepage.less @@ -38,6 +38,10 @@ #project-images-types { background: url(http://catesmechanical.com/images/blueprint-background1.jpg); background-size: cover; + background-attachment: fixed; + @media screen and (max-width: @screen-xs-max) { + background-attachment: initial; + } .container { text-align: center; margin-top: 27px; @@ -61,12 +65,12 @@ margin-bottom: 25px; } .twitter-timeline { - height: 70vh !important; // Because twitter uses inline styles. + height: 65vh !important; // Because twitter uses inline styles. } .twitter-icon { text-align: center; font-size: 175px; - height: 70vh; + height: 65vh; position: relative; .icon { position: absolute;