From 95100eed090290e756086f9cd11b56bf6246cc00 Mon Sep 17 00:00:00 2001 From: captainill Date: Tue, 10 Nov 2015 12:25:43 -0800 Subject: [PATCH] responsive docs --- .../assets/stylesheets/_components.scss | 26 ++++++++++++++++--- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/website/source/assets/stylesheets/_components.scss b/website/source/assets/stylesheets/_components.scss index c9be03cab..8176081c3 100644 --- a/website/source/assets/stylesheets/_components.scss +++ b/website/source/assets/stylesheets/_components.scss @@ -221,8 +221,8 @@ header .header { font-size: 17px; line-height: 1.5; letter-spacing: 1px; - margin-left: -95px; - margin-right: -95px; + margin-left: -135px; + margin-right: -135px; padding-top: 40px; padding-bottom: 40px; padding-left: 80px; @@ -233,8 +233,8 @@ header .header { pre { border: 0; font-size: 14px; - margin-left: -95px; - margin-right: -95px; + margin-left: -135px; + margin-right: -135px; padding-top: 40px; padding-bottom: 40px; padding-left: 80px; @@ -335,3 +335,21 @@ header .header { } } } + +@media (max-width:768px){ + .docs-wrapper { + .docs-body { + .docs-content { + div.alert { + margin-left: -15px; + margin-right: -15px; + } + + pre { + margin-left: -15px; + margin-right: -15px; + } + } + } + } +}