Safari中样式调整

This commit is contained in:
jaywcjlove 2016-12-03 11:02:39 +08:00
parent 7be5fe7502
commit 130b31407a
1 changed files with 22 additions and 16 deletions

View File

@ -5,9 +5,10 @@
mq-mobile = "screen and (max-width: 479px)" mq-mobile = "screen and (max-width: 479px)"
a.github-corner { a.github-corner {
position: fixed position fixed
top: 0 z-index 9999
right: 0 top 0
right 0
&:hover{ &:hover{
.octo-arm{ .octo-arm{
animation:octocat-wave 560ms ease-in-out animation:octocat-wave 560ms ease-in-out
@ -117,12 +118,12 @@ a.github-corner {
white-space nowrap white-space nowrap
vertical-align middle vertical-align middle
button{ button{
margin 0
left -1px
position relative position relative
z-index 5 z-index 5
display inline-block display inline-block
padding 9px 23px padding 9px 23px
margin-bottom 0
margin-left -1px
font-size 14px font-size 14px
font-weight bold font-weight bold
line-height 1.42857143 line-height 1.42857143
@ -235,27 +236,28 @@ a.github-corner {
@media mq-mobile{ @media mq-mobile{
.header{ .header{
width inherit width inherit
} .search .enter-input {
.header_list{ button{
.logo svg{
// height: 26px;
width: 96px;
}
.search {
.query{
// height: 34px;
}
.enter-input button{
padding: 9px 14px; padding: 9px 14px;
} }
} }
} }
.header_list{
.logo svg{
width 96px
}
.search {
.query{
line-height 31px
}
}
}
.header_list .logo{ .header_list .logo{
float: inherit; float inherit
padding-right: 10px; padding-right 10px
padding-top: 8px; padding-top 8px
padding-bottom: 14px; padding-bottom 14px
text-align: center; text-align center
} }
div.markdown-body{ div.markdown-body{
padding: 10px 10px 10px 13px; padding: 10px 10px 10px 13px;
@ -265,6 +267,10 @@ a.github-corner {
} }
div.markdown-body .edit_btn{ div.markdown-body .edit_btn{
top: 9px; top: 9px;
a{
background #f1f1f1
color #a3a3a3
}
} }
div.markdown-body pre{ div.markdown-body pre{
padding: 0.6em; padding: 0.6em;