diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/cobrands/fixmystreet/base.scss | 62 | ||||
-rw-r--r-- | web/cobrands/fixmystreet/images/advert-app-watercolour.jpg | bin | 22469 -> 0 bytes | |||
-rw-r--r-- | web/cobrands/fixmystreet/images/next-step-apple.png | bin | 0 -> 1256 bytes | |||
-rw-r--r-- | web/cobrands/fixmystreet/images/next-step-download.png | bin | 0 -> 880 bytes | |||
-rw-r--r-- | web/cobrands/fixmystreet/images/next-step-facebook.png | bin | 0 -> 626 bytes | |||
-rw-r--r-- | web/cobrands/fixmystreet/images/next-step-goodies.png | bin | 0 -> 12293 bytes | |||
-rw-r--r-- | web/cobrands/fixmystreet/images/next-step-google.png | bin | 0 -> 2548 bytes | |||
-rw-r--r-- | web/cobrands/fixmystreet/images/next-step-twitter.png | bin | 0 -> 959 bytes | |||
-rw-r--r-- | web/cobrands/fixmystreet/layout.scss | 27 | ||||
-rw-r--r-- | web/css/core.scss | 13 |
10 files changed, 64 insertions, 38 deletions
diff --git a/web/cobrands/fixmystreet/base.scss b/web/cobrands/fixmystreet/base.scss index 57eadc435..01be687a1 100644 --- a/web/cobrands/fixmystreet/base.scss +++ b/web/cobrands/fixmystreet/base.scss @@ -55,47 +55,59 @@ } } -.advert-mobile-apps { +.next-steps { margin: 0 -1em; // counteract padding on parent - background-color: #fff9cc; - padding: 2em; + background-color: #faf7e2; +} - @media only screen and (min-width: 48em) { - padding-left: 37%; - background: #fff9cc url(/cobrands/fixmystreet/images/advert-app-watercolour.jpg) 7% 50% no-repeat; +.next-steps__step { + box-sizing: border-box; + padding: 1em; + + & + .next-steps__step { + border-top: 1px solid #ede8c9; } - h1 { + h2 { margin-top: 0; } p { - font-size: 1.3em; - line-height: 1.4em; + color: #666666; + margin-bottom: 0; } +} - .app-links { - @include clearfix; - margin-bottom: 1em; +.next-steps__step__cta { + @include pie-clearfix; + padding-top: 0.4em; // extra padding between buttons and previous paragraph - a { - float: left; - margin-right: 1em; - } + a { + float: left; + margin: 1em 0.6em 0 0; - a[href*="itunes.apple.com"] { - margin-top: 3px; // compensate for slightly smaller itunes button + &:last-child { + margin-right: 0; } } - .desktop-advice { - clear: left; - font-size: 1em; - line-height: 1.2em; - color: #745D17; // brown + .next-steps__step--goodies { + min-height: 37px; // stop absolutely positioned img overlapping bottom of parent element - @media only screen and (min-width: 48em) { - width: 28em; // break line at a nice point + img { + // absolute positioning to overlap floated goodies image to the right + position: absolute; + max-width: none; } } } + +.next-steps__step--goodies { + @include pie-clearfix; + + .goodies-preview { + float: right; + margin-left: 1em; + margin-right: -0.5em; + } +} diff --git a/web/cobrands/fixmystreet/images/advert-app-watercolour.jpg b/web/cobrands/fixmystreet/images/advert-app-watercolour.jpg Binary files differdeleted file mode 100644 index 9c372fed5..000000000 --- a/web/cobrands/fixmystreet/images/advert-app-watercolour.jpg +++ /dev/null diff --git a/web/cobrands/fixmystreet/images/next-step-apple.png b/web/cobrands/fixmystreet/images/next-step-apple.png Binary files differnew file mode 100644 index 000000000..79476f552 --- /dev/null +++ b/web/cobrands/fixmystreet/images/next-step-apple.png diff --git a/web/cobrands/fixmystreet/images/next-step-download.png b/web/cobrands/fixmystreet/images/next-step-download.png Binary files differnew file mode 100644 index 000000000..525c27d1f --- /dev/null +++ b/web/cobrands/fixmystreet/images/next-step-download.png diff --git a/web/cobrands/fixmystreet/images/next-step-facebook.png b/web/cobrands/fixmystreet/images/next-step-facebook.png Binary files differnew file mode 100644 index 000000000..c01fa6ced --- /dev/null +++ b/web/cobrands/fixmystreet/images/next-step-facebook.png diff --git a/web/cobrands/fixmystreet/images/next-step-goodies.png b/web/cobrands/fixmystreet/images/next-step-goodies.png Binary files differnew file mode 100644 index 000000000..27fe702c3 --- /dev/null +++ b/web/cobrands/fixmystreet/images/next-step-goodies.png diff --git a/web/cobrands/fixmystreet/images/next-step-google.png b/web/cobrands/fixmystreet/images/next-step-google.png Binary files differnew file mode 100644 index 000000000..6b2244c44 --- /dev/null +++ b/web/cobrands/fixmystreet/images/next-step-google.png diff --git a/web/cobrands/fixmystreet/images/next-step-twitter.png b/web/cobrands/fixmystreet/images/next-step-twitter.png Binary files differnew file mode 100644 index 000000000..e79255bd6 --- /dev/null +++ b/web/cobrands/fixmystreet/images/next-step-twitter.png diff --git a/web/cobrands/fixmystreet/layout.scss b/web/cobrands/fixmystreet/layout.scss index ded1ed911..20ea2f11a 100644 --- a/web/cobrands/fixmystreet/layout.scss +++ b/web/cobrands/fixmystreet/layout.scss @@ -256,3 +256,30 @@ body.alertindex { display: none; } } + +.next-steps { + @include clearfix; + margin-bottom: 2em; // add some space between this and the footer +} + +.next-steps__step { + font-family: MuseoSans,Helmet,Freesans,sans-serif; + float: left; + width: 33%; + padding: 1.8em; + + & + .next-steps__step { + border-top: none; + border-left: 1px solid #ede8c9; + } + + h2 { + font-family: inherit; + font-weight: bold; + line-height: 1.2em; + } + + p { + line-height: 1.4em; + } +} diff --git a/web/css/core.scss b/web/css/core.scss index ed47cb01a..897b2d095 100644 --- a/web/css/core.scss +++ b/web/css/core.scss @@ -65,19 +65,6 @@ $map_width: 500px; clear: both; } - // Site-wide layout - - #advert_thin { - width: 50%; - margin: 1em auto; - text-align: center; - border-top: dotted 1px #999999; - } - #advert_hfymp { - border-top: dotted 1px #999999; - text-align: center; - } - // Front page p#expl { |