From 83e3c015ed1499cff64a23225e56bd169e5ddd9a Mon Sep 17 00:00:00 2001 From: Devon Carew Date: Sat, 26 Sep 2015 16:08:11 -0700 Subject: [PATCH] better display on mobile --- _includes/footer.html | 24 ++---------------------- _sass/_base.scss | 1 + _sass/_layout.scss | 23 +++++++++++++++++++++-- getting-started.md | 2 +- 4 files changed, 25 insertions(+), 25 deletions(-) diff --git a/_includes/footer.html b/_includes/footer.html index cad10a162b..bf4fb56e45 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -3,23 +3,10 @@
diff --git a/_sass/_base.scss b/_sass/_base.scss index d3d34ceeca..743a7206f8 100644 --- a/_sass/_base.scss +++ b/_sass/_base.scss @@ -131,6 +131,7 @@ code { } pre { + overflow-x: scroll; padding: 8px 12px; > code { diff --git a/_sass/_layout.scss b/_sass/_layout.scss index 6c0d3fb4c6..2306323b88 100644 --- a/_sass/_layout.scss +++ b/_sass/_layout.scss @@ -40,6 +40,10 @@ &:not(:first-child) { margin-left: 20px; } + + @include media-query($on-palm) { + color: $brand-color; + } } @include media-query($on-palm) { @@ -94,7 +98,7 @@ */ .site-footer { border-top: 1px solid $grey-color-light; - padding: $spacing-unit 0; + padding-top: $spacing-unit; } .footer-heading { @@ -109,7 +113,6 @@ } .footer-col-wrapper { - font-size: 15px; color: $grey-color; margin-left: -$spacing-unit / 2; @extend %clearfix; @@ -136,8 +139,24 @@ width: calc(45% - (#{$spacing-unit} / 2)); } +.footer-col-all { + width: -webkit-calc(100% - (#{$spacing-unit} / 2)); + width: calc(100% - (#{$spacing-unit} / 2)); +} + .logo { text-align: right; + float: right; + position: relative; + top: -10px; + + @include media-query($on-palm) { + top: -15px; + + svg { + width: 100px; + } + } } @include media-query($on-laptop) { diff --git a/getting-started.md b/getting-started.md index f1ed3015bd..c65b2ee2f0 100644 --- a/getting-started.md +++ b/getting-started.md @@ -8,7 +8,7 @@ To get started, we need to set up Dart SDK: - Install the [Dart SDK](https://www.dartlang.org/downloads/): - Mac: `brew tap dart-lang/dart && brew install dart --devel` - - Linux: See [https://www.dartlang.org/downloads/linux.html](https://www.dartlang.org/downloads/linux.html) + - Linux: See [www.dartlang.org/downloads/linux.html](https://www.dartlang.org/downloads/linux.html) - Ensure that the `dart` and `pub` executables are on your `PATH`. Once you have installed Dart SDK, create a new directory and add a