]> git.parisson.com Git - mezzo.git/commitdiff
[Vertigo] : margin logo
authorEmilie <zawadzki@ircam.fr>
Tue, 14 Mar 2017 13:32:08 +0000 (14:32 +0100)
committerEmilie <zawadzki@ircam.fr>
Tue, 14 Mar 2017 13:32:08 +0000 (14:32 +0100)
app/themes/base/static/src/sass/modules/navs/_nav-header.scss
app/themes/vertigo_starts_eu/templates/vertigo_starts_eu/pages/menus/header.html

index c8773a6aefa2dda89cdb2eeabdd573fd2548a08f..d5dc65462da64eb25950625c164112160a468e75 100644 (file)
@@ -33,6 +33,27 @@ $module: ".nav-header";
         @include margin(0);
     }
 
+    .logo-translated {
+        margin-left: -75px;
+        height: 194px;
+
+        @include mq($until: lg) {
+            margin-left: -107px;
+
+        }
+        /*@include mq($until: lg) {
+            margin-left : auto;
+            margin-right : auto;
+            width : 50px;
+            height: 5Opx;
+        }*/
+    }
+
+    .translated {
+         width: 196px;
+    }
+
+
     &__item {
 
         display: inline-block;
@@ -40,6 +61,7 @@ $module: ".nav-header";
         vertical-align: top;
         position: relative;
 
+
         &:before {
             content: "";
             display: block;
index 94084d5daf4587d1e9afe8e66fb8519b3d5997a0..60d112db0afa80b2a0decba2b9e4d853705e90c1 100644 (file)
                         <span class="first"></span>
                         <span class="second"></span>
                     </li>
-                    <li class="nav-header__item nav-header__item--image-big">
+                    <li class="nav-header__item nav-header__item--image-big translated">
                         <a href="{% url "home" %}" title="{% trans 'Home' %}">
                           {% with host_organization.images|get_type:"logo_header" as images %}
                             {% if images %}
                              {% with images|first as img %}
-                              <img src="{{ MEDIA_URL }}{{ img }}" title="{{ img.title }}" />
+                              <img class="logo-translated" src="{{ MEDIA_URL }}{{ img }}" title="{{ img.title }}" />
                              {% endwith %}
                             {% endif %}
                           {% endwith %}