fixed anonymous header bug
This commit is contained in:
@@ -55,12 +55,16 @@ nav.course-material {
|
||||
}
|
||||
}
|
||||
|
||||
header.global {
|
||||
header.global.slim {
|
||||
border-bottom: 1px solid #bbb;
|
||||
@include box-shadow(0 1px 2px rgba(0, 0, 0, .1));
|
||||
height: 50px;
|
||||
@include linear-gradient(top, #fff, #eee);
|
||||
|
||||
.guest .secondary {
|
||||
display: none;
|
||||
}
|
||||
|
||||
nav {
|
||||
padding-top: 5px;
|
||||
}
|
||||
@@ -124,4 +128,14 @@ header.global {
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
|
||||
a#signup {
|
||||
position: relative;
|
||||
margin-top: 4px;
|
||||
padding: 6px 12px 8px;
|
||||
text-transform: none;
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
letter-spacing: 0;
|
||||
}
|
||||
}
|
||||
@@ -5,7 +5,11 @@
|
||||
<%namespace name='static' file='static_content.html'/>
|
||||
<%! from django.core.urlresolvers import reverse %>
|
||||
|
||||
<header class="global" aria-label="Global Navigation">
|
||||
%if course:
|
||||
<header class="global slim" aria-label="Global Navigation">
|
||||
%else:
|
||||
<header class="global" aria-label="Global Navigation">
|
||||
%endif
|
||||
<nav>
|
||||
<h1 class="logo"><a href="${reverse('root')}"></a></h1>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user