OSDN Git Service

[更新]:ログイン後ぼかしが入るように調整
authornaoko1010hh <naoko561010@gmail.com>
Sun, 1 Mar 2020 13:24:16 +0000 (22:24 +0900)
committernaoko1010hh <naoko561010@gmail.com>
Sun, 1 Mar 2020 13:24:16 +0000 (22:24 +0900)
css/theme.css
js/theme.js

index cbef0be..9884479 100644 (file)
@@ -8,6 +8,10 @@
        src: url('NotoSansJP-Regular.otf') format('opentype');
 
 }
+.gaussfade-out{
+  transition: ease 3s;
+  filter: blur(100px);
+}
 body {
   display: flex;
   min-height: 100vh;
index c543342..1496ec7 100644 (file)
@@ -62,6 +62,7 @@ $(greeter).on("ready", function(e) {
 
        // when the user is authenticated, do a transition and login
        $(greeter).on("grant", () => {
+               $("body").addClass("gaussfade-out");
                let session_key = $session.children("option:selected").val();
 
                $cover.fadeIn("slow", () => greeter.login(session_key));