Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

Commit

Permalink
add clearfix to faux-impala
Browse files Browse the repository at this point in the history
  • Loading branch information
cvan committed Nov 3, 2011
1 parent 5d30c66 commit c4b5372
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions media/css/impala/faux-zamboni.less
@@ -1,5 +1,13 @@
@import 'lib';

/* >> The Magnificent CLEARFIX <<
Lifted from html5boilerplate.com
License is Public domain */
.c:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.c { display: inline-block; }
* html .c { height: 1%; } /* Hides from IE-mac \*/
.c { display: block; }

html, body {
height: 100%;
}
Expand Down Expand Up @@ -57,3 +65,7 @@ input:-moz-placeholder {
.developer-hub .site-title {
padding-top: 20px;
}

.amo-header {
margin-bottom: 0;
}
2 changes: 1 addition & 1 deletion templates/base.html
Expand Up @@ -63,7 +63,7 @@
<div id="global-header-tab">
<a href="http://mozilla.org/"><img src="{{ media('img/zamboni/mozilla-tab.png') }}"></a>
</div>
<div class="amo-header">
<div class="amo-header c">
<nav id="aux-nav" role="navigation" class="menu-nav">
<ul class="c">
{% if not settings.READ_ONLY %}
Expand Down

0 comments on commit c4b5372

Please sign in to comment.