Explorar o código

Update image style

Track3 %!s(int64=2) %!d(string=hai) anos
pai
achega
a0f2ca1699
Modificáronse 1 ficheiros con 7 adicións e 1 borrados
  1. 7 1
      assets/scss/style.scss

+ 7 - 1
assets/scss/style.scss

@@ -28,6 +28,9 @@ body {
   }
   #page img {
     filter: brightness(.9);
+    &:hover {
+      filter: none;
+    }
   }
 }
 
@@ -161,6 +164,9 @@ input[type=text], input[type=email]{
   display: flex;
   flex-direction: column;
   min-height: 100vh;
+  img {
+    transition: filter .3s;
+  }
 }
 
 #bg-img {
@@ -386,7 +392,7 @@ h1#page-title {
       margin-left: 0;
     }
     &.right  {
-      margin-right: -280px;
+      margin-right: calc(-280px + 1em);
     }
   }
 }