digitalglarus: fixed menu layout

This commit is contained in:
rascencio 2015-10-04 19:05:09 -06:00
parent 4eecb94a63
commit 54cadfb6a4
3 changed files with 21 additions and 3 deletions

View file

@ -42,6 +42,10 @@ hr {
display: none;
}
.brand {
text-transform: uppercase;
}
.navbar-brand {
text-transform: uppercase;
font-weight: 900;
@ -250,3 +254,13 @@ article {
.blog-abstract {
max-width: 700px;
}
.language-chooser-list {
width: 200px;
margin-bottom: 20px;
}
.language-chooser-list a {
color: white;
float: left;
}

View file

@ -49,11 +49,15 @@
<body>
{% cms_toolbar %}
{% language_chooser "menu/language_chooser.html" %}
<div class="brand">Digital Glarus</div>
<div class="address-bar">
{% placeholder 'digital_glarus_legend' %}
</div>
<div class="center-block">
<ul class="list-inline center-block language-chooser-list">
{% language_chooser "menu/language_chooser.html" %}
</ul>
</div>
<!-- Navigation -->
{% include "cms/digitalglarus/partials/menu.html" %}

View file

@ -16,8 +16,8 @@
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
{% show_menu 0 %}
{% show_menu_below_id "digital-glarus-page" %}
{% show_menu 0 0 0 1 %}
{% show_menu_below_id "digital-glarus-page" 0 %}
<li>
<a href="{% url 'digitalglarus:blog' %}">Blog</a>
</li>