Commit 441d1955 by Tom Giannattasio

fixed anonymous header bug

parent 202eb7b1
......@@ -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;
}
}
\ No newline at end of file
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment