Permalink
Browse files

style: mobile toTop toBottom 跳转按钮移动端适配

Add CSS style for mobile view.
  • Loading branch information...
MOxFIVE committed Aug 27, 2015
1 parent 121907e commit 5316be03cdfd600ba25a3006f5ab5e716e28f027
Showing with 38 additions and 0 deletions.
  1. +38 −0 themes/Yilia/source/css/_partial/mobile.styl
@@ -219,3 +219,41 @@
float: initial;
}
}
#toTop {
display:block;
padding:em;
border-radius:0.15em;
width:1.5em;
height:1.5em;
line-height:1.5em;
font-size:2em;
font-family: Calibri;
text-align: center;
background:lightgray;
position: fixed;
cursor: pointer;
color: #fff;
top: 37%;
right: 11px;
opacity:0.7;
}
#toBottom {
display:block;
padding:em;
border-radius:0.15em;
width:1.5em;
height:1.5em;
line-height:1.5em;
font-size:2em;
font-family: Calibri;
text-align: center;
background:lightgray;
position: fixed;
cursor: pointer;
color: #fff;
bottom: 37%;
right: 11px;
opacity:0.7;
}

0 comments on commit 5316be0

Please sign in to comment.