Browse Source

Update image style

Track3 2 years ago
parent
commit
a0f2ca1699
1 changed files with 7 additions and 1 deletions
  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);
     }
   }
 }