From 3dfe1b7525601de31ea13561d20b95a4f7d93302 Mon Sep 17 00:00:00 2001 From: afc163 Date: Tue, 2 Feb 2016 00:14:46 +0800 Subject: [PATCH] upgrade site style for small screan --- site/static/style.less | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/site/static/style.less b/site/static/style.less index b15fa26fb7..388a46ca3a 100644 --- a/site/static/style.less +++ b/site/static/style.less @@ -262,10 +262,7 @@ a.nav-link-disabled { height: 1300px; width: 2400px; transform-origin: center center; - -webkit-transform-origin: center center; - -moz-transform-origin: center center; - transition: opacity 0.5s ease-out; - -webkit-transition: opacity 0.5s ease-out; + transition: opacity 0.5s ease-out; } .banner-box #bannerAnim, @@ -1527,10 +1524,19 @@ a.entry-link:hover .anticon-smile { margin-left: 0; } - .markdown { + .markdown > * { + width: 100%!important; + } + + .main-wrapper { width: 100%; } + .main-container { + padding-left: 30px; + padding-right: 30px; + } + footer { text-align: center; }