Explorar el Código

Center the news text and make it appear more randomly

tags/v0.0.4
Fen Dweller hace 5 años
padre
commit
64efe12e12
No se encontró ninguna clave conocida en la base de datos para esta firma ID de clave GPG: E80B35A6F11C3656
Se han modificado 2 ficheros con 6 adiciones y 6 borrados
  1. +4
    -4
      gorge.css
  2. +2
    -2
      gorge.js

+ 4
- 4
gorge.css Ver fichero

@@ -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;
}
}

+ 2
- 2
gorge.js Ver fichero

@@ -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) {


Cargando…
Cancelar
Guardar