Naming, footer, layout fixes.
[wolnelektury.git] / src / wolnelektury / static / 2022 / styles / layout / _navigation.scss
index 12b236a..a139ae8 100644 (file)
@@ -55,7 +55,23 @@ body {
 .l-navigation__logo {
     display: flex;
     position: relative;
+    height: 44px;
+    width: 153px;
+    flex-shrink: 0;
+    overflow: hidden;
+    transition: .5s width;
+
+    @include rwd($break-menu) {
+        width: 230px;
+    }
 
+    &.search-active {
+        width: 30px;
+        @include rwd($break-menu) {
+            width: 230px;
+        }
+    }
+    
     img {
         width: 153px;
         @include rwd($break-menu) {
@@ -89,6 +105,7 @@ body {
     max-width: 580px;
     margin-left: 20px;
     margin-right: 20px;
+    flex-grow: 1;
     
     @include rwd($break-menu) {
         margin-left: 60px;
@@ -466,11 +483,14 @@ body {
 
   p {
     margin: 0;
-    width: 427px;
     font-weight: $regular;
     @include font-size(15px);
     line-height: 130%;
     color: #808080;
+
+      @include rwd($break-menu) {
+          width: 427px;
+      }
   }
 }