From 1f8153d83ea36e37be0794f5283e6f46e4b9a66d Mon Sep 17 00:00:00 2001 From: OttoMao Date: Thu, 6 Aug 2015 15:40:11 +0800 Subject: [PATCH] optimize style --- index.css | 5 +++++ index.less | 8 ++++++++ 2 files changed, 13 insertions(+) diff --git a/index.css b/index.css index 7824666..31bfa0a 100644 --- a/index.css +++ b/index.css @@ -89,6 +89,11 @@ body { position: relative; margin-top: 20px; } +@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2) { + .brief { + padding: 60px 0 90px; + } +} .brief .slogan { font-size: 16px; color: #5a5a5a; diff --git a/index.less b/index.less index 7f2133b..82c8b20 100644 --- a/index.less +++ b/index.less @@ -125,6 +125,14 @@ body{ position: relative; margin-top: 20px; + + @media only screen + and (min-device-width: 320px) + and (max-device-width: 480px) + and (-webkit-min-device-pixel-ratio: 2){ + padding: 60px 0 90px; + } + .slogan{ font-size: 16px; color: @textDark;