From 400cc626e56e91d156ce6afe92100f88a8e0036b Mon Sep 17 00:00:00 2001 From: Greg Fodor <gfodor@gmail.com> Date: Fri, 5 Oct 2018 01:27:35 +0000 Subject: [PATCH] Mobile breakpoint --- src/assets/stylesheets/spoke.scss | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/assets/stylesheets/spoke.scss b/src/assets/stylesheets/spoke.scss index 05efdc720..f20052d8a 100644 --- a/src/assets/stylesheets/spoke.scss +++ b/src/assets/stylesheets/spoke.scss @@ -3,6 +3,7 @@ $spoke-action-color: #2F80ED; $breakpoint: 1280px; +$mobile-breakpoint: 450px; body { @extend %default-font; @@ -64,6 +65,10 @@ body { img { width: 400px; + + @media(max-width: $mobile-breakpoint) { + width: 320px; + } } } @@ -81,6 +86,10 @@ body { text-align: center; margin-top: 48px; + @media(max-width: $mobile-breakpoint) { + font-size: 1.3em; + } + a { color: white; } -- GitLab