edit this page link placement

This commit is contained in:
captainill 2015-11-10 13:52:58 -08:00
parent 879b8343a6
commit 2c9f1cf791
3 changed files with 21 additions and 4 deletions

View file

@ -190,7 +190,7 @@ body.layout-intro{
.bs-docs-section{
padding-top: 10px;
padding-left: 3%;
padding-bottom: 80px;
padding-bottom: 160px;
.lead{
margin-bottom: 48px

View file

@ -9,9 +9,14 @@ body.page-sub{
}
#footer{
position: relative;
padding: 64px 0;
color: $black;
> .container{
position: relative;
}
.footer-links{
li{
a{
@ -95,6 +100,18 @@ body.page-sub{
}
}
.edit-page-link{
position: absolute;
top: -70px;
right: 30px;;
a{
text-transform: uppercase;
color: $black;
font-size: 13px;
}
}
@media (max-width: 992px) {
}

View file

@ -1,15 +1,15 @@
<div id="footer">
<div class="container">
<div class="row">
<% if current_page.url != '/' %>
<div class="edit-page-link"><a href="<%= github_url :current_page %>">Edit this page</a></div>
<% end %>
<div class="col-sm-6 col-xs-12">
<ul class="footer-links nav navbar-nav">
<li><a href="/intro/index.html">Intro</a></li>
<li><a href="/docs/index.html">Docs</a></li>
<li><a href="/community.html">Community</a></li>
<li><a href="/security.html">Security</a></li>
<% if current_page.url != '/' %>
<li class="li-under"><a href="<%= github_url :current_page %>">Edit this page</a></li>
<% end %>
</ul>
</div>
<div class="footer-hashi col-sm-6 col-xs-12">