Skip to content

Commit 130b314

Browse files
committed
Safari中样式调整
1 parent 7be5fe7 commit 130b314

File tree

1 file changed

+22
-16
lines changed

1 file changed

+22
-16
lines changed

template/styl/index.styl

Lines changed: 22 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
mq-mobile = "screen and (max-width: 479px)"
66

77
a.github-corner {
8-
position: fixed
9-
top: 0
10-
right: 0
8+
position fixed
9+
z-index 9999
10+
top 0
11+
right 0
1112
&:hover{
1213
.octo-arm{
1314
animation:octocat-wave 560ms ease-in-out
@@ -117,12 +118,12 @@ a.github-corner {
117118
white-space nowrap
118119
vertical-align middle
119120
button{
121+
margin 0
122+
left -1px
120123
position relative
121124
z-index 5
122125
display inline-block
123126
padding 9px 23px
124-
margin-bottom 0
125-
margin-left -1px
126127
font-size 14px
127128
font-weight bold
128129
line-height 1.42857143
@@ -235,27 +236,28 @@ a.github-corner {
235236
@media mq-mobile{
236237
.header{
237238
width inherit
239+
.search .enter-input {
240+
button{
241+
padding: 9px 14px;
242+
}
243+
}
238244
}
239245
.header_list{
240246
.logo svg{
241-
// height: 26px;
242-
width: 96px;
247+
width 96px
243248
}
244249
.search {
245250
.query{
246-
// height: 34px;
247-
}
248-
.enter-input button{
249-
padding: 9px 14px;
251+
line-height 31px
250252
}
251253
}
252254
}
253255
.header_list .logo{
254-
float: inherit;
255-
padding-right: 10px;
256-
padding-top: 8px;
257-
padding-bottom: 14px;
258-
text-align: center;
256+
float inherit
257+
padding-right 10px
258+
padding-top 8px
259+
padding-bottom 14px
260+
text-align center
259261
}
260262
div.markdown-body{
261263
padding: 10px 10px 10px 13px;
@@ -265,6 +267,10 @@ a.github-corner {
265267
}
266268
div.markdown-body .edit_btn{
267269
top: 9px;
270+
a{
271+
background #f1f1f1
272+
color #a3a3a3
273+
}
268274
}
269275
div.markdown-body pre{
270276
padding: 0.6em;

0 commit comments

Comments
 (0)