Magikarp ftw!

This commit is contained in:
Alexandre Aubin 2020-03-30 18:36:11 +02:00 committed by Alexandre Aubin
parent a0025ec3ed
commit 8eb231461c
3 changed files with 13 additions and 0 deletions

View file

@ -392,6 +392,12 @@ div.br {
z-index: 2000;
}
.magikarp {
.loader{
background: rgba(255, 255, 255, 0.5) url(../img/magikarp.gif) center 15% no-repeat;
}
}
.with-nyancat {
.loader{
background: rgba(255, 255, 255, 0.5) url(../img/nyancat.gif) center 15% no-repeat;

BIN
src/img/magikarp.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 391 B

View file

@ -237,6 +237,13 @@
$(document).ready(function () {
// Run Sammy.js application
app.run('#/');
// April fools easter egg ;)
var today = new Date();
if ((today.getDate() == 1) && (today.getMonth()+1 == 4))
{
$('#main').addClass("magikarp");
}
});
})();