]> git.parisson.com Git - mezzo.git/commitdiff
Fix nav header font and font size
authorJérémy Fabre <Jeremy@iMac-de-Jeremy.local>
Mon, 24 Oct 2016 09:32:02 +0000 (11:32 +0200)
committerJérémy Fabre <Jeremy@iMac-de-Jeremy.local>
Mon, 24 Oct 2016 09:32:02 +0000 (11:32 +0200)
app/static/src/sass/modules/navs/_nav-header.scss
app/templates/pages/menus/header_tree_primary.html

index 0daa2a39ecd24db48b15a68b3343412af8aea869..fb2e4038103faacbc15649786a73afe2743415dd 100644 (file)
@@ -196,6 +196,10 @@ $module: ".nav-header";
             @include typeface(serif);
             font-weight: weight(light);
 
+            @include mq($until: lg) {
+                @include font-size(xs);
+            }
+
             &:after {
                 content: "";
                 display: block;
@@ -217,11 +221,19 @@ $module: ".nav-header";
         font-weight: weight(regular);
         text-transform: lowercase;
 
+        @include mq($until: lg) {
+            @include font-size(xs);
+        }
+
         &--first {
 
             @include font-size(l);
             @include margin-bottom(.5);
 
+            @include mq($until: lg) {
+                @include font-size(m);
+            }
+
         }
 
     }
index bc679137935d48ca859636959871edb3ea108ce8..6c499954c4b14049f0effd6f5271e89aa46cf40d 100644 (file)
@@ -1,4 +1,4 @@
-{% load i18n pages_tags staticfiles %}
+{% load i18n pages_tags mezzanine_tags media_tags organization_tags staticfiles %}
 {% get_language_info_list for LANGUAGES as languages %}
 
 {% spaceless %}
@@ -7,7 +7,7 @@
         <div class="row">
             <div class="col-md-12">
                 <p>
-                    {{ page.departmentpage.description }}
+                    {{ page.departmentpage.description|richtext_filters|safe }}
                 </p>
             </div>
         </div>