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)"
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
}
.header_list{
.logo svg{
// height: 26px;
width: 96px;
}
.search {
.query{
// height: 34px;
}
.enter-input button{
.search .enter-input {
button{
padding: 9px 14px;
}
}
}
.header_list{
.logo svg{
width 96px
}
.search {
.query{
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;