digitalglarus: fixed menu layout
This commit is contained in:
parent
4eecb94a63
commit
54cadfb6a4
3 changed files with 21 additions and 3 deletions
|
@ -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;
|
||||
}
|
|
@ -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" %}
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue