From 130b31407a1f7273ebbf53b855c388e677b759d6 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Sat, 3 Dec 2016 11:02:39 +0800 Subject: [PATCH] =?UTF-8?q?Safari=E4=B8=AD=E6=A0=B7=E5=BC=8F=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/styl/index.styl | 38 ++++++++++++++++++++++---------------- 1 file changed, 22 insertions(+), 16 deletions(-) diff --git a/template/styl/index.styl b/template/styl/index.styl index 6e0816fa4e..bf698b4892 100644 --- a/template/styl/index.styl +++ b/template/styl/index.styl @@ -5,9 +5,10 @@ mq-mobile = "screen and (max-width: 479px)" a.github-corner { - position: fixed - top: 0 - right: 0 + position fixed + z-index 9999 + top 0 + right 0 &:hover{ .octo-arm{ animation:octocat-wave 560ms ease-in-out @@ -117,12 +118,12 @@ a.github-corner { white-space nowrap vertical-align middle button{ + margin 0 + left -1px position relative z-index 5 display inline-block padding 9px 23px - margin-bottom 0 - margin-left -1px font-size 14px font-weight bold line-height 1.42857143 @@ -235,27 +236,28 @@ a.github-corner { @media mq-mobile{ .header{ width inherit + .search .enter-input { + button{ + padding: 9px 14px; + } + } } .header_list{ .logo svg{ - // height: 26px; - width: 96px; + width 96px } .search { .query{ - // height: 34px; - } - .enter-input button{ - padding: 9px 14px; + line-height 31px } } } .header_list .logo{ - float: inherit; - padding-right: 10px; - padding-top: 8px; - padding-bottom: 14px; - text-align: center; + float inherit + padding-right 10px + padding-top 8px + padding-bottom 14px + text-align center } div.markdown-body{ padding: 10px 10px 10px 13px; @@ -265,6 +267,10 @@ a.github-corner { } div.markdown-body .edit_btn{ top: 9px; + a{ + background #f1f1f1 + color #a3a3a3 + } } div.markdown-body pre{ padding: 0.6em;