Prechádzať zdrojové kódy

logo last-of-type footer

ouidade 3 rokov pred
rodič
commit
2e2695ee30

+ 12 - 15
user/themes/epau-antimatter/css-compiled/template.css

@@ -52,7 +52,7 @@ b, strong, label, th {
 .right {
   float: right; }
 
-.default-animation, #body, #header, #header #logo h3, #header #navbar ul.navigation, #logo.active a:after, .modular .showcase .button {
+.default-animation, #body, #header, #header #logo h3, #header #navbar ul.navigation, .modular .showcase .button {
   -webkit-transition: all 0.5s ease;
   -moz-transition: all 0.5s ease;
   transition: all 0.5s ease; }
@@ -806,6 +806,8 @@ ul.pagination {
     background: none !important;
     padding-bottom: 2rem !important;
     font-family: "Sarabun", sans-serif !important; }
+    #sb-site #body p:empty {
+      display: none; }
 
 #header.scrolled {
   padding-left: 2rem;
@@ -841,23 +843,15 @@ ul.pagination {
   -ms-transform: scale(0.75);
   -o-transform: scale(0.75);
   transform: scale(0.75); }
-  #logo.active a:after {
-    top: 0;
-    visibility: visible;
-    -webkit-transform: scale(0.75);
-    -moz-transform: scale(0.75);
-    -ms-transform: scale(0.75);
-    -o-transform: scale(0.75);
-    transform: scale(0.75); }
   #logo img {
     padding: 0.5rem;
-    max-height: 3rem;
+    height: 3rem;
     margin: auto; }
-  #logo #gouv {
-    padding-right: 2rem; }
-
-#body p:empty {
-  display: none; }
+    #logo img #gouv {
+      padding-right: 2rem;
+      padding: 0.5rem;
+      min-height: 4rem !important;
+      margin: auto; }
 
 .callout {
   padding-top: 0.5rem; }
@@ -1137,6 +1131,9 @@ ul.pagination {
       #new-footer .footer .footer-logos img {
         max-height: 4rem;
         padding-right: 1rem; }
+        #new-footer .footer .footer-logos img:last-of-type {
+          padding-top: 0.30rem;
+          padding-bottom: 0.30rem; }
     #new-footer .footer #new-footer .footer .footer-logos img:last-of-type {
       height: 0.5rem !important; }
     #new-footer .footer .contact {

+ 23 - 22
user/themes/epau-antimatter/scss/template/_custom.scss

@@ -25,6 +25,7 @@
     background: none !important;
     padding-bottom: 2rem !important;
     font-family: "Sarabun", sans-serif !important;
+    p:empty { display:none; }
   }
 }
 
@@ -59,39 +60,34 @@
   font-weight: 900;
 }
 
-
-
 #logo {
   position: relative;
     display: flex;
     flex-direction: row;
     @include transform(scale(0.75));
-    &.active {
-      a:after {
-        top: 0;
-        visibility: visible;
-        @include transform(scale(0.75));
-			  @extend .default-animation;
-      }
-    }
+    // &.active {
+    //   a:after {
+    //     top: 0;
+    //     visibility: visible;
+    //     @include transform(scale(0.75));
+		// 	  @extend .default-animation;
+    //   }
+
     img {
       padding: 0.5rem;
-      max-height: 3rem;
+      height: 3rem;
       margin:auto;
-    }
-    #gouv {
-      padding-right: 2rem;
+      #gouv {
+        padding-right: 2rem;
+        padding: 0.5rem;
+        min-height: 4rem !important;
+        margin:auto;
+      }
+      #epau {
+      }
     }
 }
 
-
-
-#body {
-  p:empty { display:none; }
-}
-
-
-
 .callout {
   padding-top: 0.5rem;
 
@@ -596,6 +592,11 @@
         // min-height: 4rem;
         max-height: 4rem;
         padding-right: 1rem;
+        &:last-of-type {
+          // height: 3.25rem;
+          padding-top: 0.30rem;
+          padding-bottom: 0.30rem;
+        }
       }
     }