diff --git a/gorge.css b/gorge.css index 700eb25..83edace 100644 --- a/gorge.css +++ b/gorge.css @@ -511,19 +511,19 @@ div::-webkit-scrollbar-corner { @keyframes news-text-frames { 0% { - transform: translate(0px, 0px); + transform: translate(-50%, 0px); opacity: 0; } 20% { - transform: translate(0px, -200px); + transform: translate(-50%, -100px); opacity: 1; } 80% { - transform: translate(0px, -200px); + transform: translate(-50%, -100px); opacity: 1; } 100% { - transform: translate(0px, 0px); + transform: translate(-50%, 0px); opacity: 0; } } diff --git a/gorge.js b/gorge.js index 7163ea7..7ce8583 100644 --- a/gorge.js +++ b/gorge.js @@ -642,7 +642,7 @@ function clickPopup(text, type, location) { body.appendChild(div); setTimeout(() => { - body.removeChild(div); + body.removeChild(div);choice }, 2000); } @@ -659,7 +659,7 @@ function doNews() { setTimeout(() => { doNews(); - }, 30000); + }, 15000 + Math.random() * 2500); } function showNews(text) {