footer responsive

This commit is contained in:
captainill 2015-11-10 13:15:50 -08:00
parent 95100eed09
commit 434397381d
2 changed files with 13 additions and 14 deletions

View File

@ -44,27 +44,22 @@
} }
} }
@media (max-width: 992px) { @media (max-width: 768px) {
.footer-links { #footer{
display: block; padding: 20px 0 80px;
text-align: center; text-align: center;
ul{
display: inline-block;;
float: none !important;
}
.footer-hashi{ .footer-hashi{
display: block; display: block;
float: none !important; float: none !important;
.hashicorp-project{
margin-left: -30px;
}
} }
}
}
@media (max-width: 414px) {
#footer{
ul{ ul{
display: block; display: block;
width: 100%;
li{ li{
display: block; display: block;
float: none; float: none;
@ -72,6 +67,10 @@
&.external-links{ &.external-links{
li{ li{
a{
padding-left: 0 !important;
margin-left: -14px;
}
svg{ svg{
position: relative; position: relative;
left: 0; left: 0;

View File

@ -71,7 +71,7 @@
<div class="edit-page-link"><a href="https://github.com/mitchellh/packer/blob/master/website/source/<%= current_page_source %>">Edit this page</a></div> <div class="edit-page-link"><a href="https://github.com/mitchellh/packer/blob/master/website/source/<%= current_page_source %>">Edit this page</a></div>
<% end %> <% end %>
<% end %> <% end %>
<div class="footer-links"> <div class="footer-links clearfix">
<ul class="main-links white nav navbar-nav"> <ul class="main-links white nav navbar-nav">
<li><a href="/intro/index.html">Intro</a></li> <li><a href="/intro/index.html">Intro</a></li>
<li><a href="/docs/index.html">Docs</a></li> <li><a href="/docs/index.html">Docs</a></li>
@ -82,7 +82,7 @@
<a href="/downloads.html"><%= partial "layouts/svg/svg-download" %>Download</a> <a href="/downloads.html"><%= partial "layouts/svg/svg-download" %>Download</a>
</li> </li>
<li class="github"> <li class="github">
<a href="https://github.com/micthellh/packer"><%= partial "layouts/svg/svg-github" %>GitHub</a> <a href="https://github.com/mitchellh/packer"><%= partial "layouts/svg/svg-github" %>GitHub</a>
</li> </li>
</ul> </ul>
</ div> </ div>