Magikarp ftw!

This commit is contained in:
Alexandre Aubin 2020-03-30 18:36:11 +02:00
parent 8124d7e4f4
commit cbfc532c6f
3 changed files with 13 additions and 0 deletions

View file

@ -388,6 +388,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

@ -238,6 +238,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");
}
});
})();