From 2492cfa408595fabefd5065dfad6b5389bab631a Mon Sep 17 00:00:00 2001 From: iotcat Date: Fri, 11 Mar 2022 10:20:38 +0800 Subject: [PATCH] cake --- effect.js | 4 ++-- stylesheet.css | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/effect.js b/effect.js index 03ab79f..be26f9d 100755 --- a/effect.js +++ b/effect.js @@ -176,9 +176,9 @@ $('document').ready(function(){ $("p:nth-child("+i+")").fadeOut('slow').delay(800).promise().done(function(){ i=i+1; $("p:nth-child("+i+")").fadeIn('slow').delay(1000); - if(i== $("#message_row").children("p").length){ + if(i== $("#message_row").children("p").length+2){ $("p:nth-child(49)").fadeOut('slow').promise().done(function () { - $('.cake').fadeIn('fast'); + $('.cake').fadeIn('slow'); }); } diff --git a/stylesheet.css b/stylesheet.css index df6156d..dedfde2 100755 --- a/stylesheet.css +++ b/stylesheet.css @@ -1265,7 +1265,7 @@ audio { } .cake-cover { - margin-top: 50px; + margin-top: 60px; } .message { margin-top: 200px;