Permalink
Browse files

fix: scrolling-button 页面跳转按钮

Style of .scrolling-button now will work on all pages.
  • Loading branch information...
MOxFIVE committed Oct 6, 2015
1 parent 70b305e commit be92a30b99632fac9e0eab4d055539c8041e9522
@@ -83,11 +83,4 @@
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
</section>
<% } %>
<div>
<a href="#top" style="color:white" title="回页面顶部"><span class="scrolling-button" id="toTop">↑</span></a>
</div>
<div>
<a href="#footer" style="color:white" title="到页面底部"><span class="scrolling-button" id="toBottom">↓</span></a>
</div>
<% } %>
@@ -0,0 +1,6 @@
<div>
<a href="#top" style="color:white" title="回页面顶部"><span class="scrolling-button" id="toTop">↑</span></a>
</div>
<div>
<a href="#footer" style="color:white" title="到页面底部"><span class="scrolling-button" id="toBottom">↓</span></a>
</div>
View
1 themes/Yilia/layout/layout.ejs 100755 → 100644
@@ -9,6 +9,7 @@
<div class="body-wrap"><%- body %></div>
<%- partial('_partial/footer') %>
</div>
<%- partial('_partial/scrolling-button') %>
<%- partial('_partial/after-footer') %>
</div>
</body>

0 comments on commit be92a30

Please sign in to comment.